定制 alphalemon/al-valum-uploader-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

alphalemon/al-valum-uploader-bundle

Composer 安装命令:

composer require alphalemon/al-valum-uploader-bundle

包简介

AlValumUploaderBundle adds upload capabilities to any symfony project. This bundle encapsulates the valum uploader javascript tool

README 文档

README

#AlValumUploadeBundle The AlValumUploadeBundle encapsulates the ajax valum uploader javascript to manage the files uploading through a simple ajax interface.

Get the AlValumUploadeBundle

Clone this bundle in the vendor/bundles/AlphaLemon directory:

git clone git://github.com/alphalemon/AlValumUploaderBundle.git vendor/bundles/AlphaLemon/AlValumUploaderBundle

Configure the AlValumUploadeBundle

Open the AppKernel configuration file and add the bundle to the registerBundles() method, for the dev namespace:

public function registerBundles()
{
    $bundles = array(
        ...
        if (in_array($this->getEnvironment(), array('dev', 'test'))) {
            
            $bundles[] = new AlphaLemon\AlValumUploaderBundle\AlValumUploaderBundle();
        }
    )
}

Register the AlValumUploaderBundle namespaces in app/autoload.php:

$loader->registerNamespaces(array(
    ...
    'AlphaLemon'                     => __DIR__.'/../vendor/bundles',
));

Configure the assets compressor

The uploader requires the yuicompressor.jar to be installed, so download it, open the config.yml and configure it as follows:

assetic:
    ...
    filters:
        ...
        yui_js:
            jar: %kernel.root_dir%/Resources/java/yuicompressor.jar
        yui_css:
             jar: %kernel.root_dir%/Resources/java/yuicompressor.jar

Install the assets as follows:

app/console assets:install web --symlink

Using the uploader

This part is under construction. Please see the ThemeEngineBundle ThemesController's showAction method for a working example

Info and help

To get extra information or help you may write an email to info [at] alphalemon [DoT] com

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2012-01-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固