edsdk/flmngr-server-php 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

edsdk/flmngr-server-php

Composer 安装命令:

composer require edsdk/flmngr-server-php

包简介

Flmngr file manager PHP backend

README 文档

README

Flmngr file manager logo

Flmngr PHP backend

Server-side part of the Flmngr file manager for PHP

Flmngr file manager screenshot

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 我们能提供哪些服务?
定制开发 / 二次开发

基于 edsdk/flmngr-server-php 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 293.9k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 20
  • 点击次数: 27
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 19
  • Watchers: 1
  • Forks: 12
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2019-05-03