Skip to content

gamernetwork/yolk-application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Want to work for Gamer Network? We are hiring!

Yolk Application

Scrutinizer Code Quality

The foundation of Yolk web applications. Request/Response handling, routing, middleware etc.

Requirements

  • PHP 5.4 or later
  • Yolk Contracts (gamernetwork/yolk-contracts)
  • Yolk Core (gamernetwork/yolk-core)
  • Yolk Support (gamernetwork/yolk-support)

Installation

It is installable and autoloadable via Composer as gamernetwork/yolk-application.

Alternatively, download a release or clone this repository, and add the \yolk\app namespace to an autoloader.

License

Yolk Application is open-sourced software licensed under the MIT license.

Overview

This package contains the components and services required to construct a basic Yolk web application.

Applications extend the BaseApplication class, which in-turn extends the BaseDispatcher class and use a Router in order to pass a Request through middlewares to a handler (usually extending BaseController). Handlers return a Response (usually a subclass of BaseResponse) which is sent to the client.

Further Reading