-
Notifications
You must be signed in to change notification settings - Fork 116
Open
Description
Hi
since laravel 5 support auto discover package we don't need to add the service provider and the facade manually
(https://laravel.com/docs/5.8/packages#package-discovery)
juste add to the composer.json :
"extra": { "laravel": { "providers": [ "Madcoda\\Youtube\\YoutubeServiceProviderLaravel5" ], "aliases": { "Youtube": "Madcoda\\Youtube\\Facades\\Youtube" } } }
another suggestion is to add the group for publish (to use it with php artisan vendor:publish tag=)
$this->publishes([ __DIR__.'/config/youtube.php' => config_path('youtube.php'), ], 'youtube-api');
Metadata
Metadata
Assignees
Labels
No labels