PackageTrack
Sign in Get early access

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 2018
2014 2016 2018 2020 2022 2024 2026
Release Pre-release

Releases

latest 12
  1. v1.0.4 08 Aug 2018
    Release notes

    What's new in this release?

    • Several corrections and refactorings in TomBuilder class. The problem described in the PR #25 "fixed a bug when used the function 'in_array'" has been solved.
    • The test file TomlBuilderTest has been refactored for readability. Added some tests.
    • The README.md file has been updated with the TomlBuilder class limitations.
    Open source →
    Release notes
    • Several corrections and refactorings in TomBuilder class. The problem described in the PR #25 "fixed a bug when used the function 'in_array'" has been solved.
    • The test file TomlBuilderTest has been refactored for readability. Added some tests.
    • The README.md file has been updated with the TomlBuilder class limitations.
    Open source →
  2. v1.0.3 30 Jul 2018
    Release notes

    What's new in this release?

    • TomlBuilder does not throw a DumpException anymore when the character "#" appears in a quoted key.
    • The method addArrayTables from the class TomlBuilder has been declared as deprecated. Use the method addArrayOfTable instead.
    • Fixed the bug #24: "Wrong array of tables implementation".
    • A new class TomlArray has been added to handle the Toml array generation.
    Open source →
    Release notes
    • TomlBuilder does not throw a DumpException anymore when the character "#" appears in a quoted key.
    • The method addArrayTables from the class TomlBuilder has been declared as deprecated. Use the method addArrayOfTable instead.
    • Fixed the bug #24: "Wrong array of tables implementation".
    • A new class TomlArray has been added to handle the Toml array generation.
    Open source →
  3. v1.0.2 29 Jun 2018
    Release notes

    What's new in this release?

    • Fixed the bug #23: "Unable to parse ArrayTables that contain Tables".
    • A new class KeyStore has been added to deal with the logic of the keys (keys, tables and array of tables).
    • Package yosymfony/parser-utils has been updated to 2.0.0.
    Open source →
    Release notes
    • Fixed the bug #23: "Unable to parse ArrayTables that contain Tables".
    • A new class KeyStore has been added to deal with the logic of the keys (keys, tables and array of tables).
    • Package yosymfony/parser-utils has been updated to 2.0.0.
    Open source →
  4. v1.0.1 05 Feb 2018
    Release notes

    What's new in this release?

    • 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_string check".
    • Minor fixes in README file.
    Open source →
    Release notes
    • 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_string check".
    • Minor fixes in README file.
    Open source →
  5. v1.0.0 18 Nov 2017
    Release notes

    What's new in this release?

    • The code has been rewritten from scratch for PHP 7.1.
    • The method parse from Toml class must only be applied to TOML strings.
      In case of parsing a TOML filename use the new method parseFile.
    • Methods parse and parseFile from Toml class accept a new argument resultAsObject
      (optional) to return the parsed input as an object (an instance of stdClass).
    • The method addGroup of TomlBuilder class has been deleted.
    • The exceptions have been refactored, so the classes ExceptionInterface,
      LexerException and RuntimeException have been removed.
    • Added the inner exception when a ParseException is thrown in method parse of class Toml.
    • 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.
    Open source →
    Release notes
    • The code has been rewritten from scratch for PHP 7.1.
    • The method parse from Toml class must only be applied to TOML strings. In case of parsing a TOML filename use the new method parseFile.
    • Methods parse and parseFile from Toml class accept a new argument resultAsObject (optional) to return the parsed input as an object (an instance of stdClass).
    • The method addGroup of TomlBuilder class has been deleted.
    • The exceptions have been refactored, so the classes ExceptionInterface, LexerException and RuntimeException have been removed.
    • Added the inner exception when a ParseException is thrown in method parse of class Toml.
    • 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.
    Open source →
  6. v0.3.3 24 Aug 2015
    Release notes

    What's new in this release?

    • Fixed bug #10: Cannot parse quote (") in table name.
    Open source →
    Release notes
    • Fixed bug #10: Cannot parse quote (") in table name.
    Open source →
  7. v0.3.2 09 Mar 2015
    Release notes

    What's new in this release?

    • Fixed Issue #9: Only double-quoted strings work in arrays, contrary to spec.
    Open source →
    Release notes
    • Fixed issue #9: Only double-quoted strings work in arrays, contrary to spec.
    Open source →
  8. v0.3.1 07 Mar 2015
    Release notes

    What's new in this release?

    • Added support for literal strings in TomlBuilder.
    Open source →
    Release notes
    • Added support to literal strings in TomlBuilder.
    Open source →
  9. v0.3.0 06 Mar 2015
    Release notes

    What's new in this release?

    • Support for specification 0.4.0 of TOML.
    • Changed to PSR-4.
    • Added new tests.
    • CS fixes.
    Open source →
    Release notes
    • Support for TOML 0.4.0.
    • CS fixes.
    Open source →
  10. v0.2.0 03 May 2014
    Release notes

    What's new in this release?

    • [New] Support to TOML 0.2.0.
    • [Deprecated] TomlBuilder: method addGroup was replaced by addTable.
    Open source →
    Release notes
    • 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.
    Open source →
  11. v0.1.1 14 Dec 2013
    Release notes
    • 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.
    Open source →
  12. v0.1.0 02 Jun 2013
    Release notes
    • Initial release.
    • Support for TOML 0.1.0.
    • BurntSushi test suite included.
    • Included TomlBuilder to create inline TOML strings.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive