https://github.com/bitcodr/laravel-bot-builder
https://github.com/bitcodr/laravel-bot-builder
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bitcodr/laravel-bot-builder
- Owner: bitcodr
- Created: 2018-10-03T22:53:04.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-05-18T11:03:52.000Z (almost 6 years ago)
- Last Synced: 2025-01-30T17:38:52.936Z (about 1 year ago)
- Language: PHP
- Size: 388 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
1 - in the root project directory rename ```.env.example``` file to ```.env```
2 - run below command in the project root directory
php artisan key:generate
3 - fill below parameter for app url in the ```.env ``` file
APP_URL=your https url example : https://doman.com/
4 - fill mysql database config in the ```.env``` file with below parameter
DB_DATABASE=
DB_USERNAME=
DB_PASSWORD=
5 - fill below parameter in the ```.env``` file
TELEGRAM_BOT_TOKEN=your master bot token from @botFather
TELEGRAM_BOT_ID=your master bot id from master bot token
WEBHOOK_URL=your https webhook url example : https://doman.com/
6 - after fill the ```.env``` file run below command from project root directory
php artisan config:cache
7 - run below command in the project root directory to migrate database tables
php artisan migrate
8 - and then run below command to set webHook url for master bot
php artisan bot:config