PHPackages                             juanbenitez/manychat-response-generator - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. juanbenitez/manychat-response-generator

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

juanbenitez/manychat-response-generator
=======================================

PHP package to generate Manychat JSON responses for bots.

1.0.1(4y ago)112MITPHPPHP ^7.4

Since Dec 14Pushed 4y ago1 watchersCompare

[ Source](https://github.com/juanbenitez/manychat-response-generator)[ Packagist](https://packagist.org/packages/juanbenitez/manychat-response-generator)[ Docs](https://github.com/juanbenitez/manychat-response-generator)[ RSS](/packages/juanbenitez-manychat-response-generator/feed)WikiDiscussions master Synced 1mo ago

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

Manychat dynamic JSON response generator.
=========================================

[](#manychat-dynamic-json-response-generator)

[![Latest Version on Packagist](https://camo.githubusercontent.com/20f4edf2c7b41b9de44f9d2d0f345eb22f70e4f696d369174a1a12d38cac9970/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a75616e62656e6974657a2f6d616e79636861742d726573706f6e73652d67656e657261746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/juanbenitez/manychat-response-generator)[![GitHub Tests Action Status](https://camo.githubusercontent.com/17dc5f9e3d3ab673b29451dc8c24a20ff8a3def7cb1ae659d797c865d927a616/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6a75616e62656e6974657a2f6d616e79636861742d726573706f6e73652d67656e657261746f722f54657374733f6c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/juanbenitez/manychat-response-generator/actions?query=workflow%3ATests+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/86f45df37f7b6179381e5800676e5b04fb06f964bfb14ca11d61a9cdf962cd0b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a75616e62656e6974657a2f6d616e79636861742d726573706f6e73652d67656e657261746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/juanbenitez/manychat-response-generator)[![Packagist PHP Version Support](https://camo.githubusercontent.com/4765e67f950f68f582c4c2e5552831ad2509dcad5e8d7e7a01670fdf00c69174/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6a75616e62656e6974657a2f6d616e79636861742d726573706f6e73652d67656e657261746f723f7374796c653d666c61742d737175617265)](https://img.shields.io/packagist/php-v/juanbenitez/manychat-response-generator?style=flat-square)

This package allows you to generate Manychat dynamic Json responses easily within your PHP projectsgit. Please refer to this link to learn more about [Manychat dynamic responses format.](https://manychat.github.io/dynamic_block_docs/)

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

[](#installation)

You can install the package via composer:

```
composer require juanbenitez/manychat-response-generator
```

Usage
-----

[](#usage)

```
ManychatResponse::make(
    [
        Text::make('hello world')
            ->addButton(Call::make('Caption', '423424324'))
            ->addButton(Url::make('Caption', 'https://sdsad.com')),
    ]
)->send();
```

See the \[examples\] directory for more usage examples.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

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

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Juan Benitez](https://github.com/juanbenitez)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50.8% 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

Every ~190 days

Total

2

Last Release

1784d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/487a162039743962716643523cd698811bd71b15e92d20eea96fa0b58b112447?d=identicon)[juanbenitez](/maintainers/juanbenitez)

---

Top Contributors

[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (31 commits)")[![mvdnbrk](https://avatars.githubusercontent.com/u/802681?v=4)](https://github.com/mvdnbrk "mvdnbrk (23 commits)")[![pforret](https://avatars.githubusercontent.com/u/474312?v=4)](https://github.com/pforret "pforret (2 commits)")[![irfanm96](https://avatars.githubusercontent.com/u/42065936?v=4)](https://github.com/irfanm96 "irfanm96 (2 commits)")[![juanbenitez](https://avatars.githubusercontent.com/u/2771799?v=4)](https://github.com/juanbenitez "juanbenitez (1 commits)")[![AdrianMrn](https://avatars.githubusercontent.com/u/12762044?v=4)](https://github.com/AdrianMrn "AdrianMrn (1 commits)")[![weerd](https://avatars.githubusercontent.com/u/105849?v=4)](https://github.com/weerd "weerd (1 commits)")

---

Tags

jsonbotchatbotmanychatjuanbenitez

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/juanbenitez-manychat-response-generator/health.svg)

```
[![Health](https://phpackages.com/badges/juanbenitez-manychat-response-generator/health.svg)](https://phpackages.com/packages/juanbenitez-manychat-response-generator)
```

###  Alternatives

[justinrainbow/json-schema

A library to validate a json schema.

3.6k316.9M612](/packages/justinrainbow-json-schema)[mtdowling/jmespath.php

Declaratively specify how to extract elements from a JSON document

2.0k472.8M135](/packages/mtdowling-jmespathphp)[jms/serializer

Library for (de-)serializing data of any complexity; supports XML, and JSON.

2.3k135.8M851](/packages/jms-serializer)[jms/serializer-bundle

Allows you to easily serialize, and deserialize data of any complexity

1.8k89.3M627](/packages/jms-serializer-bundle)[colinodell/json5

UTF-8 compatible JSON5 parser for PHP

30422.2M45](/packages/colinodell-json5)[clue/ndjson-react

Streaming newline-delimited JSON (NDJSON) parser and encoder for ReactPHP.

15267.7M16](/packages/clue-ndjson-react)

PHPackages © 2026

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