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.php
providers array:Ollywarren\Makepackage\MakepackageServiceProvider::class
-
Navigate to the project root and run
php artisan
to check that themake:package
command is present.
- Simply run
php artisan make:package
then 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.