Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Open Power Autoloader v3 repository

tree: a6fd26b9f0

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 scripts
Octocat-spinner-32 src
Octocat-spinner-32 tests
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 autoload.example.php
Octocat-spinner-32 build.xml
Octocat-spinner-32 package.xml

Open Power Autoloader

This is a collection of universal class loaders for PHP 5.3+ compatible with PSR-0 class naming standard. They can be used for loading any project that follows these naming rules.

Version information

This is a development version of Open Power Autoloader



The package provides the following class loaders:

  • \Opl\Autoloader\GenericLoader - generic class loader with dynamic class-to-file translation.
  • \Opl\Autoloader\ClassMapLoader - class loader which uses a predefined map of classes and their paths. Provides greater performance at the cost of flexibility.
  • \Opl\Autoloader\PHARLoader - class loader with predefined maps of classes for self-contained PHAR archives with web and console applications.

Extra classes:

  • \Opl\Autoloader\ClassMapBuilder - class map builder for the map-based autoloaders.
  • \Opl\Autoloader\Command\ClassMapBuild - Symfony 2 Console command that builds the class maps for the map-based autoloaders.

Documentation can be found here.

License and authors

Open Power Autoloader is a part of Open Power Libs 3 foundation - Copyright (c) Invenzzia Group 2008-2011. It is distributed under the terms of New BSD License.


  • Tomasz Jędrzejewski - idea, programming.
Something went wrong with that request. Please try again.