tsotsi/model-validate

dev-master 2015-11-20 09:41 UTC

This package is not auto-updated.

Last update: 2024-12-11 18:51:26 UTC


README

laravel5 validate model

app.php

  'providers'=>[
    Tsotsi\ModelValidate\ValidateServiceProvider::class,
  ]

then

 php artisan vendor:publish

console

  //自定义表明
 php artisan make:v-model Models/T -t "t"
 
 //强制替换
 php artisan make:v-model Models/T -t "t" -f