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 53c1be3 commit f7dec33Copy full SHA for f7dec33
README.md
@@ -70,6 +70,16 @@ $dotenv->restart(['LOCALE' => 'en']);
70
- **Available Only In Version 1.0.1 (Review CHANGELOG.md for more changes)**
71
72
```php
73
+// Create new instance with autoload
74
+$dotenv = new \NAL\Dotenv\Dotenv('path/to/your/file/.env', true);
75
+
76
+// Load manually
77
+$dotenv = new NAL\Dotenv\Dotenv('path/to/your/file/.env');
78
79
+$dotenv->load();
80
81
82
83
// if you set your environment variables in group like this,
84
APP_URL='https://example.com/'
85
APP_KEY=1234567
0 commit comments