/Laravel-Example-Environment-Variables

Using application environment variables in Laravel

Primary LanguagePHP

Laravel Example Environment Variables

Post Cloning

  • Copy .env.sample.php to .env.local.php for local development settings
  • Copy .env.sample.php to .env.php for production settings
  • Run composer install
  • Update app/storage folder permissions

Files to review for this project

  • .env.sample.php
  • bootstrap/start.php
  • app/routes.php
  • app/config/database.php
  • .gitignore

Mark Hanson's website

Additional examples for the Laravel framework can be found on Mark Hanson's personal site.