yosymfony/toml
A PHP parser for TOML compatible with specification 0.4.0
v1.0.4
1.9M downloads/mo
#3966 most downloaded on Packagist
yosymfony/toml
What this package is like to depend on
Last release 8 years ago
no release in 18 months
Release timing varies
gaps range from 8 days to 2.2 years
Nearly every release is documented
notes for 12 of 12 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
12 releases · first in 2013
0 releases in the last 12 months
see the full history below
Release timeline
12 releases · Jun 2013 to Aug 2018Releases
latest 12-
v1.0.408 Aug 2018Release notes
Open source →What's new in this release?
- Several corrections and refactorings in
TomBuilderclass. The problem described in the PR #25 "fixed a bug when used the function 'in_array'" has been solved. - The test file
TomlBuilderTesthas been refactored for readability. Added some tests. - The
README.mdfile has been updated with theTomlBuilderclass limitations.
Release notes
Open source →- Several corrections and refactorings in
TomBuilderclass. The problem described in the PR #25 "fixed a bug when used the function 'in_array'" has been solved. - The test file
TomlBuilderTesthas been refactored for readability. Added some tests. - The
README.mdfile has been updated with theTomlBuilderclass limitations.
- Several corrections and refactorings in
-
v1.0.330 Jul 2018Release notes
Open source →What's new in this release?
TomlBuilderdoes not throw aDumpExceptionanymore when the character "#" appears in a quoted key.- The method
addArrayTablesfrom the classTomlBuilderhas been declared as deprecated. Use the methodaddArrayOfTableinstead. - Fixed the bug #24: "Wrong array of tables implementation".
- A new class
TomlArrayhas been added to handle the Toml array generation.
Release notes
Open source →TomlBuilderdoes not throw aDumpExceptionanymore when the character "#" appears in a quoted key.- The method
addArrayTablesfrom the classTomlBuilderhas been declared as deprecated. Use the methodaddArrayOfTableinstead. - Fixed the bug #24: "Wrong array of tables implementation".
- A new class
TomlArrayhas been added to handle the Toml array generation.
-
v1.0.229 Jun 2018Release notes
Open source →What's new in this release?
- Fixed the bug #23: "Unable to parse ArrayTables that contain Tables".
- A new class
KeyStorehas been added to deal with the logic of the keys (keys, tables and array of tables). - Package
yosymfony/parser-utilshas been updated to 2.0.0.
Release notes
Open source →- Fixed the bug #23: "Unable to parse ArrayTables that contain Tables".
- A new class
KeyStorehas been added to deal with the logic of the keys (keys, tables and array of tables). - Package
yosymfony/parser-utilshas been updated to 2.0.0.
-
v1.0.105 Feb 2018Release notes
Open source →- Fixed a bug related to integer keys: now, it's possible to create keys using an integer. Reported by @betrixed.
- Merged the pull request #17: "removing
is_stringcheck". - Minor fixes in README file.
-
v1.0.018 Nov 2017Release notes
Open source →What's new in this release?
- The code has been rewritten from scratch for PHP 7.1.
- The method
parsefromTomlclass must only be applied to TOML strings.
In case of parsing a TOML filename use the new methodparseFile. - Methods
parseandparseFilefromTomlclass accept a new argumentresultAsObject
(optional) to return the parsed input as an object (an instance ofstdClass). - The method
addGroupofTomlBuilderclass has been deleted. - The exceptions have been refactored, so the classes
ExceptionInterface,
LexerExceptionandRuntimeExceptionhave been removed. - Added the inner exception when a
ParseExceptionis thrown in methodparseof classToml. - Fixed bug #13: "Inline sub-tables don't work".
- Fixed bug #12: "Does not parse a table with an array of tables".
- Better support for dates as specified in the latest TOML spec. See PR #11.
Release notes
Open source →- The code has been rewritten from scratch for PHP 7.1.
- The method
parsefromTomlclass must only be applied to TOML strings. In case of parsing a TOML filename use the new methodparseFile. - Methods
parseandparseFilefromTomlclass accept a new argumentresultAsObject(optional) to return the parsed input as an object (an instance ofstdClass). - The method
addGroupofTomlBuilderclass has been deleted. - The exceptions have been refactored, so the classes
ExceptionInterface,LexerExceptionandRuntimeExceptionhave been removed. - Added the inner exception when a
ParseExceptionis thrown in methodparseof classToml. - Fixed bug #13: "Inline sub-tables don't work".
- Fixed bug #12: "Does not parse a table with an array of tables".
- Better support for dates as specified in the latest TOML spec. See PR #11.
-
v0.3.324 Aug 2015Release notes
Open source →What's new in this release?
- Fixed bug #10: Cannot parse quote (") in table name.
-
v0.3.209 Mar 2015Release notes
Open source →What's new in this release?
- Fixed Issue #9: Only double-quoted strings work in arrays, contrary to spec.
Release notes
Open source →- Fixed issue #9: Only double-quoted strings work in arrays, contrary to spec.
-
v0.3.107 Mar 2015Release notes
Open source →What's new in this release?
- Added support for literal strings in TomlBuilder.
-
v0.3.006 Mar 2015Release notes
Open source →What's new in this release?
- Support for specification 0.4.0 of TOML.
- Changed to PSR-4.
- Added new tests.
- CS fixes.
-
v0.2.003 May 2014Release notes
Open source →What's new in this release?
- [New] Support to TOML 0.2.0.
- [Deprecated] TomlBuilder: method addGroup was replaced by addTable.
Release notes
Open source →- Support for TOML 0.2.0.
- New tests for arrays of tables.
- TomlBuilder: new methods
addTable - TomlBuilder: Deprecated methods
addGroup. - Fixtures folder in tests renamed to fixtures.
- Fixtures reorganized.
-
v0.1.114 Dec 2013Release notes
Open source →- Fixed bug with empty string value parse error.
- Fixed exception default timezone unset in unit tests.
- Added Travis configuration file.
- Fixed some issues in README.md.
-
v0.1.002 Jun 2013Release notes
Open source →- Initial release.
- Support for TOML 0.1.0.
- BurntSushi test suite included.
- Included TomlBuilder to create inline TOML strings.