定制 volodymyr68/keycrm_php_sdk 二次开发

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

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

volodymyr68/keycrm_php_sdk

最新稳定版本:v1.0.0

Composer 安装命令:

composer require volodymyr68/keycrm_php_sdk

包简介

This package implements API methods for KeyCrm.

README 文档

README

This package provides an SDK for interacting with the KeyCRM API. It allows developers to integrate KeyCRM features into their PHP applications seamlessly.

Installation

To install this package, use Composer:

composer require volodymyr68/keycrm_php_sdk

Requirements

  • PHP 8.0 - 8.4
  • OpenSSL extension
  • cURL extension

Usage

Initialize the SDK

To start using the SDK, include the KeycrmSdk\Keycrm class and initialize it with your API key:

require 'vendor/autoload.php';

use KeycrmSdk\Keycrm;

$apiKey = 'your-api-key-here';
$keycrm = new Keycrm($apiKey);

Example API Calls

Get Records

$records = $keycrm->getRecords();
print_r($records);

Create a Record

$newRecord = $keycrm->createRecord([
    'name' => 'John Doe',
    'email' => 'johndoe@example.com'
]);
print_r($newRecord);

Update a Record

$recordId = '123456';
$updatedRecord = $keycrm->updateRecord($recordId, [
    'email' => 'newemail@example.com'
]);
print_r($updatedRecord);

Delete a Record

$recordId = '123456';
$response = $keycrm->deleteRecord($recordId);
print_r($response);

License

This package is released under the MIT License.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-03-22