Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chipslays/litegram-project
📁 Ready-to-use project structure based on Litegram library.
https://github.com/chipslays/litegram-project
litegram project skeleton telegram-bot
Last synced: about 1 month ago
JSON representation
📁 Ready-to-use project structure based on Litegram library.
- Host: GitHub
- URL: https://github.com/chipslays/litegram-project
- Owner: chipslays
- License: mit
- Created: 2021-09-01T08:03:14.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-11-06T12:55:12.000Z (over 3 years ago)
- Last Synced: 2024-12-09T15:59:26.950Z (2 months ago)
- Topics: litegram, project, skeleton, telegram-bot
- Language: PHP
- Homepage:
- Size: 40 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 📁 Litegram Project
Ready-to-use project structure based on [Litegram](https://github.com/chipslays/litegram) library.
## Installation
```bash
composer create-project chipslays/litegram-project SuperDuperBot
```## Quick-start
- [Create](#installation) project via composer or cloning;
- Go to `config/bot.php` and configure project;
- Go to `bot/core/bootstrap/plugins.php` and comment/uncomment something;
- Add some logic in `bot/brain.php` file;
- If you want use database, type in Terminal:
```bash
php lite migrate:up
```
> **NOTE:** Before doing this 👆, set up database config in `config/bot.php`.
- If you want use webhook, type in Terminal:
```bash
php lite webhook:set
```
- Or if you want use long-polling, type in Terminal:
```bash
php lite polling
```🎉 Congrats, now bot is online.
## License
The Litegram is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).