Posts in "Symfony"

How to Deploy a PHP Symfony Application on AWS Lambda Using Bref?

Serverless is a trendy cloud-computing execution model aiming to release developers from taking care of server management and to bill on demand for the used resources. Developers just have to provide their application’s code while the cloud provider is in charge of running it in response to events. Initially confined to machine learning tasks, expert… Continue reading

Configure Xdebug and PhpStorm for a Vagrant project in 5 minutes

Warning: this article concerns php5 version. If your PHP version is different, replace php5 by php/X.Y in paths (X.Y is your PHP version) and phpX.Y in command. For example : sudo apt-get install php5-xdebug becomes sudo apt-get install php5.6-xdebug /etc/php5/mods-available/xdebug.ini becomes /etc/php/5.6/mods-available/xdebug.ini I love debuggers. They allow me to understand deep down in my code why… Continue reading

JavaScript code to deal with Symfony form collections

Each time you use form collections in Symfony, you need to write some JavaScript. The cookbook If you don’t know what form collections are you won’t be interested in this article now. However you can read the cookbook out of curiosity and come back read this article later. Doing form collections with Symfony can be a tedious task because Symfony doesn’t… Continue reading