Environment Variables - Intro into modern PHP development

Publicado em: 22 Agosto 2024
no canal de: Frank Prins
1,040
30

This is part 6 of a series introducing professional PHP development in 2024, where we'll use environment variables to connect to a database, and look into how to use Environment variables throughout our container.

00:00 Intro
00:28 Database in Docker Compose setup
02:03 Testing database connection
02:56 Extending docker image
04:02 getenv
05:03 .env file
06:54 Loading env files
07:30 strict env keys
08:32 The Environment class
09:24 Adding Environment to the container
10:15 parsing the .env file
11:49 using the Environment class
12:44 using the environment variables
13:35 Outro


Nesta página do site você pode assistir ao vídeo on-line Environment Variables - Intro into modern PHP development duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Frank Prins 22 Agosto 2024, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 1,040 vezes e gostou 30 espectadores. Boa visualização!