We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 638d662 commit e11d3e7Copy full SHA for e11d3e7
1 file changed
readme.md
@@ -41,6 +41,27 @@ use Ahc\Env\Loader;
41
42
> Always wrap complex values within double quotes in `.env` file. Eg: `APP_KEY="K&^¢*&D(?<µ}^(P\]X"`
43
44
+### ENV Format
45
+
46
+Supports `#` or `;` comments and multilines. Literal double quote should be escaped like `\"`. See more examples below:
47
48
+```
49
+# comment line
50
+a=1
51
+b="2"
52
+c=$3#
53
+; also comment line
54
+d="lol"
55
+e=
56
+f=\"6\"
57
+1_2=one_two
58
+E=""
59
+A_B=Apple Ball
60
+MUL="line 1
61
+line 2"
62
+x=Y
63
64
65
### Retrieving
66
67
```php
0 commit comments