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

ActiveLibrary[Framework](/categories/framework)

relax/relax
===========

A PHP micro-framework based on the CommonJS Module pattern and Symfony2 Components

110PHP

Since Oct 10Pushed 13y agoCompare

[ Source](https://github.com/DrBenton/Relax)[ Packagist](https://packagist.org/packages/relax/relax)[ RSS](/packages/relax-relax/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Relax
=====

[](#relax)

Yet another PHP 5.3+ microframework... Yeah, but this one is not a nth Sinatra clone ! ;-)

[![build status](https://camo.githubusercontent.com/d2ea7079ee022f80726ef257d9be4cdd05cc488210f8a46a0798e4dbc05f076c/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f447242656e746f6e2f52656c61782e706e67)](http://travis-ci.org/DrBenton/Relax)

It is based on Symfony [HttpFoundation](http://symfony.com/doc/master/components/http_foundation/introduction.html)&amp; [Routing](http://symfony.com/doc/master/components/routing.html) Components and [CommonJS For PHP](https://github.com/DrBenton/CommonJSForPHP) Module pattern, and aims to be as lightweight as possible.

It is designed to be used with a simple YAML config file, which contains all the application routes and configuration parameters. Create a new instance of `Relax\Application`, give it the YAML file path, and... relax, it's ready!

It is bundled with several common services Providers:

- Symfony Session Provider
- Symfony URL Generator Provider
- Twig Provider
- Monolog Provider

Althought it doesn't use Symfony's HttpKernel, the `Relax\Application` class implements the `Symfony\Component\HttpKernel\HttpKernelInterface`, and can be used with the pure PHP [Symfony Reverse Proxy](http://symfony.com/doc/2.0/book/http_cache.html#symfony-gateway-cache).

Documentation will come soon. You can look at Unit Tests for more information.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/e139c6f3cf7cd4a4df8bc617ae5275861739f241cf99e2258c112b7112fbdb0a?d=identicon)[DrBenton](/maintainers/DrBenton)

---

Top Contributors

[![olivierphi](https://avatars.githubusercontent.com/u/722388?v=4)](https://github.com/olivierphi "olivierphi (12 commits)")

### Embed Badge

![Health badge](/badges/relax-relax/health.svg)

```
[![Health](https://phpackages.com/badges/relax-relax/health.svg)](https://phpackages.com/packages/relax-relax)
```

###  Alternatives

[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k39.6M299](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
