2017 © Pedro Peláez
 

project embryo-framework

Embryo is a simple MVC PHP Framework for building web applications.

image

davidecesarano/embryo-framework

Embryo is a simple MVC PHP Framework for building web applications.

  • Tuesday, February 20, 2018
  • by davidecesarano
  • Repository
  • 1 Watchers
  • 0 Stars
  • 48 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 31 Versions
  • 12 % Grown

The README.md

Embryo Framework

Embryo is a simple PHP framework for building web applications., (*1)

require 'vendor/autoload.php';

$app = new Embryo\Application;

$app->get('/', function ($request, $response) {
    return $response->write('Hello World!');
});

$app->run();

Features

  • PSR Support. Embryo support PSR-7 HTTP Message, PSR-17 HTTP Factories, PSR-15 HTTP Server Request Handlers and PSR-11 Container.
  • HTTP Router. Embryo provides a PSR compatible router that maps route callbacks to specific HTTP request methods and URIs. It supports parameters and pattern matching. See Embryo Routing.
  • Middleware. Embryo uses Middleware to manipulate the Request and Response object of application. Embryo support middlewares that implement PSR-15 HTTP Handlers. See Embryo Middleware.
  • Dependency Injection. Embryo uses a dependency container to create, manage ad inject application dependencies. Embryo support containers that implement PSR-11 Container Interface. See Embryo Container

Requirements

  • PHP >= 7.1
  • URL Rewriting

Installation

Using Composer:, (*2)

$ composer require davidecesarano/embryo-framework

Application

The easiest way to start working with Embryo is to create a project using Embryo Skeleton Application as a base., (*3)

The Versions