gamernetwork / yolk-application
Gamer Network's PHP application foundation
Installs: 6 834
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 10
Forks: 1
Open Issues: 0
Requires
- php: >=5.4.0
- gamernetwork/yolk-contracts: 1.*
- gamernetwork/yolk-core: 1.*
- gamernetwork/yolk-support: 1.*
- pimple/pimple: 3.*
Requires (Dev)
- phpunit/phpunit: 4.*
- sami/sami: 3.*
This package is not auto-updated.
Last update: 2025-04-22 06:31:34 UTC
README
Want to work for Gamer Network? We are hiring!
Yolk Application
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.