Download the PHP package tristankechlo/simple-dotenv without Composer
On this page you can find all versions of the php package tristankechlo/simple-dotenv. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download tristankechlo/simple-dotenv
More information about tristankechlo/simple-dotenv
Files in tristankechlo/simple-dotenv
Download tristankechlo/simple-dotenv
More information about tristankechlo/simple-dotenv
Files in tristankechlo/simple-dotenv
Vendor tristankechlo
Package simple-dotenv
Short Description simple library to parse .env files
License MIT
Package simple-dotenv
Short Description simple library to parse .env files
License MIT
Please rate this library. Is it a good library?
Informations about the package simple-dotenv
Simple Dotenv Parser
small parser for .env files
normal parsing
parsing with conversion
conversion
The parse can convert some values to php primitive types, otherwise all values are string.
booleans
these values will be converted to booleans (case insensitive):
- truthy_values = ['true', 'yes', 'on']
- falsy_values = ['false', 'no', 'off']
numbers
these values will be converted to numbers:
- integers (e.g.
3
or23424
) - floats (e.g.
5.76
or43234.3453
) - hexadezimal only with prefix
0x
(e.g.0xa0
to160
) - binary only with prefix
0b
(e.g.0b110011
to51
) - octal only with prefix
0o
(e.g.0o77
to63
)
null
these values will be converted to null
(case insensitive):
- null
- none
All versions of simple-dotenv with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0
The package tristankechlo/simple-dotenv contains the following files
Loading the files please wait ....