2017 © Pedro Peláez
 

symfony-bundle assetversionbundle

This bundle is used by our team to versionnize assets

image

alpixel/assetversionbundle

This bundle is used by our team to versionnize assets

  • Tuesday, June 13, 2017
  • by gouaille
  • Repository
  • 2 Watchers
  • 0 Stars
  • 3,886 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 1 % Grown

The README.md

AlpixelAssetVersionBundle

Latest Stable Version, (*1)

Since Symfony 3.3, you should use http://symfony.com/blog/new-in-symfony-3-3-manifest-based-asset-versioning, (*2)

Installation

  • Install the package
composer require 'alpixel/assetversionbundle'
  • Update AppKernel.php

<?php // app/AppKernel.php // ... class AppKernel extends Kernel { public function registerBundles() { $bundles = array( // ... new Alpixel\Bundle\AssetVersionBundle\AlpixelAssetVersionBundle(), ); // ... } // ... }

Configuration

Use gulp and gulp-rev or an other service to generate your assets revised files then call your asset in your template file using our twig extension :, (*3)

<link rel="stylesheet" type="text/css" media="screen" href="{{ asset('css/vendor.min.css'|asset_version) }}" />

The Versions

13/06 2017

dev-master

9999999-dev https://www.alpixel.fr

This bundle is used by our team to versionnize assets

  Sources   Download

MIT

The Requires

 

by ALPIXEL

symfony2 bundle symfony alpixel assets management

25/08 2016

v0.1.1

0.1.1.0 https://www.alpixel.fr

This bundle is used by our team to versionnize assets

  Sources   Download

MIT

The Requires

 

by ALPIXEL

symfony2 bundle symfony alpixel assets management

11/04 2016

v0.1

0.1.0.0 https://www.alpixel.fr

This bundle is used by our team to versionnize assets

  Sources   Download

MIT

The Requires

 

by ALPIXEL

symfony2 bundle symfony alpixel assets management