PHPackages                             dagar/convoy - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. dagar/convoy

ActiveLibrary[API Development](/categories/api)

dagar/convoy
============

php plugin for convoy api

v1.0.0(1y ago)03MITPHP

Since Sep 5Pushed 1y agoCompare

[ Source](https://github.com/dagar-in/convoy-php-sdk)[ Packagist](https://packagist.org/packages/dagar/convoy)[ RSS](/packages/dagar-convoy/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Convoy Webhook Platform PHP SDK
===============================

[](#convoy-webhook-platform-php-sdk)

The Convoy Webhook Platform PHP SDK is a powerful tool that allows developers to easily integrate Convoy's webhook functionality into their PHP applications. With this SDK, you can effortlessly send and receive webhooks, handle events, and manage subscriptions.

Features
--------

[](#features)

- **Easy Integration**: The SDK provides a simple and intuitive interface for integrating Convoy's webhook functionality into your PHP applications.
- **Webhook Management**: With the SDK, you can easily send webhooks to external services and receive webhooks from Convoy.
- **Event Handling**: The SDK allows you to handle incoming webhook events and perform custom actions based on the event data.
- **Subscription Management**: You can manage your webhook subscriptions, including creating, updating, and deleting subscriptions.

Installation
------------

[](#installation)

To install the Convoy Webhook Platform PHP SDK, simply run the following command:

```
composer require dagar/convoy
```

Usage
-----

[](#usage)

To get started with the SDK, follow these steps:

1. Import the SDK into your PHP file:

```
require_once 'vendor/autoload.php';
use Dagar\Convoy\Api;
```

2. Initialize the API class:

```
$authToken = 'CO.yjkKPKAa4FYGJNqo.81uZ3tWu7cLHv6twgkNFZKWmnyCMfa4b7i58Z48FVJTX0WGR9mNfX878Ps1BsoHm';
$url = "https://api.convoy.com";
$orgID = "01J6Y7JN7JEAE8X94RW4W5SDPE";
$projectId = "01J6Y8RZAKBAH4D2Y8CQP6305G";

$api = new Api($authToken, $url);
```

3. Start sending and receiving webhooks:

```
$resp = $api->Project()->Create('project_name', $orgID);
print_r($resp);

$resp = $api->Project()->List($orgID);
print_r($resp);

$resp = $api->Project($projectId)->Source()->List();
print_r($resp);

$resp = $api->Project($projectId)->Source()->Create('source_name');
print_r($resp);

$resp = $api->Project($projectId)->Endpoint()->List();
print_r($resp);

$resp = $api->Project($projectId)->Endpoint()->Create('webhook', "https://webhook.site/");
print_r($resp);

$resp = $api->Project($projectId)->Subscription()->List();
print_r($resp);

$resp = $api->Project($projectId)->Subscription()->Create('test', '01J6Y8RZAKBAH4D2Y8CQP6305G', '01J6Y8RZAKBAH4D2Y8CQP6305G');
print_r($resp);
```

For more detailed usage instructions and examples, please refer to the [documentation](https://docs.convoy.com/sdk/php).

Contributing
------------

[](#contributing)

We welcome contributions from the community! If you have any suggestions, bug reports, or feature requests, please open an issue on our [GitHub repository](https://github.com/convoy/webhook-sdk-php).

License
-------

[](#license)

This SDK is released under the [MIT License](https://opensource.org/licenses/MIT).

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

620d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a6321ab1a9e8751d856009a451a970cff58064b1c8e04818dd5a64978757ddce?d=identicon)[4nkitd](/maintainers/4nkitd)

---

Top Contributors

[![4nkitd](https://avatars.githubusercontent.com/u/52023083?v=4)](https://github.com/4nkitd "4nkitd (3 commits)")

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/dagar-convoy/health.svg)

```
[![Health](https://phpackages.com/badges/dagar-convoy/health.svg)](https://phpackages.com/packages/dagar-convoy)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
