Enable Laravel auto-discovery
This commit is contained in:
parent
d1c81de9b9
commit
0bca03284c
|
|
@ -58,11 +58,6 @@ class AppServiceProvider extends ServiceProvider
|
|||
$this->app->singleton('users', \App\Services\Repositories\UserRepository::class);
|
||||
$this->app->singleton('options', OptionRepository::class);
|
||||
|
||||
if ($this->app->environment() !== 'production') {
|
||||
$this->app->register(\Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class);
|
||||
$this->app->register(\Laravel\Tinker\TinkerServiceProvider::class);
|
||||
}
|
||||
|
||||
// Support *.tpl extension name
|
||||
View::addExtension('tpl', 'blade');
|
||||
// Make the priority of *.blade.php higher than *.tpl
|
||||
|
|
|
|||
|
|
@ -43,6 +43,12 @@
|
|||
"Tests\\": "tests/"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"post-autoload-dump": [
|
||||
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
|
||||
"@php artisan package:discover"
|
||||
]
|
||||
},
|
||||
"config": {
|
||||
"preferred-install": "dist"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -149,7 +149,6 @@ return [
|
|||
* Laravel Framework Service Providers...
|
||||
*/
|
||||
Illuminate\Auth\AuthServiceProvider::class,
|
||||
Illuminate\Broadcasting\BroadcastServiceProvider::class,
|
||||
Illuminate\Bus\BusServiceProvider::class,
|
||||
Illuminate\Cache\CacheServiceProvider::class,
|
||||
Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
|
||||
|
|
@ -164,17 +163,14 @@ return [
|
|||
Illuminate\Pipeline\PipelineServiceProvider::class,
|
||||
Illuminate\Queue\QueueServiceProvider::class,
|
||||
Illuminate\Redis\RedisServiceProvider::class,
|
||||
Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
|
||||
Illuminate\Session\SessionServiceProvider::class,
|
||||
Illuminate\Validation\ValidationServiceProvider::class,
|
||||
Illuminate\View\ViewServiceProvider::class,
|
||||
Illuminate\Notifications\NotificationServiceProvider::class,
|
||||
|
||||
/*
|
||||
* Third-party Libraries...
|
||||
*/
|
||||
Swiggles\Memcache\MemcacheServiceProvider::class,
|
||||
Mews\Captcha\CaptchaServiceProvider::class,
|
||||
|
||||
/*
|
||||
* Application Service Providers...
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user