Articles for Symfony
Load Previous PostsTransform your Symfony forms, make it nice, elegant and modern with Material Design in 5 minutes!
Nicolas Boutin2 min read
You want to make a nice, elegant and modern form using the new design standards of Material Design, I’ll try to give you a 5-minutes way to do so with Materialize, a JQuery library, based on these guidelines. Get Started Get the…
Continue reading →What is the SVG file format and why should I care? SVG stands for Scalable Vector Graphics.It is a file format for vectorial images described using XML tags. Since it is vectorial, it presents a few advantages:it is lightweight you can zoom it…
Continue reading →Creating a search engine from scratch may be tricky and lengthy. That is why, when I wanted to implement one in my Symfony app, I chose to use Algolia through its SaaS model. Thanks to their Symfony bundle, I managed to…
Continue reading →Stop Wasting your Time Restarting Services Manually After Deployment: Visudo It!
Paul Jehanno2 min read
© xkcd Here is how I managed to save time on my PHP project by enabling restarting services automatically during deployment. Basic capistrano configuration When I work on PHP projects I deploy using Capistrano, a tool that enables scripting of deployment tasks. During my…
Continue reading →How to enforce and hide filters on a Sonata’s list view Sonata provides you with a robust and easy to implement interface administration for your Symfony projects. We have been using and loving it on my projects for 19 weeks now. Every…
Continue reading →Warning: this article concerns php5 version. If your PHP version is different, replace php5 by php/X.Y in paths (X.Y is your PHP version) and phpX.Y in command. For example :sudo apt-get install php5-xdebug becomes sudo apt-get install php5.6-xdebug /etc/php5/mods-available/xdebug.ini becomes /etc/php/5.6/mods-available/xdebug.iniI love…
Continue reading →Building a custom authentication system for Symfony can get atrocious.You can get a glimpse of that here.You have to deal with multiple classes, connect them to each other, and hope for the best.It is hard to customize and never fun…
Continue reading →XLIFF? XLIFF is one of the 3 different formats you can use for translation in Symfony.It is the recommended format because of its standard use by professional translators. <trans-unit id="42"> <source>french_food</source> <target>Omelette du fromage</target> </trans-unit>In Symfony, ids…
Continue reading →Symfony 3.0 is out!
Albéric Trancart4 min read
A new major version is always exciting: when it comes to one of our favorite frameworks like Symfony, it’s Christmas come early for developers. But is is also worrisome. Will my application break? Will I have to rewrite half of…
Continue reading →Each time you use form collections in Symfony, you need to write some JavaScript. The cookbook If you don't know what form collections are you won't be interested in this article now. However you can read the cookbook out of curiosity and come back read this article…
Continue reading →