fznoviar / suitgenerator by fznoviar

Generator for Laravel SuitCMS
11
0
2
Package Data
Maintainer Username: fznoviar
Maintainer Contact: fznoviar@gmail.com (fznoviar)
Package Create Date: 2017-02-14
Package Last Update: 2017-02-16
Language: PHP
License: MIT
Last Refreshed: 2024-11-22 03:09:00
Package Statistics
Total Downloads: 11
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

suitgenerator

Model, Controller, View Generator from migration for SuitCMS, still alpha version

Installation

First, you'll need to install the package via Composer:

$ composer require fznoviar/suitgenerator

Then, update config/app.php by adding an entry for the service provider.

'providers' => [
    // ...
    Fznoviar\SuitGenerator\SuitGeneratorServiceProvider::class,
];

Use

For generate model from a table,

php artisan suit:model --table=posts

For generate controller from 2 tables,

php artisan suit:controller --table=posts,gallery_categories

For generate view from all tables,

php artisan suit:view --all

For generate whole mvc from a table,

php artisan suit:module --table=posts