Download the PHP package johnkrovitch/sam-bundle without Composer
On this page you can find all versions of the php package johnkrovitch/sam-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download johnkrovitch/sam-bundle
More information about johnkrovitch/sam-bundle
Files in johnkrovitch/sam-bundle
Package sam-bundle
Short Description Bundle to integrate Sam library to Symfony
License MIT
Informations about the package sam-bundle
SamBundle
SamBundle for Symfony. Add a command to build the assets using configuration in app/config. SamBundle use the Sam library (stand for Simple Asset Manager) and will allow to configure how your assets will be build, minified and merged.
Introduction
SamBundle will read a yaml configuration file. This file should contains a list of tasks. Each task is a list of sources files (js, css, scss...), a list of filters applied to those files, and a list a destination file.
Installation
Configuration
Add your configuration in config.yml
Usage
After configuring your assets, you can execute the tasks with the following command :
During development, you can use the watch command which monitor the configured assets and rebuild automatically the assets.
All versions of sam-bundle with dependencies
ext-pcntl Version *
johnkrovitch/sam Version ^0.1
symfony/dependency-injection Version ^3.0||^4.0
symfony/yaml Version ^3.0||^4.0
symfony/console Version ^3.0||^4.0
symfony/config Version ^3.0||^4.0
symfony/http-kernel Version ^3.0||^4.0