Skip to content

micahbolen/Smart-PHP-Config-File

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart PHP Config File

An easy way to manage local/development/production configuration files (database connections, etc.) in PHP projects.

Instructions

  1. Clone this repo outside of your PHP project directory.

  2. Put your local configuration inside of local.config.php

  3. Put your development configuration inside of development.config.php

  4. Put your production configuration inside of production.config.php

  5. Follow the inline instructions in config.php

  6. Copy all four files to your working directory wherever your PHP project's configuration file is located.

  7. If necessary in your environment, tell version control to ignore some/all of the configuration files.

About

An easy way to manage local/development/production configuration files in PHP projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published