PHP Classes
elePHPant
Icontem

File: Falcraft/tests/Features/test.json

Recommend this page to a friend!
  Classes of Asher Wolfstein  >  PHP Configuration Trait  >  Falcraft/tests/Features/test.json  >  Download  
File: Falcraft/tests/Features/test.json
Role: Auxiliary data
Content type: text/plain
Description: test json file
Class: PHP Configuration Trait
Load and save class configuration using a trait
Author: By
Last change:
Date: 4 years ago
Size: 898 bytes
 

 

Contents

Class file image Download
{
        "production":
        {
                "webhost":"www.example.com",
                "database":
                {
                        "adapter":"pdo_mysql",
                        "params":
                        {
                                "host":"db.example.com",
                                "username":"dbuser",
                                "password":"secret",
                                "dbname":"dbname"
                        }
                }
        },
        "staging":
        {
                "_extends":"production",
                "database":
                {
                        "params":
                        {
                                "host":"dev.example.com",
                                "username":"devuser",
                                "password":"devsecret"
                        }
                }
        }
}