1 | <?php |
||
2 | |||
3 | return [ |
||
4 | |||
5 | // Enable whole module |
||
6 | 'enable' => true, |
||
7 | |||
8 | // RTL Style , If you are using a language like Persian or Arabic change it true |
||
9 | 'rtl_mode' => false, |
||
10 | |||
11 | // Package Language |
||
12 | 'lang' => 'en', |
||
13 | |||
14 | // Your user Model |
||
15 | 'user_model' => file_exists(app_path('User.php')) ? App\User::class : App\Models\User::class, |
||
0 ignored issues
–
show
The type
App\User was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
16 | |||
17 | // set default guard to authenticate admins |
||
18 | 'auth_guard' => config('auth.defaults.guard') ?? 'web', |
||
19 | |||
20 | // How to authenticate admin |
||
21 | // You may use other ways to authenticate a admin (tables or ..) you can manage it with this class |
||
22 | 'auth_class' => \EasyPanel\Support\Auth\AdminIdentifier::class, |
||
23 | |||
24 | // With this class you can manage how to create a admin or remove it. |
||
25 | 'admin_provider_class' => \EasyPanel\Support\User\UserProvider::class, |
||
26 | |||
27 | //The namespace of lang manager class |
||
28 | 'lang_manager_class' => \EasyPanel\Services\LangService::class, |
||
29 | |||
30 | // it's a place where a user if not authenticated will be redirected |
||
31 | 'redirect_unauthorized' => '/', |
||
32 | |||
33 | // Admin panel routes prefix |
||
34 | 'route_prefix' => 'admin', // http://localhost/admin |
||
35 | |||
36 | // Your own middlewares for easy panel routes. |
||
37 | 'additional_middlewares' => [], |
||
38 | |||
39 | // Count of pagination in CRUD lists |
||
40 | 'pagination_count' => 20, |
||
41 | |||
42 | // Lazy validation for Livewire components |
||
43 | 'lazy_mode' => true, |
||
44 | |||
45 | // database configure |
||
46 | 'database'=>[ |
||
47 | 'connection'=> env('EZ_PANEL_DB_CONNECTION'), |
||
48 | 'panel_admin_table'=>'panel_admins', |
||
49 | 'crud_table'=> 'cruds' |
||
50 | ] |
||
51 | ]; |
||
52 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths