sdicgdev/sdi-sdk 问题修复 & 功能扩展

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

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

sdicgdev/sdi-sdk

最新稳定版本:1.0.20

Composer 安装命令:

composer require sdicgdev/sdi-sdk

包简介

A composer package that provides solutions for common tasks for SDI CORE services

README 文档

README

sdi-sdk is a composer installable package that provides solutions to common SDI Core services PHP tasks.

Install

  composer require sdicgdev/sdi-sdk:~1
  composer install

Require in your project

Add the folowing to your composer.json file

  "require": {
    "sdicgdev/sdi-sdk": "~1"
  }

Dependencies

sdi-sdk requires some support functions in the composer package peledies/rhonda which is resolved as a dependency of this sdk

Configuration Files

The methods outlined below may require a configuration JSON file to be loaded in order to use the SDK. This allows you to have a more dynamic development environment with values that are different than your production environment. The configuration file will typically live in the etc directory in your project root.

The configuration file should have a similar structure:

{
  "scheme": "http://",
  "host": "events.eventlink.local",
  "port": 80,
  "path": "/",
  "ssl":false,
  "headers":{
    "Content-Type": "application/json"
  },
  "domain_id":"domain_2",
  "support_services":{
    "elguapo": "http://elguapo.eventlink.local"  // REQUIRED FOR PERMISSIONS VERIFICATION
  }
}

Loading the configuration file

\Rhonda\Config:: load_file("system","path/to/file.json");

Classes and Methods

MethodDescription
verify()Verify a particular permissions flag
try{
  \SDI\Permissions::verify('calendar_list');
}catch(\Exception $e){
  echo \Rhonda\Error::handle($e);
}

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: proprietary
  • 更新时间: 2015-11-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固