代码拉取完成,页面将自动刷新
DEMO: Laravel File Manager
Vue.js Frontend: alexusmai/vue-laravel-file-manager
composer require laravel/helpers
Now you can create your own config repositories, it will allow to change your configuration dynamically.
How to do it:
Create new class - example - TestConfigRepository
namespace App\Http;
use Alexusmai\LaravelFileManager\Services\ConfigService\ConfigRepository;
class TestConfigRepository implements ConfigRepository
{
// implement all methods from interface
}
For example see src/Services/ConfigService/DefaultConfigRepository.php
Update pre-compiled css and js files and config file - file-manager.php
// config
php artisan vendor:publish --tag=fm-config --force
// js, css
php artisan vendor:publish --tag=fm-assets --force
If you use the ACL, now you don't need to add the acl middleware to configuration.
//======= In old versions ==========
'acl' => true,
// add acl middleware to your array
'middleware' => ['web', 'fm-acl'],
//======= In a new version =========
'acl' => true,
'middleware' => ['web'],
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。