Skip to content

Jean-Pierre Lambelet

Il n'y a pas de questions bêtes

  • Programming tips
  • About JP
  • English
    • Français
Non classé 

Install drupal/console on drupal 9

April 14, 2022 JP 0 Comments

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

Share this:

  • Twitter
  • Facebook
Read more
PHP 

PHP Spaceship Operator <=>

March 16, 2021March 16, 2021 JP 0 Comments

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

Share this:

  • Twitter
  • Facebook
Read more
PHP Symfony 

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

March 11, 2021March 11, 2021 JP 0 Comments

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

Share this:

  • Twitter
  • Facebook
Read more
PHPUnit 

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

February 12, 2021February 12, 2021 JP 0 Comments

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

Share this:

  • Twitter
  • Facebook
Read more
OSX 

MacOsx install php7.4 and force its use

January 4, 2021January 4, 2021 JP 0 Comments

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:

  • Twitter
  • Facebook
Read more
Docker 

Install xdebug3 with Phpstorm on MacOs

December 13, 2020December 13, 2020 JP 0 Comments

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

Share this:

  • Twitter
  • Facebook
Read more
Docker Nginx 

Installation of HTTPS on a Symfony5, Docker and Nginx system

December 8, 2020December 8, 2020 JP 0 Comments

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

Share this:

  • Twitter
  • Facebook
Read more
Docker PHP 

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

November 30, 2020November 30, 2020 JP 0 Comments

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

Share this:

  • Twitter
  • Facebook
Read more
Symfony4 

Symfony4 how to create a custom error page 404

July 20, 2020July 20, 2020 JP 0 Comments

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:

  • Twitter
  • Facebook
Read more
Wordpress 

WordPress – how to install wp-cli on Ubuntu

February 13, 2020February 24, 2020 JP 0 Comments

Start by downloading wp-cli curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar Then give him the right to be executed chmod +x wp-cli.phar Then move

Share this:

  • Twitter
  • Facebook
Read more
  • ← Previous
  • Français
  • English

Recent Posts

  • Install drupal/console on drupal 9
  • PHP Spaceship Operator <=>
  • PHP style code: How to keep its code clean with PHP Coding Standards Fix
Publicités
Copyright © 2023 Jean-Pierre Lambelet. All rights reserved.
Theme: ColorMag by ThemeGrill. Powered by WordPress.