Skip to content

Jean-Pierre Lambelet

Il n'y a pas de questions bêtes

  • Programming tips
  • About JP
  • English
    • Français
Non classé
April 12, 2023 JP

Symfony – Doctrine – How to see where a sql query is executed

When using Doctrine, it is sometimes important to find where a SQL query is executed. To do this, simply activate

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
Read more
Non classé
April 14, 2022 JP

Install drupal/console on drupal 9

Currently the drupal/console module is not updated for drupal 9. To be able to use it you have to use

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
Read more
PHP
March 16, 2021 JP

PHP Spaceship Operator <=>

A little known but very useful operator, for example ordered an array list, is the spaceship operator or combined: <=>

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
Read more
PHPSymfony
March 11, 2021 JP

PHP style code: How to keep its code clean with PHP Coding Standards Fix

A really useful tool to keep its code clean and use the tool PHP Coding Standards Fix It allows us

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
Read more
PHPUnit
February 12, 2021 JP

PHPunit: How to test a controller which throws an error.

Let’s say we have a method in a controller like this: /** ‘@Route (path’/add’, name'”add,” methods */ public function add

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
Read more
OSX
January 4, 2021 JP

MacOsx install php7.4 and force its use

Start by installing homebrew /bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)” Next, use the following commands brew installs php@7.4 brew link –force

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
Read more
Docker
December 13, 2020 JP

Install xdebug3 with Phpstorm on MacOs

For this example, we will use the docker installation as well as symfony5 written in another articles: Article Docker, Syfmony5

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
Read more
DockerNginx
December 8, 2020 JP

Installation of HTTPS on a Symfony5, Docker and Nginx system

Before you start, it is necessary to have followed the steps in the previous article. Creating the files needed for

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
Read more
DockerPHP
November 30, 2020 JP

Start a new Symfony5 project with docker-compose, Nginx , Php 7.4 and MariaDB

This article will contain all the steps necessary to create a symfony5 project with docker-compose, nginx and php 7.4. File

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
Read more
Symfony4
July 20, 2020 JP

Symfony4 how to create a custom error page 404

You have to start by installing the necessary bundle: compose require symfony/twig-pack When done, create the template error404.html.twig templates/ Bundles/

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
Read more
  • ← Previous
  • Français
  • English

Recent Posts

  • Symfony – Doctrine – How to see where a sql query is executed
  • Install drupal/console on drupal 9
  • PHP Spaceship Operator <=>
Copyright © 2025 Jean-Pierre Lambelet. All rights reserved.
Theme: ColorMag by ThemeGrill. Powered by WordPress.
Jean-Pierre Lambelet
Proudly powered by WordPress Theme: ColorMag.