(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,
// ... ],
(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
沒有留言:
張貼留言