承接 axis/axis-assetic-plugin 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

axis/axis-assetic-plugin

Composer 安装命令:

composer require axis/axis-assetic-plugin

包简介

symfony 1.x plugin that integrates Assetic into symfony

README 文档

README

This plugin that integrates Assetic into symfony

Installation

Use Composer. Just add this dependency to your composer.json:

  "require": {
    "axis/axis-assetic-plugin": "dev-master"
  }

Optional vendor libraries

CssMin

To use CssMin minifier add natxet/CssMin dependency to your project's composer.json.

LessPHP

To use LessPHP compiler add leafo/lessphp dependency to your project's composer.json.

JavascriptPacker

To use Javascript packer include Dean Edwards 's Packer library into your project.

JSMin

To use JSMin minifier add nick4fake/jsmin dependency to your project's composer.json.

JSMinPlus

To use JSMinPlus minifier include Tino Zijdel's JSMinPlus class into your project.

PhpCssEmbed

To use PhpCssEmbed filter add ptachoire/cssembed dependency to your project's composer.json.

ScssPhp

To use ScssPhp filter add leafo/scssphp dependency to your project's composer.json.

Usage

You can use all Assetic functionality in your project. Also plugin defines all standard Assetic filters using factories.yml and additionally custom FilterManager that aware how to retrieve all that filters.

$filterManager = sfContext::getInstance()->get('assetic.filter_manager');
$filterManager->get('css_min');

Note: AxisAsseticPlugin uses factories.yml configuration supported by AxisServiceContainerPlugin

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2012-12-07