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; 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
- Registration module
- Mutexes
- Admin panel
An additional plugin for the framework with integration into PhpStorm IDE.
The framework code has been thoroughly tested.
To start the framework HLEB2
- Download the folder with the project from its original location.
Using Composer:
$ composer create-project phphleb/hleb
- Assign the address of the resource to the "public" subdirectory.
- Establish the rights to allow changes for web server for the "storage" folder and all folders and files within it.
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.
Project routes are assigned by the developer in the file “/routes/map.php”.
Route::get('/', 'Hello, world!');
The documentation site was created using the HLEB2 framework.