Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Treehouse

Environment Variables with PHP Course (How To)

via Treehouse

Overview

In the lifecycle of an application, there are multiple environments such as Development, Testing and Production. Each environment may have its own unique sources and credentials that need to be managed and secured. Environment variables are accessible to any programming language, and allow applications to adapt to their environment while keeping credentials secure.

What you'll learn

  • Application Environments
  • Application Workflows
  • Environment Variables
  • Google reCAPTCHA
  • SMTP

Syllabus

Environment Variables

Explore the environments involved in the typical workflow of an application, from development to production. Then use environment specific variable to make the application adaptable while keeping credentials secure.

Chevron 11 steps
  • Environments

    4:50

  • Accessing Environment Variables

    3:50

  • Environments and Their Variables

    5 questions

  • Setting up the Project and Package

    5:06

  • Managing Credentials with Environment Variables

    2:39

  • Using Environment Specific Settings

    4:18

  • PHP dotenv Package

    5 questions

  • Complex Data Types

    6:21

  • Additional Considerations

    5:50

  • Learning Environment

    0:47

  • More Data

    5 questions

Reviews

Start your review of Environment Variables with PHP Course (How To)

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.