Symfony

Symfony is a PHP framework originally created by the Sensio Labs company in 2005. It is free software released under the MIT license. The actual major version is 5 and the last minor version is 5.0. One of the most interesting feature of this framework is that is has a predictable roadmap which is a huge edge when using in a professional context. It also provides a long term support version (LTS) which provides a minimum 3 years maintenance period. The actual LTS is 4.4.

PHP

Published on 2021-10-02 • Modified on 2021-10-02

This post is different from what I use to do. It will be a reference, a "cheat sheet" mentioning all available exceptions with PHP.

subject Read the full post


Symfony

Published on 2021-06-30 • Modified on 2021-06-30

In this post, we will see how to implement a user workflow with Symfony and EasyAdmin3. We will use the Symfony workflow component to handle the users' state and we will use EasyAdmin3 to modify this state with custom actions.

subject Read the full post


Symfony

Published on 2021-04-04 • Modified on 2021-04-04

In this post, we will see how to create an end-to-end test scenario using Symfony, Panther and Vue.js with a concrete example.

subject Read the full post


API Platform

Published on 2020-12-31 • Modified on 2020-12-31

In this post, we will see how to secure an API with JWT and API Platform. We will generate JWT security tokens thanks to the lexik/jwt-authentication-bundle, and we will take advantage of the new property security parameter introduced in API Platform 2.6.

subject Read the full post


Symfony

Published on 2020-12-03 • Modified on 2021-09-03

In this post, we will see how API Platform can help us to document and migrate manual endpoints in a Symfony application. We will see concrete examples related to this blog application.

subject Read the full post


Symfony

Published on 2020-10-15 • Modified on 2020-10-15

In this post, we will see how to use an expression for disabling the security of a Symfony administration in the dev environment. We won't use an IP based test like the documentation explains, but we will use the application's environment instead.

subject Read the full post


Symfony

Published on 2020-07-23 • Modified on 2020-07-23

In this post, we will see how to add a custom data collector in the Symfony debug bar. The debug bar, also called profiler, is one of the most useful components as it is of great help when developing. We will see a concrete case to help us improving the SEO of a website by displaying meta-information about the current page.

subject Read the full post


xdebug

Published on 2020-06-21 • Modified on 2020-10-18

In this post, we will see how to do step by step debugging with Xdebug, Symfony and PHPStorm. We will do a basic example where we will stop the execution of the Symfony code just before rendering a template to check the data passed to it.

subject Read the full post


Symfony

Published on 2020-05-15 • Modified on 2020-12-05

In this post, I will introduce you to Cw which is an acronym for "Cache Watcher". Cw is a small Go (Golang) program that watches your Symfony files and warms your cache when needed, so you don't have to wait when refreshing your browser.

subject Read the full post


Symfony

Published on 2020-03-28 • Modified on 2020-03-28

In this post, we will see how to set up a CI/CD workflow for a Symfony project thanks to the GitHub actions. It will cover from configuring PHP on the runner host to launching the unit and functional tests of the Symfony application.

subject Read the full post