2017 © Pedro Peláez
 

library loader

Minimalistic Autoloader, PSR-0 complient.

image

respect/loader

Minimalistic Autoloader, PSR-0 complient.

  • Wednesday, January 29, 2014
  • by henriquemoody
  • Repository
  • 8 Watchers
  • 19 Stars
  • 38 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 5 Open issues
  • 3 Versions
  • 6 % Grown

The README.md

Respect\Loader

Build Status Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

A simple, minimalist class loader that implements the PSR-0 spec., (*2)

Configuration

Respect\Loader needs the include_path properly configured. Add your library to the include_path directive in php.ini or set up in runtime like this:, (*3)

<?php
set_include_path('/path/to/library'. PATH_SEPARATOR . get_include_path());

See http://php.net/include_path for more info., (*4)

Usage

Add this single line one single time to your project:, (*5)

<?php
spl_autoload_register(include 'Respect/Loader.php');

Installation

Please use PEAR. More instructions on the Respect PEAR channel, (*6)

Advanced Usage

If you don't like auto-registering, you can define a constant flag to Respect:, (*7)

<?php
const RESPECT_DO_NOT_RETURN_AUTOLOADER = true;
require_once('Respect\Loader.php');
spl_autoload_register(new Respect\Loader);

The Versions

29/01 2014

dev-master

9999999-dev http://respect.li

Minimalistic Autoloader, PSR-0 complient.

  Sources   Download

BSD Style

The Development Requires

autoloader loader autoload psr-0

21/12 2013

0.2.1

0.2.1.0 http://respect.li

Minimalistic Autoloader, PSR-0 complient.

  Sources   Download

BSD Style

The Development Requires

autoloader loader autoload psr-0

25/11 2012

0.2.0

0.2.0.0

Minimalistic Autoloader

  Sources   Download

BSD Style