PHPackages                             biggercode/evolutiongosdk - 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. biggercode/evolutiongosdk

ActiveLibrary[API Development](/categories/api)

biggercode/evolutiongosdk
=========================

SDK for EvolutionGo API

1.1.1(today)110↑2600%PHPPHP ^8.1

Since Jun 26Pushed todayCompare

[ Source](https://github.com/biggercode/evolutiongosdk)[ Packagist](https://packagist.org/packages/biggercode/evolutiongosdk)[ RSS](/packages/biggercode-evolutiongosdk/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

EvolutionGo SDK for PHP
=======================

[](#evolutiongo-sdk-for-php)

An elegant and lightweight PHP SDK for interacting with the **EvolutionGo API**. This package provides a fluent interface to manage instances, send messages, manage groups, communities, newsletters, labels, and more.

It also comes with **first-class Laravel integration**, including configuration publishing, auto-discovery, and Webhook Broadcasting out of the box!

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

[](#installation)

You can install the package via composer:

```
composer require biggercode/evolutiongosdk
```

If you are using **Laravel**, the service provider will be automatically discovered. You can publish the configuration file to customize the base URL, global key, and broadcasting settings:

```
php artisan vendor:publish --tag=evolution-config
```

Usage
-----

[](#usage)

### Initialization

[](#initialization)

For generic PHP apps, initialize the client manually:

```
use Biggercode\EvolutionGoSdk\EvolutionGoClient;

$client = new EvolutionGoClient('https://your-evolution-api.com', 'your-global-api-key');
```

**In Laravel:** The client is registered as a Singleton. You can use dependency injection or the app container:

```
use Biggercode\EvolutionGoSdk\EvolutionGoClient;

$client = app(EvolutionGoClient::class);
// Or inject it in your controllers: public function index(EvolutionGoClient $client)
```

### Supported Services

[](#supported-services)

The SDK mirrors the complete EvolutionGo specification with over 70 endpoints categorized into services:

- **`$client->instance()`** - Instance creation, connection, QR code, status, proxies, and settings.
- **`$client->send()`** - Sending text, media, buttons, lists, polls, contacts, carousels, locations, etc.
- **`$client->message()`** - React, mark as read, edit, delete, download image, and update status.
- **`$client->group()`** - Create groups, manage participants, fetch invite links, change photos/descriptions.
- **`$client->chat()`** - Archive/unarchive, mute/unmute, pin/unpin, and request history sync.
- **`$client->user()`** - Check contacts, block/unblock, fetch avatars, and update profile/privacy.
- **`$client->community()`** - Create communities, add/remove members.
- **`$client->label()`** - Manage labels and apply them to chats/messages.
- **`$client->newsletter()`** - Create, subscribe, list, and fetch messages from newsletters.
- **`$client->call()`** - Manage incoming calls (e.g., reject).
- **`$client->polls()`** - Fetch poll results.

### Example: Instance Management

[](#example-instance-management)

```
// Create a new instance with Webhook configuration
$instance = $client->instance()->create([
    'instanceName' => 'my-instance-name',
    'token' => 'custom-secure-token',
    'webhook' => [
        'enabled' => true,
        'url' => 'https://yourapp.com/api/webhook/evolution',
        'events' => ["MESSAGE", "PRESENCE", "CONNECTION"]
    ]
]);

// Connect / Get QR Code
$client->instance()->connect(['instance' => 'my-instance-name']);
$qr = $client->instance()->qr(['instance' => 'my-instance-name']);
```

### Example: Sending Messages

[](#example-sending-messages)

```
// Send a text message
$response = $client->send()->text([
    'instance' => 'my-instance-name',
    'number' => '5511999999999',
    'text' => 'Hello from EvolutionGo SDK!',
    'delay' => 1200
]);

// Send media
$response = $client->send()->media([
    'instance' => 'my-instance-name',
    'number' => '5511999999999',
    'type' => 'image',
    'url' => 'https://example.com/image.png',
    'caption' => 'Check this out!'
]);
```

Webhooks &amp; Laravel Broadcasting
-----------------------------------

[](#webhooks--laravel-broadcasting)

The SDK simplifies webhook processing. When receiving a webhook payload from EvolutionGo in your Laravel controller, simply call:

```
public function handleWebhook(Request $request, EvolutionGoClient $client)
{
    // This will parse the payload and automatically trigger the
    // \Biggercode\EvolutionGoSdk\Events\EvolutionWebhookReceived event.
    $client->handleWebhook($request->all());

    return response()->json(['success' => true]);
}
```

If `broadcasting.enabled` is set to `true` in your `config/evolutiongosdk.php`, the SDK will **automatically broadcast** the webhook payload to your Reverb/Pusher channels (`evolution-channel` and `evolution-channel.{instanceName}`).

Requirements
------------

[](#requirements)

- PHP 8.1 or higher
- GuzzleHTTP `^7.8`
- (Optional) Laravel 10.x/11.x/12.x/13.x for framework integrations.

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](LICENSE.md).

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance100

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 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

0d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6439030?v=4)[Cristiano Polasso](/maintainers/biggercode)[@biggercode](https://github.com/biggercode)

---

Top Contributors

[![biggercode](https://avatars.githubusercontent.com/u/6439030?v=4)](https://github.com/biggercode "biggercode (6 commits)")

### Embed Badge

![Health badge](/badges/biggercode-evolutiongosdk/health.svg)

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

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k33](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.3M7](/packages/avalara-avataxclient)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2478.1k](/packages/filescom-files-php-sdk)[aimeos/prisma

A powerful PHP package for integrating media related Large Language Models (LLMs) into your applications

1772.4k4](/packages/aimeos-prisma)

PHPackages © 2026

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