定制 sageit/salesforce-rest 二次开发

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

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

sageit/salesforce-rest

最新稳定版本:v0.01

Composer 安装命令:

composer require sageit/salesforce-rest

包简介

Sage IT Component Salesforce REST integration

README 文档

README

Logo

Phalcon REST

Latest Stable Version Total Downloads License PHP Version Require Phalcon Version

Library for consuming Salesforce REST API via GuzzleHttp

Explore the docs »

Report Bug · Request Feature

Table of Contents


About The Project

Built With


Installation

Git:

git clone https://github.com/SageITSolutions/salesforce-rest.git

Composer:

composer require sageit/salesforce-rest

Implementing a Service

This project consists of prebuild services that simply need to be added to DI for services. JWT assumes the presense of a config object in the DI with a JWT section. This can also be passed as a named array in the constructor, but the provided JWT service does not utilize this.

Config Register

One option is to have your application iterate services listed in the config object and register them

services:
  tools: Phalcon\Di\Service\Common\Tools
  request: Phalcon\Di\Service\Request\Json
  response: Phalcon\Di\Service\Response\Json
  jwt: Phalcon\Di\Service\Encryption\Security\JWT\Jwt
foreach ($config->services as $service => $class) {
  $di->register(new $class);
}

Register Manually

$di->register(new \Phalcon\Di\Service\Common\Tools());
$di->register(new \Phalcon\Di\Service\Request\Json());
$di->register(new \Phalcon\Di\Service\Response\Json());
$di->register(new \Phalcon\Di\Service\Encryption\Security\JWT\Jwt());

Sections

Roadmap

See the open issues for a list of proposed features (and known issues).


Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.


Contact

Sage IT Solutions - Email

Project Link: https://github.com/SageITSolutions/salesforce-rest

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-01-17