Download the PHP package stormsq/developer-presenter without Composer
On this page you can find all versions of the php package stormsq/developer-presenter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download stormsq/developer-presenter
More information about stormsq/developer-presenter
Files in stormsq/developer-presenter
Download stormsq/developer-presenter
More information about stormsq/developer-presenter
Files in stormsq/developer-presenter
Vendor stormsq
Package developer-presenter
Short Description My Pattern of Laravel Project
License MIT
Package developer-presenter
Short Description My Pattern of Laravel Project
License MIT
Please rate this library. Is it a good library?
Informations about the package developer-presenter
developer-presenter
說明
安裝
如果你的laravel <= 5.4或是你的Laravel專案沒有啟動自動擴充包導入,你需要在你的config/app.php下面引入:
別忘了生成一個設定檔
你會在config底下看到一個developer-presenter.php
設定
config/developer-presenter.php
使用方法
Presenter
presenter是一個搭配blade使用的開發概念,將不好維護的blade語句獨立到presenter中,使用時再注入到blade
產生一個Presenter
基本路徑與Service一樣,在app底下
presenter可用方法
getTableHeader(array)
參數array 格式為 '排序名'=>'欄位名稱'
All versions of developer-presenter with dependencies
PHP Build Version
Package Version
Requires
laravel/framework Version
^5.0|^6.0|^7.0|^8.0|^9.0
The package stormsq/developer-presenter contains the following files
Loading the files please wait ....