2017 © Pedro Peláez
 

library static-proxy

StaticProxy provides static interface to an instance method.

image

kohkimakimoto/static-proxy

StaticProxy provides static interface to an instance method.

  • Monday, August 4, 2014
  • by kohkimakimoto
  • Repository
  • 2 Watchers
  • 3 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

StaticProxy

Build Status, (*1)

StaticProxy provides static interface to an instance method. It's heavily inspired by the Facades of Laravel., (*2)

Requirement

PHP5.3 or later., (*3)

Installation

You can use composer installation. Make composer.json file like the following., (*4)

{
      "require": {
          "kohkimakimoto/static-proxy": "0.*"
      }
}

And run composer install command., (*5)

$ curl -s http://getcomposer.org/installer | php
$ php composer.phar install

Usage

<?php
use Kohkimakimoto\StaticProxy\StaticProxy;
use Kohkimakimoto\StaticProxy\StaticProxyContainer;

$container = new StaticProxyContainer();
$container->bind("hello", new HelloworldFunctions());

StaticProxy::setContainer($container);
StaticProxy::addAlias("Hw", "Test\Kohkimakimoto\StaticProxy\Helloworld");

Hw::helloWorld();

Author

Kohki Makimoto kohki.makimoto@gmail.com, (*6)

License

MIT, (*7)

The Versions

04/08 2014

dev-master

9999999-dev https://github.com/kohkimakimoto/StaticProxy

StaticProxy provides static interface to an instance method.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

proxy static

04/08 2014

v0.1.0

0.1.0.0 https://github.com/kohkimakimoto/StaticProxy

StaticProxy provides static interface to an instance method.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

proxy static