PHPackages                             phphleb/hleb - 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. phphleb/hleb

ActiveProject[Framework](/categories/framework)

phphleb/hleb
============

PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance.

v2.1.26(1mo ago)290279.8k↓100%28MITPHPPHP &gt;=8.2.0

Since Mar 23Pushed 1mo ago5 watchersCompare

[ Source](https://github.com/phphleb/hleb)[ Packagist](https://packagist.org/packages/phphleb/hleb)[ Docs](https://hleb2framework.ru)[ RSS](/packages/phphleb-hleb/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (234)Used By (0)

HLEB2
=====

[](#hleb2)

[![HLEB LOGO](https://raw.githubusercontent.com/phphleb/hleb/61b20d9135d372c610bb38a49ad383aa5a069964/public/images/logo.png)](https://github.com/phphleb/hleb)

PHP Framework
-------------

[](#php-framework)

[![version](https://camo.githubusercontent.com/848f8015eff6bf4204315f77871e4a302351006a45ddb3a00b796d6d4471c658/68747470733a2f2f706f7365722e707567782e6f72672f706870686c65622f686c65622f76)](https://packagist.org/packages/phphleb/hleb)[![Total Downloads](https://camo.githubusercontent.com/dc6aa9950f16b6bbb176987345ca6d2a427772b05ad9afbdb50acbbc0fb8d0e0/68747470733a2f2f706f7365722e707567782e6f72672f706870686c65622f686c65622f646f776e6c6f616473)](https://packagist.org/packages/phphleb/hleb)[![License: MIT](https://camo.githubusercontent.com/6a971da90180ef445bacc481bafedda8784051a6eb20d93284bfc4c53d748aa9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542532302846726565292d3331433735342e737667)](https://github.com/phphleb/hleb/blob/master/LICENSE)[![PHP](https://camo.githubusercontent.com/b5d4f7901c58ad1ddfff679966f426cc25a9354bab763846b9a7276c2feab4e0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253545382e322d626c7565)](https://camo.githubusercontent.com/b5d4f7901c58ad1ddfff679966f426cc25a9354bab763846b9a7276c2feab4e0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253545382e322d626c7565)[![tests](https://github.com/phphleb/framework/actions/workflows/tests.yml/badge.svg?event=push)](https://github.com/phphleb/framework/actions/workflows/tests.yml)

A distinctive feature of the framework **HLEB2** is the minimalism of the code and the speed of work. The choice of this framework allows you to launch a full-fledged product with minimal time costs and appeals to [documentation](https://hleb2framework.ru); it is easy, simple and fast. At the same time, it solves typical tasks, such as routing, shifting actions to controllers, model support, so, the basic MVC implementation. This is the very minimum you need to quickly launch an application.

Supports PHP 8.2+

Basic features of the framework:

- Standard use or asynchronous (RoadRunner, Swoole)
- MVC(ADR) or modular development
- PSR support
- Original router
- Service container
- Events
- Logging
- Dependency injection
- Caching
- Console commands
- Class autoloader (optional)
- Twig template engine (optional)
- Debug panel
- Creating an [API](https://github.com/phphleb/api-multitool)
- [Registration module](https://github.com/phphleb/hlogin)
- [Admin panel](https://github.com/phphleb/adminpan)

Additional plugins for the framework with integration into [PhpStorm IDE](https://github.com/phphleb/hleb2-phpstorm-plugin) and [Visual Studio Code](https://github.com/phphleb/hleb2-vsc-plugin).

The framework code has been thoroughly [tested](https://github.com/phphleb/tests).

Installation
------------

[](#installation)

To start the framework HLEB2

1. Download the folder with the project from its original location.

Using Composer:

```
$ composer create-project phphleb/hleb
```

2. Assign the address of the resource to the "public" subdirectory.
3. Establish the rights to allow changes for web server for the "storage" folder and all folders and files within it.

Customization
-------------

[](#customization)

Files with project settings are located in the `config` folder of the installed project.

Attention! Initially in the file `/config/common.php`(in the absence of `/config/common-local.php`) the **debug** setting is set to *true*. This means that debug mode is active, which needs to be disabled for a public project.

Greetings
---------

[](#greetings)

Project routes are assigned by the developer in the file “/routes/map.php”.

```
Route::get('/', 'Hello, world!');
```

User Guide
----------

[](#user-guide)

[Link to documentation](https://hleb2framework.ru)

The documentation site was created using the HLEB2 framework.

Technical instructions for the LLM are located in the file /vendor/phphleb/framework/processme.md.

---

[![Tweet](https://camo.githubusercontent.com/cb820a0ecc9645168e33b03925d7f14691262ddbaeaf66a0a91697803d0cba2d/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f75726c2f687474702f736869656c64732e696f2e7376673f7374796c653d736f6369616c)](https://twitter.com/intent/tweet?text=Use%20a%20fast%20and%20simple%20PHP%207-8%20microframework&url=https://github.com/phphleb/hleb&via=phphleb&hashtags=php8.2,framework,developers) [![Telegram](https://camo.githubusercontent.com/283856899f968ef84f9d64725e8a389308b2606a746e9e3e41e16ec773dc4c2e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d54656c656772616d2d626c61636b3f636f6c6f723d7768697465266c6f676f3d74656c656772616d267374796c653d736f6369616c)](https://t.me/phphleb)

###  Health Score

67

—

FairBetter than 99% of packages

Maintenance89

Actively maintained with recent releases

Popularity51

Moderate usage in the ecosystem

Community14

Small or concentrated contributor base

Maturity92

Battle-tested with a long release history

 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.

###  Release Activity

Cadence

Every ~11 days

Total

233

Last Release

55d ago

Major Versions

v1.7.0 → v2.0.02024-01-31

PHP version history (5 changes)v1.0.0PHP ^7.0.0

v1.5.40PHP ^7.0.0 || ^8.0.0

v1.6.0PHP &gt;=7.0.0

v1.6.80PHP &gt;=7.1.0

v2.0.0PHP &gt;=8.2.0

### Community

Maintainers

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

---

Top Contributors

[![phphleb](https://avatars.githubusercontent.com/u/48386098?v=4)](https://github.com/phphleb "phphleb (969 commits)")

---

Tags

frameworkhleb2open-sourcephpphpframeworkhleb2phphlebhleb

### Embed Badge

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

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

###  Alternatives

[phphleb/framework

Engine for Framework HLEB2

233318.7k12](/packages/phphleb-framework)

PHPackages © 2026

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