Manager aims to automate package search and install functionality.
- Register Service provider and facade.
- Search relevant package.
- Run migration.
- Publish blade and vue files.
- Run necessary command specific to a package (coming soon).
- Uninstall package (comming soon).
Installation:
Get manager package.
composer require qafeen/manager
Register service provider. Possibilities are this will be your last time to do it manually.
Qafeen\Manager\ManagerServiceProvider::class,
We are done!
Now let's install package by using our newly added manager. To search and add a package you need to run:
php artisan add passport
Manager will look for the package and give you the results:
Once you selected a package then composer will take care to download it and Manager will find service providers and facades to register. Also manager will look for migration files to run.
If you are very specific to a package and know what you want to download then you can do it directly:
php artisan add zizaco/entrust:5.2.x-dev
Notes:
Manager store your service providers and facades in different file config/manager.php
and will take care to load it.
Contribution
Just do it. You are welcome :)
Credits
Contributors | Ask for Help | Contact / Hire | Site | |
---|---|---|---|---|
Mohammed Mudasir (Creator) | @md_mudasir | hello@mudasir.me | http://mudasir.me |