用Laravel5.1开发项目的时候,经常碰到需要携带错误信息到上一个页面,开发web后台的时候尤其强烈。 方法一:跳转到指定路由,并携带错误信息 return redirect(/admin/resource/showAddResourceV
Laravel项目安装验证码mews/captcha扩展,出现如下错误信息: composer require mews/captcha Using version ^2.2 for mews/captcha ./composer.json has been updated Loading composer repositories with package information Updating d
总体内容分为传值类型和方法,大概总体感觉如下。 传值类型:一个值,多个值,数组。 方法: with,view,compact 默认视图 test文件下index.blade.php 单个值的传递 with public function index ( ) {
mcamara/laravel-localization扩展包为你的Laravel项目提供本地化功能增强及多国语言切换等功能,可以很方便的实现多语言版本之间的切换。 github地址:https://github.com/mcamara/laravel-localization 安
lubusIN/laravel-decomposer扩展包专用于解决laravel扩项目中对Composer依赖的关系,能够检测项目及服务器环境。 github地址:https://github.com/lubusIN/laravel-decomposer 安装: composer require lubusin/larave
压缩 HTML 加速网页响应 renatomarinho/laravel-page-speed,扩展包可以自动的优化网站,将HTML加速输出显示在客户端浏览器。 项目地址:https://github.com/renatomarinho/laravel-page-speed 安装命令: $
Laravel User Agent 轻松识别客户端信息 jenssegers/agent,客户端会通过这个请求向访问网站提供浏览器类型、操作系统及版本,浏览器渲染引擎,浏览器语言等标识的信息。 项目地址:https
beyondcode/laravel-query-detector扩展包是一款查找问题的探测器,可以很方便的帮助开发者查找潜在的问题。 项目地址:https://github.com/beyondcode/laravel-query-detector 安装命令: composer require bey
laravel扩展包统计页面访问次数awssat/laravel-visits,用于统计在每个页面的访问次数,通过判断IP来实现通过访问次数的功能。 项目地址:https://github.com/awssat/laravel-visits 安装命令: compo
milon/barcode可生成一维码、二维码等多种条码格式,使用也非常的方便。 项目地址:https://github.com/milon/barcode 安装: $ composer require milon/barcode 安装完成之后,我们需要注册providers服务
新项目布置Laravel,所有源代码数据上传至服务器中,配置好运行环境,调试出现...
下面是总结的几个使用方法 include PHPExcel.php; include PHPExcel/Writer/Exc...
以下记录为laravel框架常用artisan常用命令集合,日常开发过程中会经常使用到。...
gregwar/captcha验证码类库是在Laravel中比较常用的一种验证码,安装及使用说明...
PhpStorm Laravel IDE增加显示工具 barryvdh/laravel-ide-helper 仓库地址:htt...
Laravel报错 The payload is invalid.的解决方法Laravel项目在登陆验证的时候,...
测试项目Laravel Shop,Git源代码到本地调整,环境配置完成之后,运行Laravel,...
Laravel 5.4运行migrate命令报错1071 Specified key was too long解决方案如下...