This package provides you with a simple tool to set up a new package. Nothing more, nothing less.
Via Composer
$ composer require jeroen-g/laravel-packager
Then add the service provider in config/app.php
:
'JeroenG\Packager\PackagerServiceProvider',
The command will handle practically everything for you. It will create a packages directory, creates the vendor and package directory in it, pulls in a skeleton package, sets up composer.json, creates a service provider, registers the package in config/app.php and the app's composer.json. So you can start right away with only this command:
$ artisan packager:new MyVendor MyPackage
The new package will be based on league/skeleton, plus a Laravel service provider.
If you already have your package on Github, it is possible to download that:
$ artisan packager:get https://github.com/author/repository
This will too register the package in config/app.php and the app's composer.json file.
Please see contributing.md for details.
The EU Public License. Please see license.md for more information.
Please see changelog.md for the changes made.