ide.json: Passport
packages.passport
Declares additional Laravel Passport OAuth scopes so they appear in completion.
| Field | Description |
|---|---|
scopes | A map of scopeName → scopeDescription. |
scopeFiles | An array of paths to JSON files, each containing a scopeName → scopeDescription object. |
json
{
"$schema": "https://laravel-ide.com/schema/laravel-ide-v2.json",
"packages": {
"passport": {
"scopes": {
"users:read": "Users read access",
"users:write": "Users write access"
},
"scopeFiles": [
"/resources/data/passport-scopes.json"
]
}
}
}scopeFiles paths follow the same resolution rules as other ide.json paths (absolute from the project root when started with /, otherwise relative to the folder containing ide.json).