Run Laravel 9 on Docker with PHP 8.1 in 2022 [Docker PHP Tutorial 4.3]

Опубликовано: 04 Ноябрь 2024
на канале: PascalLandau
13,019
62

Link to the written tutorial on my blog:
https://www.pascallandau.com/blog/run...

Link to the branch of the Github repository:
https://github.com/paslandau/docker-p...

In this video we replace the PHP POC of the first video (    • Docker from scratch for PHP 8.1 appli...   ) with components from Laravel.
We'll start by setting up a completely new installation of Laravel and then replace the individual scripts one by one:
index.php with a controller
dependencies.php with configuration files and ENV variables
setup.php with a command
worker.php with a job

In addition, we will add some more tests that will check the intreface, the database and the redis queue.

Previous video:    • PhpStorm, Docker and Xdebug 3 on PHP ...