The Happyr developer blog is maintained by Happyr.com. We share our views, our findings and things we think are interesting.
We are a strong believer in open source. We use it a every day and are happy to contribute back to the community.
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.
User as a service in Symfony2
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...
Open files in PHPStorm from you Symfony application
If you want to open files in PHPStorm8 directly from the Symfony debug toolbar there is a neat trick you can use. This is very helpful when you quickly want ...
Coveralls with Github and Travis
The other day when I was making a PR to a Github project I got a comment like this:
Continuous integration with Symfony2
There are many great articles that tells you why you should use continuous integration i.e. the one by Martin Fowler and the book This is Lean by Niklas Modi...
Choose owning side in OneToOne relation
Many times I’ve come got to a situation where I have a unusual high query count. When I inspect the queries in the Symfony profiler I can see that Doctrine i...
Hack: Asynchronous programming
Hack has introduced asynchronous programming. This is really great but it is not really documented at the moment. Not at all actually… I’ve done some experim...
A tuple is very similar to a PHP array and a shape. The key feature of tuples is that they are immutable. You may not change the length or the types of the e...