PHPackages                             shanethehat/php-hocon - 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. shanethehat/php-hocon

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

shanethehat/php-hocon
=====================

Library for parsing HOCON format configuration files

4181PHP

Since Dec 5Pushed 10y ago1 watchersCompare

[ Source](https://github.com/shanethehat/php-hocon)[ Packagist](https://packagist.org/packages/shanethehat/php-hocon)[ RSS](/packages/shanethehat-php-hocon/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

\#PHP Hocon

[![Build Status](https://camo.githubusercontent.com/8b6614ea745ee52650ef0b44bdd4cb3b1213b319762fd2b509537e29c49c1d79/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368616e657468656861742f7068702d686f636f6e2f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/shanethehat/php-hocon/build-status/master)[![Quality Score](https://camo.githubusercontent.com/287e424d71d74915c08a9d28ada7a428a26fbaa51c7f180cae79aaa023f7ce84/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368616e657468656861742f7068702d686f636f6e2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://camo.githubusercontent.com/287e424d71d74915c08a9d28ada7a428a26fbaa51c7f180cae79aaa023f7ce84/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7368616e657468656861742f7068702d686f636f6e2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)

This is a WIP Hocon parsing library for PHP. Based on the spec found at

Very work in progress, not to be trusted.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/604650?v=4)[Shane Auckland](/maintainers/shanethehat)[@shanethehat](https://github.com/shanethehat)

---

Top Contributors

[![shanethehat](https://avatars.githubusercontent.com/u/604650?v=4)](https://github.com/shanethehat "shanethehat (16 commits)")

### Embed Badge

![Health badge](/badges/shanethehat-php-hocon/health.svg)

```
[![Health](https://phpackages.com/badges/shanethehat-php-hocon/health.svg)](https://phpackages.com/packages/shanethehat-php-hocon)
```

###  Alternatives

[mck89/peast

Peast is PHP library that generates AST for JavaScript code

19037.7M42](/packages/mck89-peast)[sauladam/shipment-tracker

Parses tracking information for several carriers, like UPS, USPS, DHL and GLS by simply scraping the data. No need for any kind of API access.

9642.0k](/packages/sauladam-shipment-tracker)[moonshine/layouts-field

Field for repeating groups of fields for MoonShine

107.9k](/packages/moonshine-layouts-field)[tcds-io/php-jackson

A lightweight, flexible object serializer for PHP, inspired by FasterXML/jackson

112.9k10](/packages/tcds-io-php-jackson)

PHPackages © 2026

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