
Laravel
mole334
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Laravel和uni_app总结
1、php artisan serve --host=127.0.0.1 --port=8080原创 2021-01-27 16:39:45 · 589 阅读 · 0 评论 -
laravel oauth 遇见的问题汇总
1、laravel 报 Target class [xxx] does not exist解决方案 app->Providers->RouteServiceProvider中 public const HOME = '/home'; /** * The controller namespace for the application. * * When present, controller route declarations will automatically be prefixed原创 2020-11-20 20:36:49 · 312 阅读 · 0 评论 -
阿里云 Composer 全量镜像
阿里云 Composer 全量镜像. composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/原创 2020-09-24 16:44:37 · 122 阅读 · 0 评论 -
laravel与Layui-table结合
laravel中paginate(number)是具有分页功能的函数 Layui中 table.render({ elem: '#demo' ,height: 312 ,url: '/demo/table/user/' //数据接口 ,limit:4 ,page: true //开启分页 ,cols: [[ //表头 {field: 'id', title: 'ID', width:80, sort: true, fixed: 'left'}原创 2020-07-19 11:33:53 · 914 阅读 · 0 评论 -
laravel相关安装包
1: composer config -g repo.packagist composer https://mirrors.aliyun. com/composer/ 2: composer require laracasts/flash原创 2020-06-11 23:49:10 · 183 阅读 · 0 评论 -
Laravel中Request用法
//以数组形式获取所有输入数据 $request()->all(); //input从整个请求中获取输入数据(包括查询字符串) $request()->input(‘name’); //设置默认值 $request->input(‘name’,‘10’) //query 只从查询字符串中获取输入数据 $request()->query(‘name’); $request()->query(‘name’, ‘saly’); // 获取请求方法 $request::method()原创 2020-06-05 22:41:55 · 3107 阅读 · 0 评论 -
laravel路由相关问题
1、命名空间 可以在分组属性数组中使用 namespace 来指定群组中所有控制器的公共命名空间: Route::group(['namespace' => 'Admin'], function(){ // 控制器在 "App\Http\Controllers\Admin" 命名空间下 Route::group(['namespace' => 'User'], functio...原创 2020-04-23 22:30:15 · 225 阅读 · 0 评论 -
VScode设置
1、Font:Monaco,Consolas, 'Courier New', monospace 2、VSCode打开多个项目文件夹: 文件->首选项->设置->窗口->新建窗口->Open Folders In New Window->on 这里设置为on即可。 3、插件: Auto Close Tag Beautify C# Chinese language...原创 2020-03-30 11:31:58 · 383 阅读 · 0 评论 -
npm国内淘宝镜像方法
命令 npm config set registry https://registry.npm.taobao.org 验证命令 npm config get registry 如果返回https://registry.npm.taobao.org,说明镜像配置成功。原创 2020-03-21 21:02:36 · 313 阅读 · 1 评论 -
PHP-passthru
passthru—执行外部程序并且显示原始输出 passthru(string$command[,int&$return_var] ) :void 同exec()函数类似,passthru()函数 也是用来执行外部命令(command)的。 当所执行的 Unix 命令输出二进制数据, 并且需要直接传送到浏览器的时候, 需要用此函数来替代exec()或s...原创 2020-03-21 20:59:19 · 2240 阅读 · 0 评论 -
2020-03-01
原创 2020-03-05 17:21:55 · 119 阅读 · 0 评论 -
Artisn 命令
Command “make” is not defin Did you mean one of these? make:channel make:command make:controller make:event make:exception make:factory ...原创 2020-03-05 16:57:29 · 774 阅读 · 0 评论