2017 © Pedro Peláez
 

library laravel-modulator

Artisan-generator for easy creating module in your Laravel namespace-based application.

image

slider23/laravel-modulator

Artisan-generator for easy creating module in your Laravel namespace-based application.

  • Friday, August 22, 2014
  • by slider23
  • Repository
  • 5 Watchers
  • 18 Stars
  • 110 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 11 Versions
  • 0 % Grown

The README.md

laravel-modulator

Artisan generator for easy creating module in your Laravel namespace-based application., (*1)

, (*2)

Installation

Require this package in your composer.json and run composer update (or run composer require slider23/laravel-modulator:1.* directly):, (*3)

"slider23/laravel-modulator": "1.*"

After updating composer, add the ServiceProvider to the providers array in app/config/app.php, (*4)

'Slider23\LaravelModulator\LaravelModulatorServiceProvider',

Usage

Run Artisan command:, (*5)

php artisan modulator --path=app/Acme User --template=default

where Acme - namespace of your application (must be in autoload section of composer.json) User - name of module for create. default - folder with files of template, defined in config.php . 'default' is devault value, also available template 'formvalidation' with validator an model presenter of Jeffrey Way (https://github.com/laracasts). --template is optional., (*6)

In folder app/Acme will be created:, (*7)

Module structure, (*8)

Add Acme\User\UserServiceProvider to the providers array in app/config/app.php. Module is ready to work !, (*9)

Customization

To change module structure clone config to your app:, (*10)

php artisan config:publish slider23/laravel-modulator

and add path to your folder of template to app/config/packages/slider23/laravel-modulator/config.php:, (*11)

return array(
    'templates_path' =>
        array(
            'default' => "vendor/slider23/laravel-modulator/src/Slider23/LaravelModulator/templates/default/",
            'formvalidation' => "vendor/slider23/laravel-modulator/src/Slider23/LaravelModulator/templates/formvalidation/",
            'myowntemplate' => "app/storage/my_module_template/"
        )
);

The Versions

22/08 2014

dev-master

9999999-dev

Artisan-generator for easy creating module in your Laravel namespace-based application.

  Sources   Download

The Requires

 

by Avatar slider23

22/08 2014

v1.2.0

1.2.0.0

Artisan-generator for easy creating module in your Laravel namespace-based application.

  Sources   Download

The Requires

 

by Avatar slider23

22/07 2014

v1.1.6

1.1.6.0

Artisan-generator for easy creating module in your Laravel namespace-based application.

  Sources   Download

The Requires

 

by Avatar slider23

22/07 2014

v1.1.5

1.1.5.0

Artisan-generator for easy creating module in your Laravel namespace-based application.

  Sources   Download

The Requires

 

by Avatar slider23

21/07 2014

v1.1.4

1.1.4.0

Artisan-generator for easy creating module in your Laravel namespace-based application.

  Sources   Download

The Requires

 

by Avatar slider23

14/07 2014

v1.1.3

1.1.3.0

Artisan-generator for easy creating module in your Laravel namespace-based application.

  Sources   Download

The Requires

 

by Avatar slider23

14/07 2014

v1.1.2

1.1.2.0

Artisan-generator for easy creating module in your Laravel namespace-based application.

  Sources   Download

The Requires

 

by Avatar slider23

14/07 2014

v1.1.1

1.1.1.0

Artisan-generator for easy creating module in your Laravel namespace-based application.

  Sources   Download

The Requires

 

by Avatar slider23

14/07 2014

v1.1.0

1.1.0.0

Artisan-generator for easy creating module in your Laravel namespace-based application.

  Sources   Download

The Requires

 

by Avatar slider23

13/07 2014

v1.0.1

1.0.1.0

  Sources   Download

The Requires

 

by Avatar slider23

12/07 2014

v1.0.0

1.0.0.0

  Sources   Download

The Requires

 

by Avatar slider23