File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 77
88A simple and lightweight ` .env ` loader for PHP projects.
99
10- ## Installation
10+ ## 📦 Installation
1111
1212Via Composer:
1313
1414``` bash
1515composer require codemonster-ru/env
1616```
1717
18- ## Usage
18+ ## 🚀 Usage
1919
2020Create a .env file in the root of your project:
2121
@@ -48,7 +48,7 @@ echo env('SSR_URL'); // http://localhost:3000
4848echo env('NOT_DEFINED', 'default'); // "default"
4949```
5050
51- ## Features
51+ ## ✨ Features
5252
5353- Loading ` .env ` files into ` $_ENV ` , ` $_SERVER ` , and via ` putenv() ` .
5454- Boolean value support:
@@ -60,18 +60,18 @@ echo env('NOT_DEFINED', 'default'); // "default"
6060- Support for quoted strings ` "..." ` and ` '...' ` .
6161- Global function ` env($key, $default = null) ` .
6262
63- ## Tests
63+ ## 🧪 Testing
6464
6565You can run tests with the command:
6666
6767``` bash
6868composer test
6969```
7070
71- ## Author
71+ ## 👨💻 Author
7272
7373[ ** Kirill Kolesnikov** ] ( https://github.com/KolesnikovKirill )
7474
75- ## License
75+ ## 📜 License
7676
7777[ MIT] ( https://github.com/codemonster-ru/env/blob/main/LICENSE )
You can’t perform that action at this time.
0 commit comments