lubusIN/laravel-decomposer擴(kuò)展包專用于解決laravel擴(kuò)項(xiàng)目中對Composer依賴的關(guān)系,能夠檢測項(xiàng)目及服務(wù)器環(huán)境。 github地址:https://github.com/lubusIN/laravel-decomposer 安裝: composer require lubusin/larave
壓縮 HTML 加速網(wǎng)頁響應(yīng) renatomarinho/laravel-page-speed,擴(kuò)展包可以自動的優(yōu)化網(wǎng)站,將HTML加速輸出顯示在客戶端瀏覽器。 項(xiàng)目地址:https://github.com/renatomarinho/laravel-page-speed 安裝命令: $
Laravel User Agent 輕松識別客戶端信息 jenssegers/agent,客戶端會通過這個請求向訪問網(wǎng)站提供瀏覽器類型、操作系統(tǒng)及版本,瀏覽器渲染引擎,瀏覽器語言等標(biāo)識的信息。 項(xiàng)目地址:https
beyondcode/laravel-query-detector擴(kuò)展包是一款查找問題的探測器,可以很方便的幫助開發(fā)者查找潛在的問題。 項(xiàng)目地址:https://github.com/beyondcode/laravel-query-detector 安裝命令: composer require bey
laravel擴(kuò)展包統(tǒng)計(jì)頁面訪問次數(shù)awssat/laravel-visits,用于統(tǒng)計(jì)在每個頁面的訪問次數(shù),通過判斷IP來實(shí)現(xiàn)通過訪問次數(shù)的功能。 項(xiàng)目地址:https://github.com/awssat/laravel-visits 安裝命令: compo
milon/barcode可生成一維碼、二維碼等多種條碼格式,使用也非常的方便。 項(xiàng)目地址:https://github.com/milon/barcode 安裝: $ composer require milon/barcode 安裝完成之后,我們需要注冊providers服務(wù)
測試laravel torann/geoip擴(kuò)展包,運(yùn)行tinker測試,報錯如下: BadMethodCallException with message This cache store does not support tagging. 根據(jù)提示信息我們判斷應(yīng)該是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.*, 執(zhí)行命令: $ composer update 出錯小插曲: 更新過程中報了以
torann/geoip通過該擴(kuò)展包,我們可以根據(jù)用戶的IP獲得地理位置信息。 項(xiàng)目地址:https://github.com/Torann/laravel-geoip 安裝命令: $ composer require torann/geoip 安裝完成之后,我們將配置文件發(fā)布出
linux iptables如何封單個IP、IP段、整段IP示例代碼如下: # iptables -P INPUT...
Chart.js創(chuàng)建漂亮圖表的所有知識 Chart.js 中文文檔地址:http://www.bootcss.c...
{catpos($catid)} 顯示文章位置導(dǎo)航 {$CATEGORYS[$catid][url]} 顯示當(dāng)前欄目鏈...
Laravel 5.4運(yùn)行migrate命令報錯1071 Specified key was too long解決方案如下...
?php代碼首先包含common.inc.php文件在common.inc.php文件中,首先定義常量。de...
Raphael 是一個用于在網(wǎng)頁中繪制矢量圖形的 Javascript 庫。它使用 SVG W3C 推...
方法一,摘自discuz /* * * * 根據(jù)php的$_SERVER[HTTP_USER_AGENT] 中各種瀏覽...
相冊部分用到了遮罩層效果。之前在一次項(xiàng)目中也有用到過,只是那時候還不知道可...