Tuesday 24 July 2018

Validation Auto Generate For Laravel

Creating validation file for all the tables will be very difficult if you have large number of tables and columns.

This package will automatically generate the validation request file for all of your tables in the database, to use the package install the package using composer

composer require vigneshc91/laravel-validation-generator

After installing run the artisan command to generate the files

php artisan laravel-validation:generate

You can use the available options to generate rules for specific tables, or ignore specific tables or columns by using the options in that package

Ref : https://vigneshc91.github.io/laravel-validation-generator/

No comments:

Post a Comment