prevailexcel/botstart
Composer 安装命令:
composer require prevailexcel/botstart
包简介
A single command to install Laravel, BotMan, and all the essentials. Start building in less than 3 minutes
关键字:
README 文档
README
BotStart CLI
No more complicated BotMan in Laravel setups.
The BotStart CLI helps you set up BotMan projects in Laravel. It provides a single command that automates the installation of BotMan dependencies, creates necessary BotMan files and configurations, and sets up a fresh Laravel project (of your choice or the latest one) if one is not already installed.
Installation
To install the BotStart CLI, you need to use Composer. Run the following command to download the BotStart CLI globally:
composer global require prevailexcel/botstart
Configuration
After installing, ensure that the $HOME/.composer/vendor/bin directory (or the equivalent directory for your operating system) is included in your $PATH. This allows your system to locate the botstart executable.
Creating a New Laravel and BotMan Project
Once the installer is set up, you can create a new Laravel and BotMan project using the botstart new {project-name} {laravel-version} command. Replace your_project_name with the desired name for your project:
botstart new your_project_name 10
For example, to create a project with Laravel 11 named weatherbot, you would run:
botstart new weatherbot 11
This command will create a directory named weatherbot containing a fresh Laravel 11 Project with everything you need to get started, including a Tinker.
If you already have a Laravel project started at that directory, it will go ahead to setupp botman for you there without any extra command.
To use the tinker, simply run
php artisan botman:tinker
BotStart installs a modified botman/tinker package which you can get here https://github.com/prevailexcel/botman-tinker.
Web Widget
This installer also gives you the webwidget to test your bot immediately. Simply run your project and go to the welcome or base url.
php artisan serve
Then go to http://127.0.0.1:8000 or whereever your project is served.
What exactly does it do?
- Installs BotMan dependencies:
botman/botmanbotman/driver-webbotman/driver-telegramprevailexcel/botman-tinker: A modified version ofbotman/tinker, available here: prevailexcel/botman-tinker.
- Creates necessary configuration files, including:
- Routes
- Controllers
- Environment variables
- Sets up BotMan's default route and includes a simple
hellocommand. - Configures CSRF exceptions for BotMan in Laravel.
Documentation
You can find the BotMan and BotMan Studio documentation at http://botman.io.
If you want to thank me?
Why not star the github repo? I'd love the attention! Why not share the link for this repository on Twitter or HackerNews? Spread the word! Big Thanks to Marcel Pociot for creating the BotMan project. I simply want to make it a lot easier for more developers.
Thanks! Chimeremeze Prevail Ejimadu
License
The MIT License (MIT). Please see License File for more information.
prevailexcel/botstart 适用场景与选型建议
prevailexcel/botstart 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 65 次下载、GitHub Stars 达 12, 最近一次更新时间为 2024 年 12 月 24 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「bot framework」 「Botman」 「BotMan Studio」 「laravel cli」 「botman studio installer」 「botman studio laravel」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 prevailexcel/botstart 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 prevailexcel/botstart 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 prevailexcel/botstart 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance.
Dialogflow php sdk
Fork of botman/studio-addons to be used with PHP 8 and Laravel 9. BotMan Studio specific addons.
Laravel 5.6 Monolog custom telegram channel
Middleware for BotMan (BotMan Studio). Integration with DialogFlow API v2.
Easy to build bot scenarios and run them on top of Botman
统计信息
- 总下载量: 65
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 13
- 点击次数: 28
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-12-24
