PHPackages                             lion/framework - 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. lion/framework

ActiveProject[Framework](/categories/framework)

lion/framework
==============

The Lion-Framework

v5.1.1(2mo ago)321[1 PRs](https://github.com/lion-packages/framework/pulls)MITPHPPHP &gt;=8.5CI passing

Since Oct 24Pushed 1mo agoCompare

[ Source](https://github.com/lion-packages/framework)[ Packagist](https://packagist.org/packages/lion/framework)[ Docs](https://lion-client.vercel.app/)[ RSS](/packages/lion-framework/feed)WikiDiscussions 5.x Synced 1mo ago

READMEChangelog (10)Dependencies (8)Versions (76)Used By (0)

 [ ![presentation-lion-packages](https://private-user-images.githubusercontent.com/56183278/499127476-2e6ced92-687d-49c7-bf0e-bad214b1fd5e.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzUyMzI4NDcsIm5iZiI6MTc3NTIzMjU0NywicGF0aCI6Ii81NjE4MzI3OC80OTkxMjc0NzYtMmU2Y2VkOTItNjg3ZC00OWM3LWJmMGUtYmFkMjE0YjFmZDVlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA0MDMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNDAzVDE2MDkwN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWNhMjBiNTAxZTkwNDI0ZTg5ZWFhNDdlYjM1NmRhYmNiMTk1MDBmODA1MWJjZTI1NDc1ZjllYjY1NjM5MTk5MmMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0._Kvuea3QiVWjcTrLqyWiGhy5qD8_n1NOp8_r0DoTrls) ](https://lion-client.vercel.app/)

 [ ![Latest Stable Version](https://camo.githubusercontent.com/c5d6f2d3feb59d57820f2c86bce2899438354c1a4e642d7df4d7f0c6e5ce069a/68747470733a2f2f706f7365722e707567782e6f72672f6c696f6e2f6672616d65776f726b2f76) ](https://packagist.org/packages/lion/framework) [ ![Total Downloads](https://camo.githubusercontent.com/afebc07ae064ac3b716646c666eb715f8ef8cb7641e7478206eba55267b4e134/68747470733a2f2f706f7365722e707567782e6f72672f6c696f6e2f6672616d65776f726b2f646f776e6c6f616473) ](https://packagist.org/packages/lion/framework) [ ![License](https://camo.githubusercontent.com/52bbf1778afd6a4bd17782392f57f2ea42488a08663b06d74ddaec4fb71d032b/68747470733a2f2f706f7365722e707567782e6f72672f6c696f6e2f6672616d65776f726b2f6c6963656e7365) ](https://github.com/lion-packages/framework/blob/main/LICENSE) [ ![PHP Version Require](https://camo.githubusercontent.com/c07d498278d61ac99bce898782d642df3eb14f06f85cfa6f2babdf27c897de35/68747470733a2f2f706f7365722e707567782e6f72672f6c696f6e2f6672616d65776f726b2f726571756972652f706870) ](https://www.php.net/)

🚀 **Lion-Framework** is a web application framework with a simple and powerful syntax, designed to help developers build fast and scalable applications.

---

📖 Features
----------

[](#-features)

✔️ Simple and fast routing engine.
✔️ Dependency injection container.
✔️ Native and easy-to-use database ORM.
✔️ Database independent schema migrations.

---

📦 Installation
--------------

[](#-installation)

Install the framework using **Composer**:

```
composer create-project lion/framework
```

Usage Example
-------------

[](#usage-example)

```
use Lion\Route\Route;

Route::get('hello', function (): string {
    return "Hello, world! 🦁";
});
```

📝 License
---------

[](#-license)

The **framework** is open-sourced software licensed under the [MIT License](https://github.com/lion-packages/framework/blob/main/LICENSE).

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance88

Actively maintained with recent releases

Popularity10

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 88.9% 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 ~12 days

Total

71

Last Release

78d ago

Major Versions

v1.0.1 → v2.0.02024-02-09

v2.14.0 → v3.0.02024-05-16

v3.14.0 → v4.0.02025-01-15

4.x-dev → v5.0.02025-12-29

PHP version history (5 changes)v1.0.0PHP &gt;=8.1

v2.0.0PHP &gt;=8.2

v2.13.0PHP &gt;=8.3

v4.0.0PHP &gt;=8.4

v5.0.1PHP &gt;=8.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/1419758fcb0259274d35f6d2cbfb5a60694baa74e99437d32dfec9a0d5c10d65?d=identicon)[lion-packages](/maintainers/lion-packages)

---

Top Contributors

[![Sleon4](https://avatars.githubusercontent.com/u/56183278?v=4)](https://github.com/Sleon4 "Sleon4 (505 commits)")[![GabrielPalac](https://avatars.githubusercontent.com/u/162063476?v=4)](https://github.com/GabrielPalac "GabrielPalac (28 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (27 commits)")[![mcesmeralda](https://avatars.githubusercontent.com/u/96641807?v=4)](https://github.com/mcesmeralda "mcesmeralda (5 commits)")[![MMarioLP](https://avatars.githubusercontent.com/u/105904645?v=4)](https://github.com/MMarioLP "MMarioLP (2 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (1 commits)")

---

Tags

api-restcomposerdockerelectronjsemaillionmysqlnpmphpphpunitpostgresqlredisvitejsframeworklionlion-framework

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.7k509.9M17.0k](/packages/laravel-framework)[shopware/platform

The Shopware e-commerce core

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

The SilverStripe framework

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

Anahita Knowledge Networking Platform and Framework

4438.0k2](/packages/anahita-anahita)[openpsa/midcom

Content-oriented Model-View-Controller framework for PHP

293.2k1](/packages/openpsa-midcom)

PHPackages © 2026

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