development-x/media-bundle 问题修复 & 功能扩展

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

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

development-x/media-bundle

Composer 安装命令:

composer require development-x/media-bundle

包简介

Symfony 3 Media Bundle Manager

README 文档

README

The MediaBundle is media library for managing entity files. Use it on your risk.

SensioLabs Insight Travis CI Scrutinizer CI
SensioLabsInsight Build Status Scrutinizer Code Quality Code Coverage Build Status

Latest Stable Version Total Downloads Latest Unstable Version License composer.lock

Features

  • save uploaded file in to database via DoctrineORM
  • all settings, templates and translations is highly customized

Installation

Step1: Download bundle

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.

$ composer require development-x/media-bundle "~1"

Step2: Enable bundle

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new MediaBundle\MediaBundle(),
        );

        // ...
    }

    // ...
}

Step3: Edit configuration in config.yml

twig:
    form_themes:
        - 'MediaBundle:Form:fields.html.twig'

Step4: Install bootstrap-fileinput js plugin

Plugin installation could be found here. When you done with install, just load js * css files

<link type="text/css" href="{{ asset('library/bootstrap-fileinput/css/fileinput.min.css') }}" rel="stylesheet" media="all" />
<script type="text/javascript" src="{{ asset('library/bootstrap-fileinput/js/fileinput.min.js') }}"></script>

More configuration

Contributing

However, if you are interested and want to send a bug fix, new functionality or better realization, just send a pull request :)

License

This bundle is under the MIT license. See the complete license in the bundle

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-04-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固