This repository was archived by the owner on Sep 28, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example.php
More file actions
49 lines (47 loc) · 2.33 KB
/
.env.example.php
File metadata and controls
49 lines (47 loc) · 2.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php declare(strict_types=1);
////////////////////////////////////////////////////////////////////////////////
// ___________ __ __ _____
// \_ _____/______ __ __ _____/ |_|__|/ ____\__ __
// | __) \_ __ \ | \_/ ___\ __\ \ __< | |
// | \ | | \/ | /\ \___| | | || | \___ |
// \___ / |__| |____/ \___ >__| |__||__| / ____|
// \/ \/ \/
// -----------------------------------------------------------------------------
// https://github.com/fructify
//
// Designed and Developed by Brad Jones <brad @="bjc.id.au" />
// -----------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////
/**
* File: .env.example.php
* =============================================================================
* This is an example of what a real .env.php file might look like.
* I know all this new config arrangement seems overkill however for large
* projects the extra setup will pay off I promise.
*
* If you really can't be bothered with the environment variable configuration.
* And you have your code committed into a private repo or some other setup
* that keeps this information safe enough for your purposes. Then by all means
* feel free to throw this file and the rest of the .env.php code in the bin.
* I am not forcing this on you.
*
* However a few notes for those that do want to use this setup:
*
* 1. Ensure that a real .env.php never gets committed to your vcs.
*
* 2. If it does see this page, it should help you out:
* https://help.github.com/articles/remove-sensitive-data
*
* 3. Ensure that .env.php can not be accessed via HTTP. This is why the
* filename starts with a *dot*. Most web servers will forbid access to
* *dot* files by default.
*
* **HOWEVER DO NOT RELY ON THIS PLEASE TEST WITH YOUR OWN BROWSER**
*/
return
[
'DB_NAME' => '',
'DB_USER' => '',
'DB_PASSWORD' => '',
'DB_HOST' => ''
];