terminal42/contao-fineuploader
Composer 安装命令:
composer require terminal42/contao-fineuploader
包简介
FineUploader bundle for Contao Open Source CMS
README 文档
README
This extension integrates the Fine Uploader by Widen with Contao Open Source CMS.
Important
Please be aware that the FineUploader script is not being developed anymore, we are therefore not planning to add new features or continue to support this extension.
Installation
Choose the installation method that matches your workflow!
Installation via Contao Manager
Search for terminal42/contao-fineuploader in the Contao Manager and add it
to your installation. Apply changes to update the packages.
Manual installation
Add a composer dependency for this bundle. Therefore, change in the project root and run the following:
composer require terminal42/fineuploader
Depending on your environment, the command can differ, i.e. starting with php composer.phar … if you do not have
composer installed globally.
Usage
Define the form field as follows:
$GLOBALS['TL_DCA']['tl_table']['fields']['myupload'] = [ 'label' => &$GLOBALS['TL_LANG']['tl_table']['myupload'], 'exclude' => true, 'inputType' => 'fineUploader', 'eval' => [ 'multiple' => true, // Allow multiple files to be uploaded 'storeFile' => true, // Store the files on the server 'uploadFolder' => 'files/uploads', // Upload target directory (can also be a Contao file system UUID) 'useHomeDir' => true, // Upload to the current logged in member home directory (overrides "uploadFolder", can also be a Contao file system UUID) 'uploaderLimit' => 4, // Maximum files that can be uploaded 'maxConnections' => 3 // Maximum allowable concurrent requests 'addToDbafs' => true, // Add files to the database assisted file system 'doNotOverwrite' => true, // Do not overwrite files in destination folder 'debug' => true // Enable the debug mode (always true in development environment) // Validation 'extensions' => 'pdf,zip', // Allowed extension types 'minlength' => 1048000, // Minimum file size 'maxlength' => 2048000, // Maximum file size (ignored if you use chunking!) 'minWidth' => 400, // Minimum image width 'maxWidth' => 800, // Maximum image width 'minHeight' => 300, // Minimum image height 'maxHeight' => 600, // Maximum image height // Chunking 'chunking' => true, // Enable chunking 'chunkSize' => 2000000, // Chunk size in bytes 'concurrent' => true // Allow multiple chunks to be uploaded simultaneously per file // Rendering 'imageSize' => [160, 120, 'center_center'], // Thumbnail image size that is generated upon image upload 'isGallery' => true, // Display the widget as image gallery 'isDownloads' => true, // Display the widget as file list 'sortable' => true, // Make the uploaded files sortable 'uploadButtonTitle' => 'Upload', // Custom upload button title // Upload the files directly to the destination folder. If not set, then the files are first uploaded // to the temporary folder and moved to the destination folder only when the form is submitted 'directUpload' => true, ], 'sql' => "blob NULL" ];
License
This bundle is released under the MIT license
terminal42/contao-fineuploader 适用场景与选型建议
terminal42/contao-fineuploader 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 55.84k 次下载、GitHub Stars 达 20, 最近一次更新时间为 2014 年 08 月 18 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「uploader」 「contao」 「FineUploader」 「chunking」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 terminal42/contao-fineuploader 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 terminal42/contao-fineuploader 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 terminal42/contao-fineuploader 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
This Symfony bundle provides a server implementation for handling single and multiple file uploads using either FineUploader, jQuery File Uploader, YUI3 Uploader, Uploadify, FancyUpload, MooUpload, Plupload or Dropzone. Features include chunked uploads, orphanages, Gaufrette and Flysystem support.
An HTML5 upload field for the CMS and frontend forms.
Contao Open Source CMS
Fine Uploader extension for Yii2
Diese Contao 4 Erweiterung stellt Google reCAPTCHA V2 in Form eines neuen Formularfeldes im Formulargenerator bereit. This extension provides Google reCAPTCHA V2 in the form of a new form field in the form generator of Contao Open Source CMS.
Smart file uploader for Laravel
统计信息
- 总下载量: 55.84k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 23
- 点击次数: 23
- 依赖项目数: 5
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2014-08-18