PHP Classes

Configuration file setup: Read configuration values from JSON files

Recommend this page to a friend!
  Info   View files Example   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 215 This week: 1All time: 8,231 This week: 279Up
Version License PHP version Categories
configuration 1.0Free For Educatio...5PHP 5, Configuration
Description Author

This package can read configuration values from JSON files.

It can read a JSON file with setting values and returns an array with the values.

The class also sets the application_path setting to the parent of the current directory.

Picture of raghavender
  Performance   Level  
Name: raghavender <contact>
Classes: 2 packages by
Country: India India
Age: 34
All time rank: 3642253 in India India
Week rank: 256 Up19 in India India Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file config.php Example configure php variables which are used in application
Plain text file Configuration.php Class Class for creating global variables, DB connection, sanitization of data
Accessible without login Plain text file configurations.json Data provide configuration variables from json file
Plain text file dbConnection.php Class Connect to Mysql

 Version Control Unique User Downloads Download Rankings  
This week:1
All time:8,231
This week:279Up
For more information send a message to info at phpclasses dot org.