Want to work for Gamer Network? We are hiring!
The foundation of Yolk web applications. Request/Response handling, routing, middleware etc.
- PHP 5.4 or later
- Yolk Contracts (
gamernetwork/yolk-contracts
) - Yolk Core (
gamernetwork/yolk-core
) - Yolk Support (
gamernetwork/yolk-support
)
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.
Yolk Application is open-sourced software licensed under the MIT license.
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.