Skip to content
This repository has been archived by the owner on Mar 20, 2022. It is now read-only.

DotEnv Parser

Compare
Choose a tag to compare
@CodeLieutenant CodeLieutenant released this 12 Jul 23:33
· 8 commits to master since this release

Backwards compatibility

Api of the DotEnv parser has not changes, but the namespace is changed from Dusan\PhpMvc\DotEnv to Dusan\DotEnv, and in next release will be changed to BrosSquad\DotEnv

Bugfixes

  1. Parsing the empty values is now correct
  2. Handling white space correctly
  3. Correctly handling single line values (space issues)

Features

  1. Added better error handling
  2. Added better error messages (now includes line and column in the file where error has occurred)
  3. Removed unnecessary checks