2017 © Pedro Peláez
 

library laravel-package-generators-extended

Create migrations, models, controllers for custom packages using artisan commands.

image

se468/laravel-package-generators-extended

Create migrations, models, controllers for custom packages using artisan commands.

  • Wednesday, April 11, 2018
  • by se468
  • Repository
  • 1 Watchers
  • 7 Stars
  • 389 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 10 Versions
  • 60 % Grown

The README.md

Laravel Package Generators Extended

Latest Stable Version Total Downloads License, (*1)

Adds Artisan command generators for the package for Commands, Migrations, Controllers, Models for rapid package development., (*2)

This package comes with useful generators:, (*3)

php artisan package:create

php artisan package:command

php artisan package:controller

php artisan package:migration

php artisan package:model

Install

Via Composer, (*4)

$ composer require se468/laravel-package-generators-extended

Optional Configuration

If you do not want to type vendor/package/namespace over and over for your generators, we offer a config file method., (*5)

Publish the config file., (*6)

$ php artisan vendor:publish

It will generate package-generators.php in the app/config directory. You can modify vendor, package, namespace to set the default package. You may now call the commands without specifying vendor/package/namespaces, and just specify the name of the file you want to create., (*7)

Usage

Package

$ package:create {vendor} {package} {namespace}

Will create a service provider and composer.json in your package src directory., (*8)

It will also add the psr4 namespaces in your laravel's composer.json file and register the service provider in config/app.php automatically., (*9)

It's that simple!, (*10)

Command

$ package:command {name_of_file} {vendor?} {package?} {namespace?} --path

Example:, (*11)

$ php artisan package:command TestCommand se468 test-package TestNamespace

or using config file, (*12)

$ php artisan package:command TestCommand

Controller

$ package:controller {name_of_file} {vendor?} {package?} {namespace?}  --path

Example:, (*13)

$ php artisan package:controller TestController se468 test-package TestNamespace

or using config file, (*14)

$ php artisan package:controller TestController

Migration

$ package:migration {name_of_file} {vendor?} {package?} {namespace?} --path

Example:, (*15)

$ php artisan package:migration create_test_migration se468 test-package TestNamespace 

or using config file, (*16)

$ php artisan package:migration create_test_migration

Model

$ package:model {vendor} {package} {namespace} {name} --path

Example:, (*17)

$ php artisan package:model TestModel se468 test-package TestNamespace 

or using config file, (*18)

$ php artisan package:model TestModel

License

The MIT License (MIT). Please see License File for more information., (*19)

The Versions

11/04 2018

dev-master

9999999-dev https://github.com/se468/laravel-package-generators-extended

Create migrations, models, controllers for custom packages using artisan commands.

  Sources   Download

MIT

The Requires

 

se468 laravelpackagegeneratorsextended

11/04 2018

v0.2.4

0.2.4.0 https://github.com/se468/laravel-package-generators-extended

Create migrations, models, controllers for custom packages using artisan commands.

  Sources   Download

MIT

The Requires

 

se468 laravelpackagegeneratorsextended

10/04 2018

v0.2.3

0.2.3.0 https://github.com/se468/laravel-package-generators-extended

Create migrations, models, controllers for custom packages using artisan commands.

  Sources   Download

MIT

The Requires

 

se468 laravelpackagegeneratorsextended

04/04 2018

v0.2.2

0.2.2.0 https://github.com/se468/laravel-package-generators-extended

Create migrations, models, controllers for custom packages using artisan commands.

  Sources   Download

MIT

The Requires

 

se468 laravelpackagegeneratorsextended

26/03 2018

v0.2.1

0.2.1.0 https://github.com/se468/laravel-package-generators-extended

Create migrations, models, controllers for custom packages using artisan commands.

  Sources   Download

MIT

The Requires

 

se468 laravelpackagegeneratorsextended

26/03 2018

v0.2.0

0.2.0.0 https://github.com/se468/laravel-package-generators-extended

Create migrations, models, controllers for custom packages using artisan commands.

  Sources   Download

MIT

The Requires

 

se468 laravelpackagegeneratorsextended

26/03 2018

v0.1.2

0.1.2.0 https://github.com/se468/laravel-package-generators-extended

Create migrations, models, controllers for custom packages using artisan commands.

  Sources   Download

MIT

The Requires

 

se468 laravelpackagegeneratorsextended

26/03 2018

v0.1.1

0.1.1.0 https://github.com/se468/laravel-package-generators-extended

Create migrations, models, controllers for custom packages using artisan commands.

  Sources   Download

MIT

The Requires

 

se468 laravelpackagegeneratorsextended

26/03 2018

v0.1.0

0.1.0.0 https://github.com/se468/laravel-package-generators-extended

Create migrations, models, controllers for custom packages using artisan commands.

  Sources   Download

MIT

The Requires

 

se468 laravelpackagegeneratorsextended

26/03 2018

v0.0.1

0.0.1.0 https://github.com/se468/laravel-package-generators-extended

Create migrations, models, controllers for custom packages using artisan commands.

  Sources   Download

MIT

The Requires

 

se468 laravelpackagegeneratorsextended