Tsotsi / model-validate by Tsotsi

model-validate
13
0
1
Package Data
Maintainer Username: Tsotsi
Maintainer Contact: tsotsi@tsotsi.cn (tsotsi)
Package Create Date: 2015-11-18
Package Last Update: 2015-11-20
Language: PHP
License: MIT
Last Refreshed: 2024-11-10 15:02:42
Package Statistics
Total Downloads: 13
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

model-validate

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