PHPackages                             jhenrique/bot-conversa - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. jhenrique/bot-conversa

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

jhenrique/bot-conversa
======================

Biblioteca para integrar com BotConversa

v1.0.8(1y ago)157↓100%MITPHPPHP &gt;=7.4

Since Jan 8Pushed 1y ago1 watchersCompare

[ Source](https://github.com/JhenriOliveira/bot-conversa)[ Packagist](https://packagist.org/packages/jhenrique/bot-conversa)[ RSS](/packages/jhenrique-bot-conversa/feed)WikiDiscussions main Synced 1mo ago

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

BotConversa Biblioteca PHP para integrar com o BotConversa API.

Essa biblioteca facilita a comunicação com o BotConversa, fornecendo métodos prontos para gerenciar assinantes, enviar mensagens e mais.

Instalação
==========

[](#instalação)

composer require jhenrique/bot-conversa

---

Configuração
============

[](#configuração)

Adicione um arquivo .env Na raiz do seu projeto, crie um arquivo .env com as seguintes variáveis:

BASE\_URL=API\_KEY=seu\_api\_key\_aqui API\_TIMEOUT=30

Crie uma pasta com nome "logs" na raiz do projeto

---

Carregue as variáveis de ambiente
=================================

[](#carregue-as-variáveis-de-ambiente)

Antes de usar a biblioteca, certifique-se de que as variáveis foram carregadas. Por exemplo:

use Dotenv\\Dotenv;

require\_once **DIR** . '/vendor/autoload.php';

$dotenv = Dotenv::createImmutable(**DIR**); $dotenv-&gt;load();

---

Uso
===

[](#uso)

Exemplo de como usar a biblioteca:

use BotConversa\\ApiClient;

$botconversa = new ApiClient();

// Obter informações de um contato por telefone $subscriber = $botconversa-&gt;getSubscriberByPhone('5511999999999'); print\_r($subscriber);

// Criar um novo contato $newSubscriber = $botconversa-&gt;createSubscriber('5511988887777', 'João', 'Silva'); print\_r($newSubscriber);

// Enviar uma mensagem para um contato $response = $botconversa-&gt;sendMessage('contato\_id', 'text', 'Olá, tudo bem?'); print\_r($response);

---

Funções
=======

[](#funções)

- Subscribers getSubscriberByPhone(string $phone) getSubscribers(int $page) createSubscriber(string $phone, string $first\_name, string $last\_name) deleteSubscriber(string $id) addTagSubscriber(string $id, string $id\_tag) (*NOVO*) deleteTagSubscriber(string $id, string $id\_tag) (*NOVO*) addSequencesSubscriber(string $id, string $id\_sequence) (*NOVO*) deleteSequencesSubscriber(string $id, string $id\_sequence) (*NOVO*) addCampaignsSubscriber(string $id, string $id\_campaign) (*NOVO*) deleteCampaignsSubscriber(string $id, string $id\_campaign) (*NOVO*)
- Message sendMessage(string $id, string $type, string $message) sendMessageFlow(string $id, string $flow) (*NOVO*)
- Tags getTags() (*NOVO*)
- Flows getFlows() (*NOVO*)

---

Licença
=======

[](#licença)

Este projeto está licenciado sob a licença MIT.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance41

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

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

Every ~0 days

Total

2

Last Release

487d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a544341437154970529b1e3731efd1644c730f56f02f274321d7b1d457116a1c?d=identicon)[Jhenrique](/maintainers/Jhenrique)

### Embed Badge

![Health badge](/badges/jhenrique-bot-conversa/health.svg)

```
[![Health](https://phpackages.com/badges/jhenrique-bot-conversa/health.svg)](https://phpackages.com/packages/jhenrique-bot-conversa)
```

###  Alternatives

[roots/bedrock

WordPress boilerplate with Composer, easier configuration, and an improved folder structure

6.5k441.8k2](/packages/roots-bedrock)[akaunting/laravel-money

Currency formatting and conversion package for Laravel

7825.3M18](/packages/akaunting-laravel-money)[cognesy/instructor-php

The complete AI toolkit for PHP: unified LLM API, structured outputs, agents, and coding agent control

310107.9k1](/packages/cognesy-instructor-php)[blair2004/nexopos

The Free Modern Point Of Sale System build with Laravel, TailwindCSS and Vue.js.

1.2k2.3k](/packages/blair2004-nexopos)[lullabot/drainpipe

An automated build tool to allow projects to have a set standardized operations scripts.

41716.4k2](/packages/lullabot-drainpipe)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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