dev-master
9999999-dev https://github.com/djordje/li3_filemanagerFile management (file browser) for Lithium PHP framework
BSD-3-Clause
The Requires
- php >=5.3
- composer/installers dev-master
file php manage manager browser lithium li3
Wallogit.com
2017 © Pedro Peláez
File management (file browser) for Lithium PHP framework
[
]
(http://stillmaintained.com/djordje/li3_filemanager), (*1)
Checkout the code to either of your library directories:, (*2)
cd libraries git clone git://github.com/djordje/li3_filemanager.git
Include the library in yor /app/config/bootstrap/libraries.php, (*3)
Libraries::add('li3_filemanager');
Require session.php in your app bootstrap file, (*4)
Your application shoud have:, (*5)
jQuery, Twitter Bootstrap (CSS and JS)
For building JS (li3_filemanager.min.js) you need:, (*6)
node with this modules: grunt, uglify-js, jshint
Go to your application URL /fm By default you are browsing app/webroot/img
Filesystem:
Location::add('default', array(
'adapter' => 'FileSystem',
'location' => LITHIUM_APP_PATH.'/webroot/files'
));
Filesystem with file URL:
Location::add('default', array(
'adapter' => 'Filesystem',
'location' => LITHIUM_APP_PATH.'/webroot/files'
'url' => 'http://example.com/files/'
));
FTP:
Locations::add('default', array(
'adapter' => 'FTP',
'host' => 'ftp.yourdomain.com',
'username' => 'username@yourdomain.com',
'password' => 'yourPassword'
));
FileSystem adapter have location setup for testing FTP adapter can be tested if you add FTP location config
File management (file browser) for Lithium PHP framework
BSD-3-Clause
file php manage manager browser lithium li3