2017 © Pedro Peláez
 

library make-package

artisan command make package with basic scaffolding

image

leinbg/make-package

artisan command make package with basic scaffolding

  • Thursday, May 11, 2017
  • by leinbg
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Make Package Command

create laravel package scaffolder, (*1)

how to use

  • add command service provider to app config
Leinbg\Command\MakePackage\Providers\ConsoleServiceProvider::class,
  • create package
php artisan make:package vendor package
  • add autoload in composer.json
"Vendor\\Package\\": "packages/vendor/package/src"
composer dumpautoload
  • register service provider in app config
Vendor\Package\Providers\PackageServiceProvider::class,
  • migrate | publish if neccessery

todos

  • vendor and package camelcase
  • add more options
    • --default
    • --resource
    • --web
    • --cli

default package structure

  • database
    • migrations
  • resources
    • views
  • routes
  • src
    • Http
      • Controllers
      • Requests
    • Models
    • Providers
  • composer.json

The Versions

11/05 2017

dev-master

9999999-dev

artisan command make package with basic scaffolding

  Sources   Download

MIT

The Requires

 

by leiw

11/05 2017

0.1.2

0.1.2.0

artisan command make package with basic scaffolding

  Sources   Download

MIT

The Requires

 

by leiw

11/05 2017

0.1.1

0.1.1.0

artisan command make package with basic scaffolding

  Sources   Download

MIT

The Requires

 

by leiw

11/05 2017

0.1

0.1.0.0

artisan command make package with basic scaffolding

  Sources   Download

MIT

The Requires

 

by leiw