myadion/laravel-maria-webhooks
Composer 安装命令:
composer require myadion/laravel-maria-webhooks
包简介
The package facilitates the integration between your Laravel application and Adion's artificial intelligence service, Maria. With this package, your application can react in real-time to events triggered by Maria, offering a high level of automation and interaction.
README 文档
README
Adion's laravel-maria-webhooks is a powerful package designed to seamlessly integrate your Laravel application with Adion's Artificial Intelligence service, Maria. With real-time responsiveness to Maria-triggered events, this package is essential for boosting automation and enhancing interaction within your application.
Features
- Real-time reaction to events triggered by Maria.
- Customizable instruction sets for handling a variety of actions.
- Smooth integration with Laravel applications.
- Leverages Maria's capabilities to automate processes and manage client requests.
Installation
Before you start, ensure you have Composer installed.
To install laravel-maria-webhooks, run the following command in your project directory:
composer require adion/laravel-maria-webhooks
Usage
After the package has been installed, your application can start receiving webhooks from Maria. Commands such as '/maria_please>' are declared in the Maria's recipe book on the Adion client space, not within the Laravel application itself. Once these commands are declared in the recipe book, the application can receive these webhooks.
For instance, to handle a pizza order, you might define the following in Maria's recipe book:
The pizza ordering procedure involves collecting the client's name, phone number, and order details including the type and quantity of pizzas.
To place the order:
/maria_please>post_new_order(String {_phone_number}, String $name, String $firstname, Json data).
This will generate a webhook to the /adion/maria/post/new_order endpoint of your Laravel application. Your application can then handle this webhook as required, such as by placing a pizza order.
Refer to our official documentation for more information on how to setup these commands in Maria's recipe book and properly use the package.
Configuration
After setting up the '/maria_please>' commands in Maria's recipe book, you may need to configure your server to properly receive webhooks from Maria. This could involve configuring firewalls, adjusting server settings, etc. The exact details will depend on your specific server setup.
Refer to our official documentation for a detailed guide on how to configure laravel-maria-webhooks for your application.
Contributing
We welcome contributions from the community. If you wish to contribute, please fork the repository and submit a pull request. For major changes, please open an issue first to discuss what you would like to change.
Testing
laravel-maria-webhooks includes a suite of tests to ensure its functionality. To run the tests, use PHPUnit:
vendor/bin/phpunit
License
This project is licensed under the GNU General Public License v3.0.
Support
If you encounter any problems or have any questions about laravel-maria-webhooks, please open an issue on our GitHub repository or contact our support team at hello@myadion.com.
myadion/laravel-maria-webhooks 适用场景与选型建议
myadion/laravel-maria-webhooks 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 0, 最近一次更新时间为 2023 年 06 月 25 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「Maria」 「adion」 「laravel-maria-webhooks」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 myadion/laravel-maria-webhooks 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 myadion/laravel-maria-webhooks 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 myadion/laravel-maria-webhooks 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 22
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2023-06-25