Skip to content

πŸ“ Ready-to-use project structure based on Litegram library.

License

Notifications You must be signed in to change notification settings

chipslays/litegram-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

39 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“ Litegram Project

Ready-to-use project structure based on Litegram library.

Installation

composer create-project chipslays/litegram-project SuperDuperBot

Quick-start

  • Create 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:
php lite migrate:up

NOTE: Before doing this πŸ‘†, set up database config in config/bot.php.

  • If you want use webhook, type in Terminal:
php lite webhook:set
  • Or if you want use long-polling, type in Terminal:
php lite polling

πŸŽ‰ Congrats, now bot is online.

License

The Litegram is open-sourced software licensed under the MIT license.