/Manager

A new way to setup a Laravel base package.

Primary LanguagePHPMIT LicenseMIT

Logo Laravel Package Manager

Manager aims to automate package search and install functionality.

  1. Register Service provider and facade.
  2. Search relevant package.
  3. Run migration.
  4. Publish blade and vue files.
  5. Run necessary command specific to a package (coming soon).
  6. 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:

Manager search result if package not found by the given name

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.

Service providers and facades registration

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 Twitter Ask for Help Contact / Hire Site
Mohammed Mudasir (Creator) @md_mudasir Get help on Codementor hello@mudasir.me http://mudasir.me