Laravel Filemanager

http://laravel.com/

http://kejyun.github.io/Laravel-4-Docum ... roduction/
回覆文章
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

Laravel Filemanager

文章 yehlu »

https://github.com/UniSharp/laravel-filemanager

Install package

composer require unisharp/laravel-filemanager
Edit config/app.php :

Add service providers

Unisharp\Laravelfilemanager\LaravelFilemanagerServiceProvider::class,
Intervention\Image\ImageServiceProvider::class,
And add class aliases

'Image' => Intervention\Image\Facades\Image::class,
Code above is for Laravel 5.1. In Laravel 5.0 should leave only quoted class names.

Publish the package's config and assets :

php artisan vendor:publish --tag=lfm_config
php artisan vendor:publish --tag=lfm_public
Ensure that the files & images directories (in config/lfm.php) are writable by your web server.
回覆文章

回到「laravel」