Category: PHP

Jour 2 du PHP Tour 2016. Cet article suit le retour sur la première journée.

L’équipe de Mapado était présente au PHP Tour à Clermont-Ferrand.

Update for Symfony 3.x: See this comment to see the changes needed.   Symfony forms are quite horrible when you want to do custom things (like javascript, autocomplete, and collections or both 🙂 ). There are some solutions available on the internet, but they often “hack” the symfony form using DataTransformers and text fields. I think […]

Today, I was confronted to a tricky problem: identify two different types of user, using the FOSUserBundle of Symfony.

Gustavo Dudamel

I love composer. It is really a great tool for managing dependencies. But as I work with some uninitiated people, they never know what to do : composer install or composer update ? I will try to explain what each command does and when to use it.

city-search

At Mapado, as you may know, we want to offer the possibility to search “things to do close to you”. And by close we mean culturally, and geographically too. About this second point, we did not find a better solution than an auto-complete search field whit a city list in a dropdown (as you can […]

After testing cropping images using entropy, we now try to go deeper in Image crop automation. Those are nice feet One of our worst case scenarios emerged from pictures like that this one : If we only use the “entropy” crop, the render is as following : The bottom of this picture seems to be […]