2017 © Pedro Peláez
 

library yapf

image

boudra/yapf

  • Thursday, July 30, 2015
  • by boudra
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

YAPF

This is a PHP framework made for educational purposes and it's not recommended to use in production., (*1)

Features

  • Dependency Injection integrated with the services container
  • Router, can call Clousures, Controller methods or Resource controllers for easy REST API.
  • Query Builder, simple query builder for retrieving, updating and deleting data, supports multiple joins, and advanced where expressions.
  • Simple image manipulation class

Example

use App\Application;
use App\Core\Router;

$app = new Application();

$app->run(function(Router $router) {

    $router->get('/app/{name}/{age:int}', function($name, $age) {

        return [
            'msg' => "Hello $name, you are $age years old!",
        ];

    });

});

// GET http://localhost/app/John/21
{
    "msg": "Hello John, you are 21 years old!"
}

The Versions

30/07 2015

dev-master

9999999-dev

  Sources   Download

The Requires