people_sdk/module_space_auth_key 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

people_sdk/module_space_auth_key

最新稳定版本:v1.0.0

Composer 安装命令:

composer require people_sdk/module_space_auth_key

包简介

Module People SDK: space authentication key components

README 文档

README

Description

Library contains application modules, to implements space authentication key components, to use API space authentication key features, on application. Application is considered as LibertyCode application.

Requirement

  • Script language: PHP: version 7 || 8

Framework module installation requirement

  1. Module repository: liberty_code_module/validation: version 1.0

    • Module validation (or equivalent).
    • Module rule (or equivalent).
  2. Module repository: liberty_code_module/datetime: version 1.0

    • Module datetime (or equivalent).
  3. Module repository: people_sdk/module_library: version 1.0

    • Module requisition (or equivalent).
  4. Other module implementation:

    • DI configuration:

      • people_requisition_persistor:

        See people_sdk/space_auth_key v1.0 framework library implementation requirement, for persistor.

      • people_requisition_config.

Installation

Several ways are possible:

Composer

  1. Requirement

    It requires composer installation. For more information: https://getcomposer.org

  2. Command: Move in project root directory

     cd "<project_root_dir_path>"
    
  3. Command: Installation

     php composer.phar require people_sdk/module_space_auth_key ["<version>"]
    
  4. 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 "/composer.json", following configuration:

        {
            "require": {
                "people_sdk/module_space_auth_key": "<version>"
            }
        }
      

Include

  1. Download

    • Download following repository.
    • Put it on repository root directory.
  2. Include source

     require_once('<repository_root_dir_path>/include/Include.php');
    

Application installation

Configuration

  1. Configuration: application module: "/config/Module."

    Add in list part, required modules:

    Example for YML configuration format, from composer installation:

     list: [
         {
             path: "/vendor/people_sdk/module_space_auth_key/src/auth_key",
             config_parser: {
                 type: "string_table_php",
                 source_format_get_regexp: "#^\\<\\?php\\s*(.*)(\\s\\?\\>)?\\s*$#ms",
                 source_format_set_pattern: "<?php \\n%1$s",
                 cache_parser_require: true,
                 cache_file_parser_require: true
             }
         },
         {
             path: "/vendor/people_sdk/module_space_auth_key/src/requisition",
             config_parser: {
                 type: "string_table_php",
                 source_format_get_regexp: "#^\\<\\?php\\s*(.*)(\\s\\?\\>)?\\s*$#ms",
                 source_format_set_pattern: "<?php \\n%1$s",
                 cache_parser_require: true,
                 cache_file_parser_require: true
             }
         }
     ]
    

Configuration

Application parameters configuration

  • Use following file on your modules to configure specific elements

      <module_root_path>/config/ParamApp.php
    
  • Elements configurables

    • Configuration to param space authentication key factory.

    • Configuration to param space authentication key requisition request sending information factory.

Usage

TODO

统计信息

  • 总下载量: 65
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2023-08-15