ollywarren / artisan-make-package by ollywarren

Implements a Artisan command to scaffold out laravel composer packages
2,684
6
1
Package Data
Maintainer Username: ollywarren
Maintainer Contact: olly@ollywarren.com (Olly Warren)
Package Create Date: 2017-06-23
Package Last Update: 2017-10-07
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-12-15 15:02:27
Package Statistics
Total Downloads: 2,684
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 6
Total Watchers: 1
Total Forks: 1
Total Open Issues: 0

MakePackage

Total Downloads Latest Stable Version License

Introduction

Implements a Artisan command to scaffold out Laravel Composer packages

Installation Laravel 5.5 LTS

  1. Composer require the package:

    composer require ollywarren/makepackage

Let Laravel 5.5 Automatic Package Discovery do its thang!

Installation Laravel 5.4

  1. Composer require the package:

    composer require ollywarren/makepackage

  2. Register the service provider in App\config\app.php providers array:

    Ollywarren\Makepackage\MakepackageServiceProvider::class

  3. Navigate to the project root and run php artisan to check that the make:package command is present.

Usage Instructions

  1. Simply run php artisan make:package then follow the on screen instructions.

Enjoy and Make Something Awesome!

Mentions

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.