Download the PHP
package phphleb/hleb without Composer
On this page you can find all versions of the php package
phphleb/hleb. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor phphleb Package hleb Short Description PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance. License
MIT Homepage https://hleb2framework.ru
After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.
Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.
In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories.
In this case some credentials are needed to access such packages.
Please use the auth.json textarea to insert credentials, if a package is coming from a private repository.
You can look here for more information.
Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
To use Composer is sometimes complicated. Especially for beginners.
Composer needs much resources. Sometimes they are not available on a simple webspace.
If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
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.
Download the folder with the project from its original location.
Using Composer:
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.
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
Project routes are assigned by the developer in the file “/routes/map.php”.
Composer command for our command line client (download client)This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free.Standard composer command
The package phphleb/hleb contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.