gadyb/laravel-model-view-generator

Laravel View CRUD Generator

1.0 2016-06-28 13:03 UTC

This package is not auto-updated.

Last update: 2024-04-13 16:51:15 UTC


README

View CRUD Generation using barryvdh/ide-helper:models

Install

Require this package with composer using the following command:

composer require gadyb/laravel-model-view-generator

After updating composer, add the service provider to the providers array in config/app.php

GBarak\ViewCrudGenerator\ViewCrudServiceProvider::class,

Generating phpDocs for models

You need to require barryvdh/laravel-ide-helper in your own composer.json to generate the phpDocs for the models. For usage please refer to https://github.com/barryvdh/laravel-ide-helper

Usage

php artisan vcgen:make PostModel --viewPath="path/to/output/views"

License

The Laravel View Crud Generator is open-sourced software licensed under the MIT license