PHPackages                             fran-f/yolk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. fran-f/yolk

ActiveLibrary[Framework](/categories/framework)

fran-f/yolk
===========

Yolk is a toy framework for small projects.

1.0.1(4mo ago)09GPL-3.0-or-laterPHPPHP &gt;=8.4

Since May 31Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/fran-f/yolk)[ Packagist](https://packagist.org/packages/fran-f/yolk)[ RSS](/packages/fran-f-yolk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

Yolk - A toy framework for small projects
=========================================

[](#yolk---a-toy-framework-for-small-projects)

Yolk is a small router-plus-dispatcher library for PHP applications running under Apache.

- Routes to controllers
- Request pre-processors (middleware)
- Structured access to request parameters
- Friendly syntax for common responses
- Path generation for named routes
- Error pages and exception handling
- Supports dependency injection

Sample front controller
-----------------------

[](#sample-front-controller)

```
