Everyone on our team has added the word “symfony” to their autocorrect dictionaries – its actually part of our onboarding process. We’ve been building applications with Symfony since 1.0 and we plan on using it for the foreseeable future. In our experience, Symfony provides a perfect balance between a modern MVC framework, accessibility of development, and interoperability with other PHP code. Because of this, Symfony is our platform of choice for custom web applications, especially those with complicated, domain specific business logic. – Keep Reading
Latest Symfony Posts
- Symfony2: Creating optgroups with an Entity type
Last week, I was working on a Symfony2 app where I wanted to generate optgroup tags inside the select box of an Entity form type. After poking around, I ran across a StackOverflow answer explaining how to do it. Basically, it turns out what you have to do is manually return a “choices” array from… Continue reading ...
- Symfony2 and Impersonating Users, a Heads Up
Recently I was working on a project in which it admins were able to impersonate other users. It’s a fairly easy task to add to Symfony2, merely adding a switch_user reference to your firewall can make it possible, consult the Symfony docs for more on that. One thing I noticed was that every now and… Continue reading ...
- Symfony2 Cache Clear in Prod Fails? Using JMSDiExtraBundle?
Just a quick one out there as I saw a bunch of posts trying to get around the following error: The error of the occurs on the cache warmup part of the clearing. After looking around people referenced a bunch of different solutions, the most popular being to do a –no-warmup. However, we wanted to… Continue reading ...
- Symfony2: Configuring VichUploaderBundle and Gaufrette to use AmazonS3
Last week, I was looking to install the VichUploaderBundle into a Symfony2 project to automatically handle file uploads. As I was looking through the Vich documentation I ran across a chunk describing being able to use Gaufrette to skip the local filesystem and push files directly to Amazon S3. Since we’d eventually need to load… Continue reading ...
- Symfony2 and Ordering of Relations and Collection Form Fields
Recently I was working on a project where I kept finding myself ordering a relation over and over by other than something than ID order (ie id= 1,2,3,4,5). For example, I always wanted my relation to be ordered by the ‘name’ field, rather than the ID or order it was inserted into the DB. Let’s… Continue reading ...
