Package Data | |
---|---|
Maintainer Username: | appzcoder |
Maintainer Contact: | sohelamincse@gmail.com (Sohel Amin) |
Package Create Date: | 2017-06-02 |
Package Last Update: | 2017-06-03 |
Home Page: | https://packagist.org/packages/appzcoder/laravel-package-discovery |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-13 15:00:18 |
Package Statistics | |
---|---|
Total Downloads: | 9,868 |
Monthly Downloads: | 276 |
Daily Downloads: | 13 |
Total Stars: | 10 |
Total Watchers: | 4 |
Total Forks: | 1 |
Total Open Issues: | 0 |
This package supports Package Auto Discovery feature on Laravel older version (less than 5.5)
Laravel >=5.1
PHP >= 5.5.9
Open your terminal(CLI), go to the root directory of your Laravel project, then follow the following procedure.
Run
composer require appzcoder/laravel-package-discovery:dev-master
Add service provider to config/app.php.
'providers' => [
...
Appzcoder\LaravelPackageDiscovery\LaravelPackageDiscoveryServiceProvider::class,
],
Add the dump script to composer.json.
"scripts": {
...
"post-autoload-dump": [
"Appzcoder\\LaravelPackageDiscovery\\ComposerScripts::postDump"
]
},
Run composer dump-autoload
Make sure your package's composer.json file as below
"extra": {
"laravel": {
"providers": [
"Barryvdh\\Debugbar\\ServiceProvider"
],
"aliases": {
"Debugbar": "Barryvdh\\Debugbar\\Facade"
}
}
}