Skip to content
O2System PHP Framework edited this page Sep 16, 2016 · 2 revisions

O2System Standard PHP Libraries (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.

Installation

The best way to install O2System SPL is to use Composer

composer require o2system/spl

Manual Installation

  1. Download the master zip file.
  2. Extract into your project folder.
  3. Require the autoload.php file.
require 'your-project-folder-path/spl-master/src/autoload.php';

Documentation

Datastructures

Info

  • SplClassInfo
  • SplDirectoryInfo
  • SplFileInfo
  • SplNamespaceInfo

Interfaces

  • SplArrayInterface

Iterators

  • ArrayIterator

Traits

  • ArrayConversionTrait
  • ArrayFunctionsTrait

Ideas and Suggestions

Please kindly mail us at [email protected].

Bugs and Issues

Please kindly submit your issues at Github so we can track all the issues along the development and send a pull request to this repository.

System Requirements

Credits