定制 djordje/li3_filemanager 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

djordje/li3_filemanager

Composer 安装命令:

composer require djordje/li3_filemanager

包简介

File management (file browser) for Lithium PHP framework

README 文档

README

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

File manager plugin for the Lithium framework

Instalation

Checkout the code to either of your library directories:

cd libraries
git clone git://github.com/djordje/li3_filemanager.git

Include the library in yor /app/config/bootstrap/libraries.php

Libraries::add('li3_filemanager');

Require session.php in your app bootstrap file

Dependencies

Your application shoud have:

jQuery, Twitter Bootstrap (CSS and JS)

For building JS (li3_filemanager.min.js) you need:

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

统计信息

  • 总下载量: 8
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 9
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 9
  • Watchers: 4
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2012-12-09