2017 © Pedro Peláez
 

library cobber

A miniscule web framework for PHP, inspired by Rack.

image

fijma/cobber

A miniscule web framework for PHP, inspired by Rack.

  • Sunday, December 27, 2015
  • by fijma
  • Repository
  • 1 Watchers
  • 0 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Cobber

Cobber is a miniscule PHP web framework, inspired by rack., (*1)

$app = new Cobber(function($env) { return [200, [], ["G'day mate!"]]; });
$app->run();

Cobber accepts your app as a classname, instance, or closure. Just pass it in on instantiation., (*2)

Cobber supports middlewares. They can be loaded on instantiation:, (*3)

$middlewares = [['MyMiddleware', ['some', 'optional', 'options']]];
$app = new Cobber($myapp, $middlewares);
$app->run();

or added via the add() method:, (*4)

``` $app = new Cobber($myapp); $app->add('MyMiddleware', ['some', 'optional', 'options']); $app->run();, (*5)

The Versions

27/12 2015

dev-master

9999999-dev

A miniscule web framework for PHP, inspired by Rack.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Mathew Fidge

27/12 2015

v1.0.2

1.0.2.0

A miniscule web framework for PHP, inspired by Rack.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Mathew Fidge

26/12 2015

v1.0.1

1.0.1.0

A miniscule web framework for PHP, inspired by Rack.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Mathew Fidge