PHPackages                             xiphe/base - 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. xiphe/base

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

xiphe/base
==========

Basic logic for new projects. Provides singleton, configuration, callback and basic api methods.

v1.1.2(13y ago)2762GNU GENERAL PUBLIC LICENSEPHPPHP &gt;=5.3

Since Jan 9Pushed 13y ago1 watchersCompare

[ Source](https://github.com/Xiphe/Base)[ Packagist](https://packagist.org/packages/xiphe/base)[ Docs](https://github.com/Xiphe/Base)[ RSS](/packages/xiphe-base/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (9)Used By (2)

Base
====

[](#base)

Basic logic for new projects.

Provides singleton, configuration, callback and basic api methods.

Changelog
---------

[](#changelog)

### 1.1.0

[](#110)

- introduce protected $\_defaultConfiguration array
- configuration can be changed more easy by calling initConfig or i on a singleton
- doCallback now has a third parameter to allow return of results (filter-mode) instead of $this

Todo
----

[](#todo)

License
-------

[](#license)

Copyright (C) 2013 Hannes Diercks

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Total

8

Last Release

4793d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d5408752b506da1958c3741a2954aca1115ca49887c26f60f234a6881d1b830b?d=identicon)[Xiphe](/maintainers/Xiphe)

---

Top Contributors

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

---

Tags

configurationsingletoncallbacks

### Embed Badge

![Health badge](/badges/xiphe-base/health.svg)

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

###  Alternatives

[symfony/options-resolver

Provides an improved replacement for the array\_replace PHP function

3.2k493.9M1.6k](/packages/symfony-options-resolver)[league/config

Define configuration arrays with strict schemas and access values with dot notation

564302.2M24](/packages/league-config)[josegonzalez/dotenv

dotenv file parsing for PHP

2799.8M137](/packages/josegonzalez-dotenv)[dflydev/dot-access-configuration

Given a deep data structure representing a configuration, access configuration by dot notation.

13414.5M4](/packages/dflydev-dot-access-configuration)[symfony/requirements-checker

Check Symfony requirements and give recommendations

2014.7M29](/packages/symfony-requirements-checker)[chillerlan/php-settings-container

A container class for immutable settings objects. Not a DI container.

3427.3M21](/packages/chillerlan-php-settings-container)

PHPackages © 2026

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