laravel-package-manager is a laravel package to manage your project dependencies
1.via composer :
composer require gaiththewolf/laravel-package-manager
2.add the service provider:
// config/app.php
'providers' => [
/*
* Package service providers
*/
\gaiththewolf\lpmanager\LPManagerServiceProvider::class,
];
3.publish the view assets :
php artisan vendor:publish --provider="gaiththewolf\lpmanager\LPManagerServiceProvider"
4.navigate to http://your-project-path/lpmanager
. and that's it :).
//published config file : config/lpmanager.php
return [
/*
* Enable it?
*/
'web_interface_enabled' => env('ENABLE_LPMANAGER', true),
/*
* Route used to access
*/
'route' => 'lpmanager',
/*
* Deffer booting for middleware use
*/
'use_middleware' => false,
/*
* If use middelware, provide the name of the middleware used
*/
'use_middleware_name' => [],
];