承接 edgecron/edgecron-php 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

edgecron/edgecron-php

Composer 安装命令:

composer require edgecron/edgecron-php

包简介

Official PHP SDK for the EdgeCron webhook scheduling and callback delivery platform.

README 文档

README

Official PHP SDK for the EdgeCron webhook scheduling and callback delivery platform.

Schedule delayed HTTP requests, deliver webhooks reliably, and automatically retry failed calls — with full execution history so nothing gets lost.

中文文档:README.zh-CN.md

Install

composer require edgecron/edgecron-php

Quick Start

<?php

use EdgeCron\EdgeCron;
use EdgeCron\APIError;

$client = new EdgeCron('ak_xxx', 'sk_xxx');

try {
    $schedule = $client->schedules->create('my-schedule', '*/5 * * * *');
    var_dump($schedule->id);
} catch (APIError $error) {
    var_dump($error->codeValue, $error->getMessage(), $error->requestId);
}

Modules

Client method Description
$client->schedules->* Cron schedule CRUD, pause, resume
$client->tasks->* Task execution instances, cancel
$client->events->* Event publishing and management
$client->endpoints->* Webhook endpoint configuration
$client->deliveries->* Delivery attempt records and retry
$client->retries->* Retry policies and jobs
$client->subscription->* Quota, usage, and resource limits

Configuration

  • base_url — override API base URL
  • timeout — HTTP client timeout in seconds
  • http_client — custom Guzzle Client

Error Handling

Service-side business errors throw APIError.

<?php

use EdgeCron\APIError;

try {
    $client->schedules->get(123);
} catch (APIError $error) {
    var_dump($error->codeValue, $error->getMessage(), $error->requestId);
}

Security Notice

This is a server-side SDK. Do not expose secret in browsers or mobile apps.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-07-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固