定制 people_sdk/item 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

people_sdk/item

最新稳定版本:v1.0.0

Composer 安装命令:

composer require people_sdk/item

包简介

Library People SDK: item components

README 文档

README

Description

Library contains item components, to implements item tools, using API item features.

Requirement

  • Script language: PHP: version 7 || 8

Framework library implementation requirement

  1. 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.

  2. 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.

  3. 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.

  4. Library repository: liberty_code/http: version 1.0

    • 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

  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/item ["<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/item": "<version>"
            }
        }
      

Include

  1. Download

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

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

Usage

TODO

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2024-01-03