標籤

BAT (38) shell (34) Virtual Machine (33) Xubuntu (29) acfs (25) PHP (24) CentOS (21) Virtul Box (20) 編輯器 (17) 資料庫 (15) lubuntu (13) windows (13) CPP (12) ubuntu (12) chrome (11) laravel (10) Docker (9) Python (9) 5A88 (7) VMware (6) 資料結構 (6) Javascript (5) Node (5) Proxmox VE (5) 公告系統 (5) 程式積木 (5) Android Studio (4) ANN (3) OB2D2016x64 (3) Xoops (3) clonezilla (3) samba (3) 公文 (3) 其他 (3) 硬體 (3) API (2) Android (2) AppInvent2 (2) Html (2) Hyper-V (2) Nas (2) botnet (2) mbot (2) swift (2) wordpress (2) 樣板 (2) 防火牆 (2) AD的應用 (1) Ansible (1) Arduino (1) CSS (1) GitLab (1) HA Proxy (1) LegoEV3 (1) PowerShell (1) Scratch (1) VM (1) XenServer (1) kotlin (1) linuxmint (1) lxc (1)

2019年5月17日 星期五

Laravel 經常使用的套件與其使用方法

1.Laravel Collective 5 – HTML Form Builder for Laravel 5
 (1)安裝
$composer require laravelcollective/html
(2)編輯 config/app.php
$sudo pico config/app.php
(2.1)加入
'providers' => [ // ... Collective\Html\HtmlServiceProvider::class, // ... ], 'aliases' => [ // ... 'Form' => Collective\Html\FormFacade::class, 'Html' => Collective\Html\HtmlFacade::class, // ... ],

2.Laravel File Manager
(1)安裝
$composer require unisharp/laravel-filemanager:~1.8
(2)編輯 config/app.php
$sudo pico config/app.php
(2.1)加入
'providers' => [ // ...
UniSharp\LaravelFilemanager\LaravelFilemanagerServiceProvider::class,
Intervention\Image\ImageServiceProvider::class, // ... ], 'aliases' => [ // ... 'Image' => Intervention\Image\Facades\Image::class, // ... ],
(2.2)發布
$php artisan vendor:publish --tag=lfm_config
$php artisan vendor:publish --tag=lfm_public
(2.3)清除快取
$php artisan route:clear
$php artisan config:clear
(2.4)建立軟連結
$php artisan storage:link


3.Laravel Impersonate 1.3
(1)安裝
$composer require lab404/laravel-impersonate
(2)編輯 config/app.php
$sudo pico config/app.php
(2.1)加入
'providers' => [ // ...
Lab404\Impersonate\ImpersonateServiceProvider::class,
// ... ],

4.PHPOffice/PHPWord
(1)安裝
$composer require phpoffice/phpword





資料來源:
1.Laravel Collective 5 – HTML Form Builder for Laravel 5
2.Laravel File Manager
3.Laravel Impersonate 1.3
4.PHPOffice/PHPWord
5.unisharp/laravel-ckeditor
6.doctrine/dbal
7.Adldap2/Adldap2-Laravel

沒有留言:

張貼留言

在 Windows 10 x64 1909版,使用BAT快速安裝公文系統與人事服務網(自然人憑證)版

相關內容移往 https://skjhcreator.blogspot.com/2021/02/windows-10-x64-1909bat.html