2017 © Pedro Peláez
 

library autoloadermap

Library for fetching composer auto-loader map

image

theorx/autoloadermap

Library for fetching composer auto-loader map

  • Saturday, December 17, 2016
  • by theorx
  • Repository
  • 1 Watchers
  • 1 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Auto-loader map

Build Status, (*1)

Description

This library makes composer's auto-loader map accessible without having to manually find the files for inclusion. Main usage for this would be to build modularized applications which rely on composer's packages. Caching of the autoload values is currently not built in, but may get implemented in the future This library works on top of composer's autoloader map. This means, that in order for it to work you must use it from the vendor directory. In order to use it you must use composer dump-autoload -o "dash optimize ( -o ) is crucial"., (*2)

Requirements

  • PHP >= 7
  • composer

Dev-requirements

  • phpunit

Usage

Require theorx/autoloadermap with composer. Example: composer require theorx/autoloadermap, (*3)

<?php

require_once(__DIR__.'/vendor/autoload.php');

$autoLoaderMap = new Theorx\AutoLoaderMap\AutoLoaderMap();

//get Classmap
$autoLoaderMap->getClassMap(); //Returns array of classes

//get namespaces
$autoLoaderMap->getNamespaces(); // Returns array of namespaces from autoload_namespaces.php

//get PSR-4 
$autoLoaderMap->getPSR4(); // Returns psr-4


Author

  • Lauri Orgla theorx@hotmail.com

The Versions

17/12 2016

dev-master

9999999-dev

Library for fetching composer auto-loader map

  Sources   Download

MIT

The Requires

  • php >=7

 

The Development Requires

17/12 2016

dev-develop

dev-develop

Library for fetching composer auto-loader map

  Sources   Download

MIT

The Requires

  • php >=7

 

The Development Requires

17/12 2016

1.1.0

1.1.0.0

Library for fetching composer auto-loader map

  Sources   Download

MIT

The Requires

  • php >=7

 

The Development Requires

25/10 2016

1.0.0

1.0.0.0

Library for fetching composer auto-loader map

  Sources   Download

MIT

The Development Requires