people_sdk / app_profile
Library People SDK: application profile components
Requires
- php: ~7 || ~8
- liberty_code/attribute_model: ^1.0.
- liberty_code/cache: ^1.0.
- liberty_code/di: ^1.0.
- liberty_code/file: ^1.0.
- liberty_code/handle_model: ^1.0.
- liberty_code/http: ^1.0.
- liberty_code/library: ^1.0.
- liberty_code/model: ^1.0.
- liberty_code/parser: ^1.0.
- liberty_code/requisition: ^1.0.
- liberty_code/validation: ^1.0.
- people_sdk/library: ^1.0.
- people_sdk/role: ^1.0.
This package is auto-updated.
Last update: 2024-10-14 20:01:15 UTC
README
Description
Library contains application profile components, to implements application profile tools, using API application profile features.
Requirement
- Script language: PHP: version 7 || 8
Framework library implementation requirement
Library repository: liberty_code/parser: version 1.0
String table parser factory implementation:
Persistor HTTP request, and persistor HTTP response instances, used via default persistor, provided on repository, must be able to use string table parser factory features (or equivalent), allowing to provide JSON string table parser instances.
Library repository: liberty_code/validation: version 1.0
Standard rules implementation (or equivalent):
Validator provided on entities, must contain all standard rules, added on its rule collection.
Validator rules implementation (or equivalent):
Validator provided on entities, must contain all validator rules, added on its rule collection. Each validator rule must use validator, with same implementation as validator provided on entities.
Library repository: liberty_code/model: version 1.0
Validation entity rules implementation (or equivalent):
Validator provided on entities, must contain all entity rules, added on its rule collection.
Library repository: liberty_code/http: version 1.0
HTTP string table parser factory implementation:
Persistor HTTP request instances, used via default persistor, provided on repository, must be able to use HTTP string table parser factory features (or equivalent), allowing to provide multipart data string table parser instances.
HTTP request factory implementation:
Default persistor provided on repository, must be able to use HTTP request factory features (or equivalent), allowing to provide persistor HTTP request instances.
HTTP response factory implementation:
Client used on default persistor, provided on repository, must be able to use HTTP response factory features (or equivalent), allowing to provide persistor HTTP response instances.
HTTP client implementation:
Default persistor provided on repository, must be able to use HTTP client features (or equivalent), to execute HTTP request sending.
Installation
Several ways are possible:
Composer
Requirement
It requires composer installation. For more information: https://getcomposer.org
Command: Move in project root directory
cd "<project_root_dir_path>"
Command: Installation
php composer.phar require people_sdk/app_profile ["<version>"]
Note
Include vendor
If project uses composer, vendor must be included:
require_once('<project_root_dir_path>/vendor/autoload.php');
Configuration
Installation command allows to add, on composer file "
{ "require": { "people_sdk/app_profile": "<version>" } }
Include
Download
- Download following repository.
- Put it on repository root directory.
Include source
require_once('<repository_root_path>/include/Include.php');
Usage
TODO