版权声明:本文为博主原创文章,未经博主允许不得转载. 添加手机验证方法可直接看这里:https://www.cnblogs.com/cxscode/p/9609828.html 今天来讲一下,Lumen的Validator函数 use Validator; ... Class .. { public function ..(){ Validator::make($input, $rules, $message, $attributes)->validate(); } use Validator是
<?php return [ /* |-------------------------------------------------------------------------- | Validation Language Lines |-------------------------------------------------------------------------- | | The following language lines contain the default
#安装需要的包,有依赖关系,自动帮你解决 yum install httpd mysql mysql-server php php-gd php-mbstring php-mysql #启动httpd service httpd start #设为开机启动 chkconfig httpd on #启动mysqld service mysqld start #设为开机启动 chkconfig mysqld on #在根目录下创建一个测试文件,写个phpinfo函数 vi /var/www/html