2017 © Pedro Peláez
 

library wafer

Very Thin, no-framework PHP

image

ideationnet/wafer

Very Thin, no-framework PHP

  • Tuesday, November 14, 2017
  • by darrenmothersele
  • Repository
  • 1 Watchers
  • 1 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Wafer

Simple, very thin, no-framework PHP., (*1)

Install

Via composer, (*2)

composer require ideationnet/wafer

Usage

The simplest way to use this is to create an "invokable":, (*3)

<?php
use Zend\Diactoros\Response\HtmlResponse;
class Hello
{    
    public function __invoke()
    {
        return new HtmlResponse('Hello!');
    }
}

And then just run it by creating an index.php:, (*4)

<?php

use IdNet\Wafer\Application;
use Example\Hello;

require __DIR__.'/../vendor/autoload.php';

Application::run([

    'routes' => [
      ['GET', '/', Hello::class]
    ]

]);

The Versions

03/01 2017

3.0.0

3.0.0.0 https://github.com/ideationnet/wafer

FastRoute and PHP-DI based ADR implementation for PSR-15 compatible middleware stacks

  Sources   Download

MIT

The Requires

 

ideationnet wafer

03/01 2017

2.2.0

2.2.0.0 https://github.com/ideationnet/wafer

FastRoute and PHP-DI based ADR implementation for PSR-15 compatible middleware stacks

  Sources   Download

MIT

The Requires

 

ideationnet wafer

03/01 2017

2.1.0

2.1.0.0 https://github.com/ideationnet/wafer

FastRoute and PHP-DI based ADR implementation for PSR-15 compatible middleware stacks

  Sources   Download

MIT

The Requires

 

ideationnet wafer

23/12 2016

2.0.0

2.0.0.0 https://github.com/ideationnet/wafer

FastRoute and PHP-DI based ADR implementation for PSR-15 compatible middleware stacks

  Sources   Download

MIT

The Requires

 

ideationnet wafer