franzwilding/united-one-upload-bundle 问题修复 & 功能扩展

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

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

franzwilding/united-one-upload-bundle

Composer 安装命令:

composer require franzwilding/united-one-upload-bundle

包简介

Symfony file upload type for United CMS

README 文档

README

File & Image upload form type for united cms. Files can be uploaded to the webserver or any other third party service. You can simply create your own custom upload handler to upload to any API.

Default implementations:

  • simple file upload
  • cloudinary file (image & raw) upload

Upload field type

Installation

Install symfony

composer create-project symfony/framework-standard-edition

Install UnitedOneUploadBundle

composer require franzwilding/united-one-upload-bundle

Register United bundles

/* 
 * Optional, if you want to use the Upload bundle with United CMS 
 * new United\CoreBundle\UnitedCoreBundle(),
 * new United\OneBundle\UnitedOneBundle(), 
 */

new United\OneUploadBundle\UnitedOneUploadBundle(), 

Add UnitedOneUploadBundle fields as twig form resource and add the register it for assetic.

# Twig Configuration
twig:
    form:
      resources:
          - UnitedOneUploadBundle:Form:fields.html.twig

# Assetic Configuration
assetic:
    bundles:        [ 'UnitedOneUploadBundle' ]

Use the new form types:

united_file, united_cloudinary_file

Check out the Getting started tutorial (Comming soon)

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-04-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固