2017 © Pedro Peláez
 

library frontman

A simple package to create your own Laravel-style facades

image

hassankhan/frontman

A simple package to create your own Laravel-style facades

  • Monday, February 23, 2015
  • by hassankhan
  • Repository
  • 1 Watchers
  • 3 Stars
  • 705 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 6 Versions
  • 40 % Grown

The README.md

Frontman

Latest version ![Software License][ico-license] Build Status ![Coverage Status][ico-scrutinizer] Quality Score ![Total Downloads][ico-downloads], (*1)

Frontman is a simple class that you can extend to create your own Laravel-style facades (or proxies, as they should be called)., (*2)

Install

Via Composer, (*3)

``` bash $ composer require hassankhan/frontman, (*4)


## Usage ```php use Frontman\Proxy; use Frontman\ProxyInterface; class MyClass { public function foo() { echo 'Foo'; } } class MyOtherClass { protected $value; public function __construct($value) { $this->value = $value; } public function bar() { echo 'Bar'; } } class MyProxy extends Proxy implements ProxyInterface { public static function getRealClass() { return 'MyClass'; } } class MyOtherProxy extends Proxy implements ProxyInterface { public static function getRealClass() { return 'MyOtherClass'; } public static function getConstructorArguments() { return array('5'); } } MyProxy::foo(); // 'Foo' MyOtherProxy::bar(); // 'Bar'

Contributing

Please see CONTRIBUTING.md for details., (*5)

Credits

License

The MIT License (MIT). Please see LICENSE.md for more information., (*6)

The Versions

23/02 2015

dev-master

9999999-dev https://github.com/hassankhan/frontman

A simple package to create your own Laravel-style facades

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

facades hassankhan frontman

23/02 2015

dev-develop

dev-develop https://github.com/hassankhan/frontman

A simple package to create your own Laravel-style facades

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

facades hassankhan frontman

23/02 2015

v0.2.1

0.2.1.0 https://github.com/hassankhan/frontman

A simple package to create your own Laravel-style facades

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

facades hassankhan frontman

23/02 2015

v0.2.0

0.2.0.0 https://github.com/hassankhan/frontman

A simple package to create your own Laravel-style facades

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

facades hassankhan frontman

05/02 2015

v0.1.1

0.1.1.0 https://github.com/hassankhan/frontman

A simple package to create your own Laravel-style facades

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

facades hassankhan frontman

05/02 2015

v0.1

0.1.0.0 https://github.com/hassankhan/frontman

A simple package to create your own Laravel-style facades

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

facades hassankhan frontman