Download the PHP package phphleb/hlogin without Composer
On this page you can find all versions of the php package phphleb/hlogin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download phphleb/hlogin
More information about phphleb/hlogin
Files in phphleb/hlogin
Package hlogin
Short Description Registration module for the HLEB2 project
License MIT
Informations about the package hlogin
HLOGIN
The HLOGIN library expands the capabilities of the HLEB2 framework by adding full-fledged user registration on the site which is characterized by simplicity of settings and quick installation and (at the same time) convenient and diverse functionality that supports multilingualism and several design options. Optionally you can display a feedback form that goes in addition to registration and authorization. In the automatically created admin panel you will find tools for user management and display settings. After that you can immediately direct your thoughts to creating content for the site.
Supported MySQL / MariaDB / PostgreSQL / SQLite
Required PHP extensions: json, gd, pdo, pdo-mysql / pdo-pgsql / pdo-sqlite, readline
Installation
Step 1. Installation via Composer into an existing HLEB2 project:
Step 2. Installing the library into the project. You will be asked to choose a design from several:
Connection
Step 3. Before doing this action you must have a valid connection to the database. In the project settings /config/database.php
you need to specify the connection and specify its name there in the base.db.type
option.
After that the console command creates the necessary tables and a user with administrator rights (you will be prompted to specify an E-mail and password):
If it is not possible to execute a console command, then create tables using an SQL query from the /vendor/phphleb/hlogin/planB.sql
file.
After that, register an administrator and set his regtype equal to 11.
Step 4. Now you can go to the main stub page of the site if it is installed without changes and make sure that the authorization panels are available.
If the library is not installed in the developed project on the HLEB2 framework from the beginning you should check the entry on the /en/login/action/enter/
page of the site.
Step 5. Setting up registration on the site on specific pages through routing.
To do this you need to set the following conditions in the routing files (project folder /routes/
):
It should be borne in mind that pages that don't fall into any of these groups with conditions are outside the registration rules and this library is not connected to them.
Step 6. Configuration. After authorization in the administrator profile (/en/login/profile/
) the login button to the admin panel is displayed. You can configure registration panels and other conditions there.
If you need to display data depending on the type of user registration you can use the following checks:
More detailed information in the framework documentation.
All versions of hlogin with dependencies
ext-readline Version *
ext-json Version *
ext-pdo Version *
ext-gd Version *
ext-mbstring Version *
phphleb/framework Version >=2.0.0
phphleb/debugpan Version >=2.0.0
phphleb/updater Version *
phphleb/adminpan Version dev-master
phphleb/muller Version *
phphleb/nicejson Version dev-main
phphleb/ucaptcha Version dev-main
phphleb/spreader Version dev-main