-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b91d787
commit b3566f7
Showing
36 changed files
with
302 additions
and
1,452 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,36 @@ | ||
<?php | ||
|
||
return [ | ||
'user' => env('PLAYGROUND_USER', 'App\\Models\\User'), | ||
'user_id' => env('PLAYGROUND_USER_ID', 'uuid'), | ||
'user_table' => env('PLAYGROUND_USER_TABLE', 'users'), | ||
'packages' => is_string(env('PLAYGROUND_PACKAGES', 'playground')) ? array_map('trim', explode(',', env('PLAYGROUND_PACKAGES', 'playground'))) : [], | ||
// 'auth' => [ | ||
// /** | ||
// * Privileges checks in this order: | ||
// * - Sanctum: HasApiTokens | ||
// * - method_exists: hasPrivilege | ||
// * | ||
// * @var string $verify roles|privileges | ||
// */ | ||
// 'verify' => env('PLAYGROUND_AUTH_VERIFY', 'privileges'), | ||
// // 'verify' => env('PLAYGROUND_AUTH_VERIFY', 'roles'), | ||
// 'token' => [ | ||
// 'name' => 'app', | ||
// ], | ||
// 'sanctum' => (bool) env('PLAYGROUND_AUTH_SANCTUM', false), | ||
// 'hasPrivilege' => (bool) env('PLAYGROUND_AUTH_HAS_PRIVILEGE', false), | ||
// 'userPrivileges' => (bool) env('PLAYGROUND_AUTH_USER_PRIVILEGES', false), | ||
// 'hasRole' => (bool) env('PLAYGROUND_AUTH_HAS_ROLE', false), | ||
// 'userRole' => (bool) env('PLAYGROUND_AUTH_USER_ROLE', false), | ||
// 'userRoles' => (bool) env('PLAYGROUND_AUTH_USER_ROLES', false), | ||
// ], | ||
'date' => [ | ||
'sql' => env('PLAYGROUND_DATE_SQL', 'Y-m-d H:i:s'), | ||
], | ||
'purifier' => [ | ||
'iframes' => env( | ||
'PLAYGROUND_PURIFIER_IFRAMES', | ||
'%^(https?:)?(\/\/www\.youtube(?:-nocookie)?\.com\/embed\/|\/\/player\.vimeo\.com\/)%' | ||
), | ||
'path' => env('PLAYGROUND_PURIFIER_PATH', ''), | ||
], | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Password Settings for Testing | ||
| Packages | ||
|-------------------------------------------------------------------------- | ||
| | ||
| The array of packages from PLAYGROUND_PACKAGES will be listed in the | ||
| Playground section in artisan:about. | ||
| | ||
| - These packages will have their respective sitemaps loaded, if applicable. | ||
| | ||
| NOTE: PLAYGROUND_AUTH_PACKAGES may also be defined to load abilities. | ||
| | ||
*/ | ||
|
||
'testing' => [ | ||
'password' => env('PLAYGROUND_TESTING_PASSWORD'), | ||
'hashed' => (bool) env('PLAYGROUND_TESTING_HASHED', false), | ||
], | ||
'packages' => is_string(env('PLAYGROUND_PACKAGES', 'playground')) ? array_map( | ||
'trim', | ||
explode(',', env('PLAYGROUND_PACKAGES', 'playground')) | ||
) : [], | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Date | ||
|-------------------------------------------------------------------------- | ||
| | ||
| PLAYGROUND_DATE_SQL is used to format dates for SQL handling. Where possible | ||
| Illuminate\Support\Carbon is use to handle dates, including formatting. | ||
*/ | ||
|
||
'date' => [ | ||
'sql' => env('PLAYGROUND_DATE_SQL', 'Y-m-d H:i:s'), | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ parameters: | |
paths: | ||
- config | ||
- database | ||
- lang | ||
- src | ||
- tests | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.