The Happyr developer blog is maintained by Happyr.com. We share our views, our findings and things we think are interesting.

Open source

Open source

We are a strong believer in open source. We use it a every day and are happy to contribute back to the community.

To github

Symfony

The Symfony community has long been the force that drives PHP developer to more modern and stable applications. Most things we do at Happyr is related to this awesome framework.

Recent Posts

Generate URLs in Symfony commands

3 minute read

It has been great many years since Symfony 2.0 was released. 2.0 did not have as many great features as Symfony 4.0, but it was flexible and you could still...

What is efficiency?

2 minute read

The answer may be trivial. Efficiency is when you work as hard as you can and as quick as possible to complete a task. The answer could also be a bit more co...

Always use caret instead of tilde

1 minute read

I’ve been noticing people having trouble understanding the differences between the caret (“^”) and the tilde (“~”) operator in the composer.json file. Compos...

How Happyr work with Symfony translations

11 minute read

You probably follow the Symfony best practices when you develop web applications. That is great but there is no much information about translation. The offic...

Do not worry about code style fixes

1 minute read

Earlier this year I installed Fabien’s php-cs-fixer on my continuous integration server. So at each build I checked if there were any code style errors, if s...

User as a service in Symfony2

4 minute read

To get the current logged in user in Symfony2 is kind of complicated. You have to do a lot for such simple task. First you have to get the TokenStorage to re...