PHPackages                             crazedsanity/siteconfig - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. crazedsanity/siteconfig

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

crazedsanity/siteconfig
=======================

XML/INI-based site configuration for PHP.

v0.2.2(9y ago)0164MITPHP

Since May 7Pushed 8y ago1 watchersCompare

[ Source](https://github.com/crazedsanity/siteconfig)[ Packagist](https://packagist.org/packages/crazedsanity/siteconfig)[ RSS](/packages/crazedsanity-siteconfig/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (7)Used By (0)

siteconfig
==========

[](#siteconfig)

XML/INI-based site configuration for PHP.

How do I use it?
----------------

[](#how-do-i-use-it)

Create an XML or INI file for your site's configuration. Values from one section can be automatically used in other sections using place holders in the form `{SECTION/VALUE}`.

The configuration can be loaded as constants or into the GLOBALS array simply by calling a method, `make_section_constants()` and `make_section_globals()`, respectively.

Special placeholders can be used as well. The following placeholders are supported:

- `{_DIRNAMEOFFILE_}` (directory to the containing configuration file)
- `{_CONFIGFILE_}` (full path to the containing configuration file)
- `{_THISFILE_}` (same as DIRNAMEOFFILE)
- `{_APPURL_}` (value of `$_SERVER['SCRIPT_NAME']`)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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 ~110 days

Recently: every ~137 days

Total

6

Last Release

3478d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2e5c258da2d3360da7bc80c01e0a97ff96a036cef58f8a5434daf469ad7cc186?d=identicon)[crazedsanity](/maintainers/crazedsanity)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/crazedsanity-siteconfig/health.svg)

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

PHPackages © 2026

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