2017 © Pedro Peláez
 

lithium-library li3_filemanager

File management (file browser) for Lithium PHP framework

image

djordje/li3_filemanager

File management (file browser) for Lithium PHP framework

  • Sunday, March 24, 2013
  • by djordje
  • Repository
  • 4 Watchers
  • 8 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

[project status] (http://stillmaintained.com/djordje/li3_filemanager), (*1)

File manager plugin for the Lithium framework

Instalation

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)

Dependencies

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

Usage

Go to your application URL /fm
By default you are browsing app/webroot/img

Add location

    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'
    ));

Testing

FileSystem adapter have location setup for testing
FTP adapter can be tested if you add FTP location config

The Versions

24/03 2013

dev-master

9999999-dev https://github.com/djordje/li3_filemanager

File management (file browser) for Lithium PHP framework

  Sources   Download

BSD-3-Clause

The Requires

 

file php manage manager browser lithium li3