News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

ScreenFony.com:
Work with bootstrap, assetic and less
September 25, 2012 @ 10:36:20

On the ScreenFony.com site there's a quick tutorial showing you how to get started with Symfony2+Twitter Bootstrap+Assetic+LESS in a basic application. Assetic is a library that helps with asset management and use and LESS is a CSS pre-processor that makes it simpler to work with your site's CSS.

Bootstrap is a well known and powerful front-end framework for fast prototyping, it uses LESS and it can be easily integrate in your Symfony applications with the help of assetic. In this post I'll show how to: Install bootstrap in you Symfony application, load it using assetic, and compile bootstrap LESS files with lessphp.

Using Composer, creating a new Symfony2 project is just a single command away. The just update the "composer.json" and run the install to get the other needed libraries (LESS and the Twitter Bootstrap). They help you set up some Assetic filters for LESS and provide a simple page to output the Bootstrap in your header.

0 comments voice your opinion now!
symfony2 assetic twitter bootstrap less css tutorial composer


blog comments powered by Disqus

Similar Posts

IBM developerWorks: Developing PHP the Ajax way, Part 1 - Getting started

IBM developerWorks: Process and integrate Google Notebook data with PHP

Andrea Giammarchi's Blog: PHP Serialization And Recursion Demystified

PHPBuilder.com: The PHP Fat-Free Framework: Slim Down Your PHP Development

Fabien Potencier's Blog: Symfony Service Container: Using XML or YAML to describe Services


Community Events

Don't see your event here?
Let us know!


example library php7 laravel5 opinion voicesoftheelephpant video series introduction language interview laravel framework list version community unittest release podcast api

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework