PHPackages                             henrivantsant/henri - 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. henrivantsant/henri

ActiveLibrary[Framework](/categories/framework)

henrivantsant/henri
===================

Simple PHP framework based on Symfony

v1.08(5y ago)135[13 issues](https://github.com/HenrivantSant/henri/issues)MITPHPPHP &gt;= 7.4

Since Oct 12Pushed 3y ago1 watchersCompare

[ Source](https://github.com/HenrivantSant/henri)[ Packagist](https://packagist.org/packages/henrivantsant/henri)[ Docs](https://github.com/HenrivantSant/henri)[ RSS](/packages/henrivantsant-henri/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (11)Versions (10)Used By (0)

henri
=====

[](#henri)

Deprecated
----------

[](#deprecated)

This package is unmaintained. The project is replaced by [Swift](https://github.com/SwiftAPI/swift).

Intro
-----

[](#intro)

This is a simple, fast and basic PHP framework meant to write API's or simple programs in a fast and easy way. This is a not meant as a replacement for other frameworks, under the hood it uses a lot of the magic from [Symfony](https://symfony.com/), [Dibi](https://github.com/dg/dibi), [Unirest](https://github.com/Kong/unirest-php), [Monolog](https://github.com/Seldaek/monolog) and [Firebase](https://github.com/firebase/php-jwt).

Get it from Composer .

```
composer require henrivantsant/henri
```

### Purpose

[](#purpose)

This framework is not intended for building websites or big applications. The purpose of this framework is to provide a simple set of basic tools to build simple services, like:

- Simple webservice
- API proxy to bundle several APIs endpoints into one
- Data caching layer
- API endpoint for React/Vue front-ends
- Logging service
- CDN

Table of contents
-----------------

[](#table-of-contents)

1. [Routing](https://github.com/HenrivantSant/henri/blob/master/Docs/Routing.md#1-routing)
    1. [Controllers](https://github.com/HenrivantSant/henri/blob/master/Docs/Routing.md#controllers)
    2. [Route annotation](https://github.com/HenrivantSant/henri/blob/master/Docs/Routing.md#route-annotation)
    3. [Responses](https://github.com/HenrivantSant/henri/blob/master/Docs/Routing.md#responses)
    4. [Exceptions](https://github.com/HenrivantSant/henri/blob/master/Docs/Routing.md#exceptions)
    5. [Hooking in to the router (route events)](https://github.com/HenrivantSant/henri/blob/master/Docs/Routing.md#route-annotation)
2. [Dependency Injection](https://github.com/HenrivantSant/henri/blob/master/Docs/Dependency-Injection.md#2-dependency-injection)
    1. [How to inject](https://github.com/HenrivantSant/henri/blob/master/Docs/Dependency-Injection.md#how-to-inject)
3. [Configuration](https://github.com/HenrivantSant/henri/blob/master/Docs/Configuration.md#3-configuration)
    1. [Basic setup](https://github.com/HenrivantSant/henri/blob/master/Docs/Configuration.md#basic-setup)
    2. [Configuration scopes](https://github.com/HenrivantSant/henri/blob/master/Docs/Configuration.md#configuration-scopes)
    3. [Reading the configuration](https://github.com/HenrivantSant/henri/blob/master/Docs/Configuration.md#reading-the-configuration)
    4. [Writing the configuration](https://github.com/HenrivantSant/henri/blob/master/Docs/Configuration.md#writing-the-configuration-in-code)
4. [Database handling](https://github.com/HenrivantSant/henri/blob/master/Docs/Database.md#4-database-handling)
    1. Database layer
    2. Entities
    3. Entity Manager
    4. Entity Manager List
    5. Command line interface
5. [Making (curl) requests](https://github.com/HenrivantSant/henri/blob/master/Docs/Making-Requests.md#5-making-curl-requests)
    1. Request service
6. [Command Line](https://github.com/HenrivantSant/henri/blob/master/Docs/Command-Line-Interface.md#6-command-line-interface)
    1. [Setup](https://github.com/HenrivantSant/henri/blob/master/Docs/Command-Line-Interface.md#setup)
    2. [Default commands](https://github.com/HenrivantSant/henri/blob/master/Docs/Command-Line-Interface.md#default-commands)
    3. [Create your own commands](https://github.com/HenrivantSant/henri/blob/master/Docs/Command-Line-Interface.md#create-your-own-commands)
7. [Annotations](https://github.com/HenrivantSant/henri/blob/master/Docs/Annotations.md#7-annotations)
    1. [What &amp; why annotations](https://github.com/HenrivantSant/henri/blob/master/Docs/Annotations.md#what--why-annotations)
    2. [How use your own annotations](https://github.com/HenrivantSant/henri/blob/master/Docs/Annotations.md#how-use-your-own-annotations)
8. [Events &amp; subscribers](https://github.com/HenrivantSant/henri/blob/master/Docs/Events-and-Subscribers.md#8-events--subscribers)
    1. [Default system events](https://github.com/HenrivantSant/henri/blob/master/Docs/Events-and-Subscribers.md#default-system-events)
    2. [How to subscribe to events](https://github.com/HenrivantSant/henri/blob/master/Docs/Events-and-Subscribers.md#how-to-subscribe-to-events)
    3. [How to create your own events](https://github.com/HenrivantSant/henri/blob/master/Docs/Events-and-Subscribers.md#how-to-create-your-own-events)
    4. [Dispatch events](https://github.com/HenrivantSant/henri/blob/master/Docs/Events-and-Subscribers.md#dispatch-events)
9. [Logging (Monolog)](https://github.com/HenrivantSant/henri/blob/master/Docs/Logging.md#logging)
    1. Native logging
    2. Configuration
    3. Ways of logging
    4. Use your logger
10. [Authentication](https://github.com/HenrivantSant/henri/blob/master/Docs/Authentication.md#authentication)
    1. Authentication levels
    2. API Key
    3. JWT
    4. User logins
    5. Add your level and/or authentication
11. [Users](https://github.com/HenrivantSant/henri/blob/master/Docs/Users.md#users)
    1. User management
    2. Create a user
    3. Update user
    4. User authentication
12. [GraphQL](https://github.com/HenrivantSant/henri/blob/master/Docs/GraphQL.md#graphql)
13. What's next!
    1. Native logging interface (status: in development)
    2. Out of the box GraphQL support (status: expected early 2021)
    3. Support websockets
    4. PHP8 Compatibility (status: expected early 2021)
    5. Overriding framework classes by setting preferences to the container (status: no expection yet)
    6. Influence DI behaviour using Annotations (status: no expectation yet)
    7. Default annotation reading service with PHP8 Annotations support (status: no expectation yet)
    8. Support websockets

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 61.8% 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.

###  Release Activity

Cadence

Every ~23 days

Recently: every ~45 days

Total

9

Last Release

1855d ago

PHP version history (2 changes)v1.0PHP &gt;= 7.3

v1.08PHP &gt;= 7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/a593f38f88a32d42830f7cf2805ab817b1997acb92ecbcb59d5b85add2ef5525?d=identicon)[henri@henrivantsant.dev](/maintainers/henri@henrivantsant.dev)

---

Top Contributors

[![Buro26-Henri](https://avatars.githubusercontent.com/u/71004244?v=4)](https://github.com/Buro26-Henri "Buro26-Henri (34 commits)")[![HenrivantSant](https://avatars.githubusercontent.com/u/33251446?v=4)](https://github.com/HenrivantSant "HenrivantSant (21 commits)")

---

Tags

annotationcurlroutersymfonyunirestapisymfonyframeworkSimple

### Embed Badge

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

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

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[silverstripe/framework

The SilverStripe framework

7213.5M2.5k](/packages/silverstripe-framework)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)

PHPackages © 2026

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