2017 © Pedro Peláez
 

library autoloader

image

collectivism/autoloader

  • Saturday, August 23, 2014
  • by aniketpant
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

autoloader Build Status

Installation

Add this to your composer.json and run composer install., (*1)

  "require": {
    "collectivism/autoloader": "dev-master"
  }

Usage

use \Collectivism\Autoloader;

$autoloader = Autoloader::getInstace();

$classMap = array(
  'Namespace1\\SubNamespace1' => __DIR__ .
  '/Namespace1/SubNamespace1',
  'Namespace2\\SubNamespace2' => __DIR__ .
  '/Namespace2/SubNamespace2',
);

$autoloader->register($classMap);

The Versions

23/08 2014

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

  • php >=5.4

 

by Aniket Pant
by Bhaskar Saraogi