Download the PHP package internal/toml without Composer
On this page you can find all versions of the php package internal/toml. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download internal/toml
More information about internal/toml
Files in internal/toml
Download internal/toml
More information about internal/toml
Files in internal/toml
Please rate this library. Is it a good library?
Informations about the package toml
# TOML for PHP
[](https://patreon.com/roxblnfk)
TOML 1.0.0/1.1.0 parser and encoder for PHP 8.1+. Parse TOML files into PHP arrays or encode PHP data structures back to TOML format.
Installation
Quick Start
Parsing TOML
Encoding to TOML
Working with AST
Round-Trip Conversion
Examples
DateTime Support
JsonSerializable Support
Format Preservation
API
Features
- Full TOML v1.1.0 spec compliance
- Strings: basic, literal, multiline, all escape sequences including
\eand\xHH - Numbers: integers (decimal, hex, octal, binary), floats, special values (
inf,nan) - Date-time: offset, local date-time, local date, local time (seconds optional)
- Tables, inline tables (multi-line with trailing commas), arrays of tables, dotted keys
- Comments preservation
- Format-preserving round-trips (hex numbers stay hex, etc.)
- Encoder outputs TOML v1.0-compatible format for maximum interoperability
Built with Claude Code
All versions of toml with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
The package internal/toml contains the following files
Loading the files please wait ...