Implements a Artisan command to scaffold out Laravel Composer packages
-
Composer require the package:
composer require ollywarren/makepackage
Let Laravel 5.5 Automatic Package Discovery do its thang!
-
Composer require the package:
composer require ollywarren/makepackage -
Register the service provider in
App\config\app.phpproviders array:Ollywarren\Makepackage\MakepackageServiceProvider::class -
Navigate to the project root and run
php artisanto check that themake:packagecommand is present.
- Simply run
php artisan make:packagethen follow the on screen instructions.
Enjoy and Make Something Awesome!
Thanks to Sebastiaan Luca https://github.com/sebastiaanluca/php-stub-generator for sharing his Stub Generator code now included in this package. Made this package much smaller and much easier to maintain and upgrade in the future.