edsdk/flmngr-server-php
Composer 安装命令:
composer require edsdk/flmngr-server-php
包简介
Flmngr file manager PHP backend
README 文档
README
Flmngr PHP backend
Server-side part of the Flmngr file manager for PHP
Flmngr file manager is used to upload and manage files and images. Can be a standalone file manager (React/Angular/etc. or custom JavaScript or TypeScript integrations) or work together with TinyMCE, CKEditor 4, CKEditor 5, N1ED, or any other JS components.
This package is a server-side implementation needed to support requests from the file manager dialog when using PHP on the server. It will handle some single URL and let the file manager receive file lists and send file commands to the server.
Install
Install the Flmngr composer package using the console command in the project folder:
composer require edsdk/flmngr-server-php
Visit the page with a detailed manual on how to install it.
If you prefer not to use Composer, there is a no-Composer PHP script for such cases.
Usage
To handle some URL you want in your web application, create a file which will be the entry point for all requests, e.g. flmngr.php:
<?php \EdSDK\FlmngrServer\FlmngrServer::flmngrRequest( array( 'dirFiles' => '/var/www/files', ) );
The file flmngr.php should be placed on the same level as the vendor directory. It can be placed in some other location as well, but do not forget to change the path in the require call.
Do not forget to create the directories you specify and set the correct permissions (read and write) to allow access to them.
If you want to allow access to uploaded files (which is usually the case) please do not forget to open access to the files directory.
Also, please refer to the example of using Flmngr with ImgPen for editing and uploading images.
Debugging
In case of any problem, we have a very detailed Question-Answer debug manual.
See Also
- Flmngr - Flmngr file manager.
- Install Flmngr PHP backend - the detailed manual on how to install PHP file manager on the server.
- Flmngr codepens - collection of JS samples on CodePen.
- Flmngr API - API of Flmngr client.
- N1ED - a website content builder with Flmngr file manager aboard, also works as a plugin for CKEditor 4, TinyMCE, which has modules for different CMSs.
License
GNU Lesser General Public License v3; see LICENSE.txt
edsdk/flmngr-server-php 适用场景与选型建议
edsdk/flmngr-server-php 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 293.9k 次下载、GitHub Stars 达 19, 最近一次更新时间为 2019 年 05 月 03 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「image」 「file」 「manager」 「upload」 「server」 「finder」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 edsdk/flmngr-server-php 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 edsdk/flmngr-server-php 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 edsdk/flmngr-server-php 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
The file manager intended for using Laravel with CKEditor / TinyMCE / Colorbox
Yii2 LightBox image galary widget uses Lightbox v2.10.0 by Lokesh Dhakar
The Yii2 extension uses jQuery jquery.carousel-1.1.min.js and makes image carousel from php array of structure defined.
The Yii2 extension uses jQuery PrettyPhoto and OwlCarousel js and makes image galary from php array of structure defined.
Laravel Media Popup to upload/view the files
PMVC Plugin for File information
统计信息
- 总下载量: 293.9k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 20
- 点击次数: 27
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2019-05-03