The Happyr developer blog is maintained by 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


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


1 minute read

Hack introduced a concept called Shapes. It is an object like the associative PHP array but with predefined array keys. If you are familiar with C you might ...

Why collections?

6 minute read

Hack has introduced some new object to replace the PHP array. These collections are Vector, Set, Map, Pair and some more. If you are familiar with Java or C#...

Hack Lambda expressions

2 minute read

Hack is all about making it easier for the developer to write good code. There has been some improvement of the PHP anonymous function or closer as they also...

Hack constructors

1 minute read

Hack got a lot of features and improvements of different kinds. It comes with some syntactic sugar. The constructor is a subject for a syntactic sugar improv...

Hack modes

3 minute read

When you are using Hack you are running in one of 3 different modes. The modes are telling the type checker how strict (or forgiving) it should be when check...

Using generics in Hack

3 minute read

Hack has introduced some new collection objects that will be a replacement for the array(). But what if you feel that something is missing? What if you have ...

Method declarations in Hack

4 minute read

This post will go more in details of my last post about types. After reading that last post you know that a method declaration in Hack will look like this:

Hack types

4 minute read

The biggest difference between Hack and PHP is that PHP is using dynamic typing and Hack is statically typed. Java and C# is other languages that is statical...