PHPackages                             viames/pair - 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. viames/pair

ActiveLibrary[Framework](/categories/framework)

viames/pair
===========

Lightweight PHP framework for fast server-rendered web applications with MVC routing, ActiveRecord ORM and API tooling

3.0.1(2mo ago)103.5k↓82.4%21MITPHPPHP ^8.3||^8.4||^8.5CI passing

Since Sep 28Pushed yesterday4 watchersCompare

[ Source](https://github.com/viames/pair)[ Packagist](https://packagist.org/packages/viames/pair)[ Docs](https://viames.github.io/pair/)[ RSS](/packages/viames-pair/feed)WikiDiscussions main Synced yesterday

READMEChangelog (10)Dependencies (9)Versions (126)Used By (1)

Pair
====

[](#pair)

**Lightweight PHP framework for fast server-rendered web applications.**

[Website](https://viames.github.io/pair/) · [Wiki](https://github.com/viames/pair/wiki) · [Boilerplate](https://github.com/viames/pair_boilerplate) · [Issues](https://github.com/viames/pair/issues) · [Releases](https://github.com/viames/pair/releases) · [Security](SECURITY.md)

[![Tests](https://github.com/viames/pair/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/viames/pair/actions/workflows/ci.yml?query=branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/e36b2a08bc931e6baacef67de3d2435415495c40c1bff3178a9b4c1ecb1e2cf5/68747470733a2f2f706f7365722e707567782e6f72672f7669616d65732f706169722f646f776e6c6f616473)](https://packagist.org/packages/viames/pair)[![Latest Stable Version](https://camo.githubusercontent.com/83aa63e956c35fca6c0b31f83dd6621bb76bb12a558d5b132ba3122bfe31a61f/68747470733a2f2f706f7365722e707567782e6f72672f7669616d65732f706169722f762f737461626c65)](https://packagist.org/packages/viames/pair)[![Latest Unstable Version](https://camo.githubusercontent.com/d32122025dd654d793f16a427be65631b19c4486236d42bd57f392a23632f21f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f64796e616d69632f6a736f6e3f75726c3d68747470732533412532462532467261772e67697468756275736572636f6e74656e742e636f6d2532467669616d6573253246706169722532466d61696e253246636f6d706f7365722e6a736f6e2671756572793d2532342e65787472612e6272616e63682d616c6961732e6465762d6d61696e266c6162656c3d6c6174657374253230756e737461626c6526636f6c6f723d6f72616e6765)](https://github.com/viames/pair/tree/main)[![License](https://camo.githubusercontent.com/abb64d13aadfda6d3ec7c0549f33ce7459cf07eaad78ff2ddf3a24daa8d6f1eb/68747470733a2f2f706f7365722e707567782e6f72672f7669616d65732f706169722f6c6963656e7365)](https://packagist.org/packages/viames/pair)[![PHP Version Require](https://camo.githubusercontent.com/089f005ef4afaa57d74295204ab4120ca2e5f39e767b1635773cdccdf76a0bf0/68747470733a2f2f706f7365722e707567782e6f72672f7669616d65732f706169722f726571756972652f706870)](https://packagist.org/packages/viames/pair)

Pair is a lightweight PHP framework for server-rendered web applications. It focuses on fast setup, clear MVC routing, practical ActiveRecord-style ORM features, API tooling, progressive enhancement and optional integrations without heavy tooling.

Pair is designed for small and medium web applications where you want a clear PHP/MySQL stack, server-rendered pages, useful defaults, low operational overhead and a framework that remains easy to inspect, extend and maintain.

Version status
--------------

[](#version-status)

LineStatusRecommended usePair v3StableProduction applicationsPair v4Alpha / developmentNew architecture testing, migration work and early adoptersPair v3 is the current stable release line. Pair v4 is under active development on `main` and may include breaking changes while the next major version is being finalized.

Quick start
-----------

[](#quick-start)

### 1. Install Pair stable

[](#1-install-pair-stable)

```
composer require viames/pair:^3.0
```

Or simply:

```
composer require viames/pair
```

### 2. Bootstrap the application

[](#2-bootstrap-the-application)

```
