PHPackages                             o2system/spl - 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. [Framework](/categories/framework)
4. /
5. o2system/spl

ActivePackage[Framework](/categories/framework)

o2system/spl
============

O2System Standard PHP Library (SPL) it's build based on original standard PHP library. It's made up primarily of commonly needed datastructure classes, iterators, handlers and exceptions for O2System PHP Framework, but also can be used independently outside O2System PHP Framework environment.

v1.2.0(5y ago)320.7k↓81%13MITPHPPHP ^7.2.0CI failing

Since Aug 3Pushed 5y ago3 watchersCompare

[ Source](https://github.com/o2system/spl)[ Packagist](https://packagist.org/packages/o2system/spl)[ RSS](/packages/o2system-spl/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (1)Versions (28)Used By (3)

[![alt text](https://repository-images.githubusercontent.com/67767410/7ec75b00-5c98-11ea-91dd-67353fc7a1ad "O2System SPL Atom")](https://repository-images.githubusercontent.com/67767410/7ec75b00-5c98-11ea-91dd-67353fc7a1ad)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/2a1713f6e4829e3fce11f9527d70a29004bbe550d511c810bec1f79050c4fac0/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6f3273797374656d2f73706c2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/o2system/spl/?branch=master)[![Build Status](https://camo.githubusercontent.com/7f524879486d6d3340ad445dc971e7047fce11557b5b687644117dfb16eca8af/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6f3273797374656d2f73706c2f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/o2system/spl/build-status/master)[![PHP Composer](https://github.com/o2system/spl/workflows/PHP%20Composer/badge.svg)](https://github.com/o2system/spl/workflows/PHP%20Composer/badge.svg)[![Latest Stable Version](https://camo.githubusercontent.com/ddb7bfa85452b966d50293477c21f749012ffd49e09d917981c67af184cfb14c/68747470733a2f2f706f7365722e707567782e6f72672f6f3273797374656d2f73706c2f762f737461626c65)](https://packagist.org/packages/o2system/spl)[![Total Downloads](https://camo.githubusercontent.com/db55289884ce72dc66b1ded12886cc1fdcfc3bb4d806981d649cac39fbf0b42e/68747470733a2f2f706f7365722e707567782e6f72672f6f3273797374656d2f73706c2f646f776e6c6f616473)](https://packagist.org/packages/o2system/spl)[![License](https://camo.githubusercontent.com/a3327faf022b43fabd05f598f1a1926b6419a0866d14f1b2df08f2ff3791baa8/68747470733a2f2f706f7365722e707567782e6f72672f6f3273797374656d2f73706c2f6c6963656e7365)](https://packagist.org/packages/o2system/spl)

O2System Standard PHP Libraries (SPL)
=====================================

[](#o2system-standard-php-libraries-spl)

O2System Standard PHP Library (SPL) it's build based on original [standard PHP library](http://php.net/manual/en/book.spl.php). It's made up primarily of commonly needed data structure classes, iterators, handlers and exceptions for O2System PHP Framework, but also can be used independently outside O2System PHP Framework environment.

### Standard PHP Containers

[](#standard-php-containers)

- Closures Container Class
- Services Container Class

### Standard PHP DataStructures

[](#standard-php-datastructures)

- SplArrayObject
- SplArrayQueque
- SplArrayStack
- SplArrayStorage

### Standard PHP Exceptions

[](#standard-php-exceptions)

- ErrorException
- LogicException
- RuntimeException

### Standard PHP Info

[](#standard-php-info)

- SplClassInfo
- SplDirectoryInfo
- SplFileInfo
- SplNamespaceInfo

### Standard PHP Iterators

[](#standard-php-iterators)

- ArrayIterator

### Standard PHP Design Patterns

[](#standard-php-design-patterns)

- Creational
    - Factory
    - Singleton
- Structural
    - Assemble
    - Composite
    - Facade
    - Provider
    - Repository

### Standard PHP Setters &amp; Collectors Traits

[](#standard-php-setters--collectors-traits)

- Collectors
    - ConfigCollectorTrait
    - ErrorCollectorTrait
    - FileExtensionCollectorTrait
    - FilePathCollectorTrait
- Setters
    - OptionSetterTrait

### Composer Installation

[](#composer-installation)

The best way to install O2System Spl is to use [Composer](https://getcomposer.org)

```
composer require o2system/spl

```

> Packagist:

### Usage

[](#usage)

Documentation is available on this repository [wiki](https://github.com/o2system/spl/wiki) or visit this repository [github page](https://o2system.github.io/spl).

### Ideas and Suggestions

[](#ideas-and-suggestions)

Please kindly mail us at [contact@o2system.id](mailto:contact@o2system.id%5D)

### Bugs and Issues

[](#bugs-and-issues)

Please kindly submit your [issues at Github](http://github.com/o2system/spl/issues) so we can track all the issues along development and send a [pull request](http://github.com/o2system/spl/pulls) to this repository.

### System Requirements

[](#system-requirements)

- PHP 7.2+
- [Composer](https://getcomposer.org)

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 81.6% 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 ~41 days

Recently: every ~60 days

Total

27

Last Release

2185d ago

PHP version history (3 changes)v1.0.0PHP &gt;=5.6.0

v1.0.117PHP ~7.2.0

v1.0.120PHP ^7.2.0

### Community

Maintainers

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

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

---

Top Contributors

[![steevenz](https://avatars.githubusercontent.com/u/218405?v=4)](https://github.com/steevenz "steevenz (40 commits)")[![turahe](https://avatars.githubusercontent.com/u/6832622?v=4)](https://github.com/turahe "turahe (7 commits)")[![o2system-codeworks](https://avatars.githubusercontent.com/u/293292195?v=4)](https://github.com/o2system-codeworks "o2system-codeworks (2 commits)")

---

Tags

phpframeworkinterfacesutilitieslibraries

### Embed Badge

![Health badge](/badges/o2system-spl/health.svg)

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

PHPackages © 2026

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