承接 leandronunes07/evolution-php-sdk 相关项目开发

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

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

leandronunes07/evolution-php-sdk

最新稳定版本:v1.0.0

Composer 安装命令:

composer require leandronunes07/evolution-php-sdk

包简介

Unofficial PHP SDK for Evolution API

README 文档

README

PHP Version License Version Style

Unofficial PHP SDK for Evolution API. Simplify your WhatsApp automations with a robust, object-oriented PHP wrapper.

This SDK provides a fluent and expressive interface to interact with Evolution API v2, supporting multi-instance management, message sending (Text, Media, Templates), group administration, and seamless integrations with AI platforms like OpenAI and Typebot.

🌟 About

The Evolution PHP SDK was built to standardize integrations with Evolution API in PHP projects. It abstracts the complexity of raw HTTP requests, providing a typed, documented, and easy-to-use codebase.

Whether you are building a simple chatbot or a complex multi-tenant automation system, this SDK ensures your code remains clean, maintainable, and scalable.

👨‍💻 Authors

Developed with ❤️ by Agência Taruga and Leandro Oliveira Nunes.

  • Leandro Nunes - Lead Developer - GitHub
  • Agência Taruga - Website

🚀 Features

  • Object-Oriented: Fluid API design ($client->instances()->create(...)).
  • Type Safety: Use of DTOs (Data Transfer Objects) for safer payloads.
  • Full Coverage: Support for Messages, Groups, Profiles, Chatbots (Typebot, OpenAI, Dify, etc.), and Events.
  • Webhook Handling: Utility class to parse and process incoming webhook events.
  • Logging: PSR-3 compatible logging support for debugging requests.
  • Standards: PSR-12 Compliant code quality.
  • Authentication: Easy management of Global and Instance API Keys.

📦 Installation

Install via Composer:

composer require leandronunes07/evolution-php-sdk

⚡ Quick Start

use LeandroNunes\Evolution\EvolutionClient;
use LeandroNunes\Evolution\Config;
use LeandroNunes\Evolution\DTO\Message\TextMessageDTO;

// 1. Setup Configuration
$config = new Config(
    baseUrl: 'https://api.your-evolution-instance.com',
    globalApiKey: 'YOUR-GLOBAL-API-KEY'
);

// 2. Initialize Client
$client = new EvolutionClient($config);

// 3. Send a Message
$message = new TextMessageDTO(
    number: '5511999999999',
    text: 'Hello from PHP SDK! 🐘'
);

$response = $client->messages()->sendText('instanceName', $message);
print_r($response);

📖 Documentation

🛠️ Supported Resources

  • Instances: Create, Connect, Restart, Logout, Delete.
  • Messages: Text, Media, Audio, Template, Location, Contact.
  • Groups: Create, Update, Participants, Settings.
  • Integrations:
    • Events: Webhook, RabbitMQ, SQS, Websocket.
    • Events: Webhook, RabbitMQ, SQS, Websocket.
    • Chatbots: Typebot, OpenAI, Dify, Flowise, N8N, EvolutionBot.
  • Utilities: Webhook Handler (Parse incoming events).

🧪 Testing

composer install
./vendor/bin/phpunit

📄 License

MIT License - Copyright (c) 2024 Agência Taruga - Leandro Oliveira Nunes

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固