2017 © Pedro Peláez
 

library aliasloader

Class aliasing for provide flat namespace on your application.

image

zonuexe/aliasloader

Class aliasing for provide flat namespace on your application.

  • Saturday, January 16, 2016
  • by zonuexe
  • Repository
  • 1 Watchers
  • 0 Stars
  • 15 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 7 % Grown

The README.md

Teto AliasLoader

Package version Build Status Packagist, (*1)

Class aliasing for provide flat namespace on your Application., (*2)

Note

This library is designed for Application. Do not use AliasLoader by public library code., (*3)

Installation

Composer

composer require zonuexe/aliasloader

Features

Before

You have to write use statement to each files., (*4)

<?php
namespace MyProject\Nested;

use Deep\Nested\Library\Module\Awesome\Miracle as AwesomeClass;

AwesomeClass::awesome_method();

After

<?php

/**
 * bootstrap.php
 */
\Teto\AliasLoader::add('Deep\Nested\Library\Module\Awesome\Miracle', 'AwesomeClass');
<?php
namespace MyProject\Nested;

AwesomeClass::awesome_method();

see ./LICENSE., (*5)

Class aliasing for provide flat namespace on your application
Copyright (c) 2015 USAMI Kenta <tadsan@zonu.me>

Teto Kasane

I love Teto Kasane. (ja: Teto Kasane official site), (*6)

       r /
  __ , --ヽ!-- .、_
 !  `/::::;::::ヽ l
 !二二!::/}::::丿ハニ|
 !ニニ.|:/ ノ/ }::::}コ
 L二lイ  0´ 0 ,':ノコ
 lヽノ/ヘ、 '' ▽_ノイ ソ
  ソ´ /}`ス / ̄ ̄ ̄ ̄/
   .(_:;つ/  0401 / カタカタ
  ̄ ̄ ̄ ̄ ̄\/____/

The Versions

16/01 2016

dev-master

9999999-dev

Class aliasing for provide flat namespace on your application.

  Sources   Download

Apache-2.0

The Development Requires

alias class loader

15/01 2016

0.0.2

0.0.2.0

Class aliasing for provide flat namespace on your application.

  Sources   Download

Apache-2.0

The Development Requires

alias class loader

14/01 2016

0.0.1

0.0.1.0

Class aliasing for provide flat namespace on your application.

  Sources   Download

Apache-2.0

The Development Requires

alias class loader