框架
肥茹
这个作者很懒,什么都没留下…
展开
-
composer 安装laravel 没有vendor 或者卡在Installing dependencies (including require-dev)
切换成阿里镜像就好了composer config -g repo.packagist composer https://mirrors.aliyun.com/composer参考文章https://learnku.com/laravel/t/40654https://www.jianshu.com/p/0657066eb0a5https://blog.csdn.net/weixin_43958049/article/details/105665176...转载 2020-07-28 22:54:06 · 1916 阅读 · 0 评论 -
laravel7 增删改查
创建控制器php artisan make:controller SqlController获取单条数据$a = DB::table('users')->where(['id'=>3])->first();获取多条数据$a = DB::table('users')->select();更新数据 $bool = DB::table('users')->where('id', 2)->update(['email' => 'fe原创 2020-07-19 22:50:45 · 868 阅读 · 0 评论 -
Windows安装yii2框架
先从官网下载解压包https://www.yiichina.com/download去PHP中文网下载一个phpstudy然后把yii解压后放在PHPstudy的ww文件夹里面开启PHPstudy,打开浏览器输入地址http://127.0.0.1/yii2/requirements.phprequirements.php 是查看yii运行环境是否正确yii2.0需要php5....原创 2019-03-29 20:21:48 · 589 阅读 · 1 评论