Package Data | |
---|---|
Maintainer Username: | alexusmai |
Maintainer Contact: | alexusmai@gmail.com (Aleksandr Manekin) |
Package Create Date: | 2018-04-21 |
Package Last Update: | 2024-08-03 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-11 15:19:42 |
Package Statistics | |
---|---|
Total Downloads: | 543,662 |
Monthly Downloads: | 11,696 |
Daily Downloads: | 426 |
Total Stars: | 1,137 |
Total Watchers: | 30 |
Total Forks: | 292 |
Total Open Issues: | 152 |
DEMO: Laravel File Manager
Vue.js Frontend: alexusmai/vue-laravel-file-manager
In new version you can set default disk and default path
You have two variants for how to do it:
/**
* Default path for left manager
* null - root directory
*/
'leftPath' => 'directory/sub-directory',
/**
* Default path for right manager
* null - root directory
*/
'rightPath' => null,
2 Or you can add this params in URL
http://site.name/?leftDisk=diskName&leftPath=directory
http://site.name/?leftDisk=diskName&leftPath=directory2&rightDisk=diskName2&rightPath=images
leftDisk and leftPath is default for the file manager windows configuration - 1,2
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
You can update the config file manually - add new params:
/**
* Default path for left manager
* null - root directory
*/
'leftPath' => null,
/**
* Default path for right manager
* null - root directory
*/
'rightPath' => null,