PHPackages                             minorwork/minorwork - 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. minorwork/minorwork

AbandonedArchivedLibrary[Framework](/categories/framework)

minorwork/minorwork
===================

A minimal framework

0.4.3(6y ago)111.3k11MITPHPCI failing

Since Jul 13Pushed 6y ago1 watchersCompare

[ Source](https://github.com/CQD/minorwork)[ Packagist](https://packagist.org/packages/minorwork/minorwork)[ RSS](/packages/minorwork-minorwork/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (2)Versions (12)Used By (1)

MinorWork Framework
===================

[](#minorwork-framework)

[![Build Status](https://camo.githubusercontent.com/57b6e7f3d1d30fe1bc2e0951bceea5e2756c8979d60ac56cf84194262c0a4864/68747470733a2f2f7472617669732d63692e6f72672f4351442f6d696e6f72776f726b2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/CQD/minorwork)

A minimal PHP framework that is serious on being minimal.

Features:

- A container.
- Named routing with redirection support
- Less than 300 lines.
- Only external dependency is `nikic/fast-route` for routing.
- Optional Twig integration ([minorwork-twig](https://github.com/CQD/minorwork-twig))

Install
-------

[](#install)

You can install MinorWork with composer.

```
composer require minorwork/minorwork

```

PHP 5.4 or newer required.

Usage
-----

[](#usage)

Using MinorWork framework looks like this:

```
