Environment Variables - Intro into modern PHP development

Publicado el: 22 agosto 2024
en el 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


En esta página del sitio puede ver el video en línea Environment Variables - Intro into modern PHP development de Duración hora minuto segunda en buena calidad , que subió el usuario Frank Prins 22 agosto 2024, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 1,040 veces y le gustó 30 a los espectadores. Disfruta viendo!