Symfony
a SensioLabs product Download
Symfony
  • What is Symfony?
  • Documentation
  • Community
  • Showcase
  • Marketplace
  • Jobs
  • Business Solutions
  • News
  • Search
Download

Getting Started

  • Setup
  • Creating Pages
  • Routing
  • Controllers
  • Templates
  • Configuration

Guides

  • Assetic
  • Bundles
  • Console
  • Databases (Doctrine)
  • Debug
  • Deployment
  • Email
  • Event Dispatcher
  • Expressions
  • Forms
  • Front-end
  • HTTP Cache
  • Logging
  • Performance
  • Profiler
  • Request
  • Security
  • Serializer
  • Service Container
  • Sessions
  • Testing
  • Translation (i18n)
  • Validation

Components

Training

Certification

Master Symfony fundamentals

Be trained by SensioLabs experts (2 to 6 day sessions -- French or English).
training.sensiolabs.com

Discover the SensioLabs Support

Access to the SensioLabs Competency Center for an exclusive and tailor-made support on Symfony
sensiolabs.com
Blackfire Profiler Fire up your PHP Apps Performance PHP Project Quality Done Right
  1. Home
  2. Documentation
  3. Assetic

Assetic

3.1 version
  • 2.7
  • 2.8
  • 3.0
  • 3.2 / master
edit this page

Assetic¶

Caution

Starting from Symfony 2.8, Assetic is no longer included by default in the Symfony Standard Edition. Refer to this article to learn how to install and enable Assetic in your Symfony application.

  • How to Apply an Assetic Filter to a specific File Extension
  • How to Use Assetic for Asset Management
  • How to Use Assetic for Image Optimization with Twig Functions
  • Combining, Compiling and Minimizing Web Assets with PHP Libraries
  • How to Minify CSS/JS Files (Using UglifyJS and UglifyCSS)
  • How to Minify JavaScripts and Stylesheets with YUI Compressor
  • « Using Parameters within a Dependency Injection Class
  • How to Apply an Assetic Filter to a specific File Extension »

This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.

News from the Symfony blog

  • A week of symfony #504 (22-28 August 2016) August 28, 2016

  • SymfonyLive London 2016 is in 3 weeks! August 25, 2016

  • A week of symfony #503 (15-21 August 2016) August 21, 2016

Visit The Symfony Blog

In the news

The Symfony Certification by SensioLabs

Symfony 3 Certification now available in 4,000 centers around the world!

GET CERTIFIED

Upcoming training sessions

  • Getting Started with Symfony 3
    Cologne - 2016-09-12
  • Web Development with Symfony 3
    Cologne - 2016-09-12
  • Symfony 3 Certification Coaching
    Paris - 2016-09-12
View all sessions
Symfony is a trademark of Fabien Potencier. All rights reserved.
  • What is Symfony?
    • Symfony at a Glance
    • Symfony Components
    • Projects using Symfony
    • Case Studies
    • Symfony Roadmap
    • Security Policy
    • Logo & Screenshots
    • Trademark & Licenses
    • symfony1 Legacy
  • Learn Symfony
    • Book
    • Cookbook
    • Components
    • Best Practices
    • Bundles
    • Reference
    • Training
    • Certification
    • Community
      • SensioLabs Connect
      • Support
      • How to be Involved
      • Code Stats
      • Downloads Stats
      • Contributors
    • Blog
      • A week of symfony
      • Case studies
      • Community
      • Documentation
      • Living on the edge
      • Meet the Bundle
      • Releases
      • Security Advisories
      • Symfony CMF
      • Community Events
  • Services
    • Our services
    • Train developers
    • Start a project
    • Manage your project quality
    • Improve your project performance
    • Struggling with your project
    • Support
    • Contact us
  • About
    • SensioLabs
    • Contributors
    • Jobs
    • Support