PHPackages                             cline/toml - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. cline/toml

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

cline/toml
==========

A PHP parser for TOML compatible with specification 0.4.0

2.0.2(2mo ago)00MITPHPPHP ^8.5.0CI failing

Since Mar 4Pushed 2mo agoCompare

[ Source](https://github.com/faustbrian/toml)[ Packagist](https://packagist.org/packages/cline/toml)[ RSS](/packages/cline-toml/feed)WikiDiscussions 2.x Synced 1mo ago

READMEChangelog (1)Dependencies (6)Versions (6)Used By (0)

[![GitHub Workflow Status](https://github.com/faustbrian/toml/actions/workflows/quality-assurance.yaml/badge.svg)](https://github.com/faustbrian/toml/actions)[![Latest Version on Packagist](https://camo.githubusercontent.com/ac1a5a99d038fa4eba314d0f6ee98de61ba720fccbf148a52c3f40c4ede29c13/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636c696e652f746f6d6c2e737667)](https://packagist.org/packages/cline/toml)[![Software License](https://camo.githubusercontent.com/784362b26e4b3546254f1893e778ba64616e362bd6ac791991d2c9e880a3a64e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e2e737667)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/f3eae95e7a78bdd15e240560c9732c1da598e6a920bd62024d6e3cbf40801044/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636c696e652f746f6d6c2e737667)](https://packagist.org/packages/cline/toml)

---

A PHP parser for TOML compatible with specification 0.4.0.

Requirements
------------

[](#requirements)

> **Requires [PHP 8.4+](https://php.net/releases/)**

Installation
------------

[](#installation)

```
composer require cline/toml
```

Documentation
-------------

[](#documentation)

For comprehensive documentation, examples, and cookbooks, visit **[docs.cline.sh](https://docs.cline.sh)**.

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please use the [GitHub security reporting form](https://github.com/faustbrian/toml/security) rather than the issue queue.

Credits
-------

[](#credits)

- [Brian Faust](https://github.com/faustbrian)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License. Please see [License File](LICENSE.md) for more information.

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance88

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~24 days

Total

5

Last Release

61d ago

Major Versions

1.0.0 → 2.0.02026-03-04

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/22145591?v=4)[Brian Faust](/maintainers/faustbrian)[@faustbrian](https://github.com/faustbrian)

---

Top Contributors

[![faustbrian](https://avatars.githubusercontent.com/u/22145591?v=4)](https://github.com/faustbrian "faustbrian (9 commits)")

---

Tags

phpconfigurationparsertoml

### Embed Badge

![Health badge](/badges/cline-toml/health.svg)

```
[![Health](https://phpackages.com/badges/cline-toml/health.svg)](https://phpackages.com/packages/cline-toml)
```

###  Alternatives

[doctrine/lexer

PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.

11.2k910.8M118](/packages/doctrine-lexer)[simplehtmldom/simplehtmldom

A fast, simple and reliable HTML document parser for PHP.

1921.3M14](/packages/simplehtmldom-simplehtmldom)[m1/vars

Vars is a simple to use and easily extendable configuration loader with in built loaders for ini, json, PHP, toml, XML and yaml/yml file types. It also comes with in built support for Silex and more frameworks to come soon.

69124.2k1](/packages/m1-vars)[romanpitak/nginx-config-processor

Nginx configuration files processor.

7235.3k1](/packages/romanpitak-nginx-config-processor)[corveda/php-sandbox

A PHP library that can be used to run PHP code in a sandboxed environment

23483.5k2](/packages/corveda-php-sandbox)[leonelquinteros/php-toml

PHP parser for TOML language ( https://github.com/toml-lang/toml )

266.7k](/packages/leonelquinteros-php-toml)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
