Skip to content
This repository was archived by the owner on Jun 8, 2023. It is now read-only.
/ Phelegram Public archive

A simple yet feature-rich solution for developing Telegram bots!

License

Notifications You must be signed in to change notification settings

ehsanghorbani190/Phelegram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

118 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Phelegram License Code Size Downloads

Logo

A simple (yet feature-rich) solution for developing Telegram bots!
this is a mini framework ( or you may call it library ) to make simple or complex telegram bots easily and without getting your hands dirty with Telegram API manualy 😀

Notes

First of all, I'm not a very good developer, you may call me baby developer 😅
I wanted to develop my skill's while writing this project, so, everything is PURE PHP, no ready-to-use library where used. And I don't know how much good I wrote everything but I did my best.
So feel free to find bugs. And it'll be an honor to get suggestions from you guys to make this project better 😉

Why another library for Telegram bots in php?

Well, I've got some very good reasons :

  1. I really wanted something to improve my coding skill's , and what's better than a real life situation in Telegram 😁

  2. I saw other repos out there for writing Telegram bots and they're great, but I found them hard to deploy and it would take much time ( for me ) to understand how to send a simple message with them. and :

    A lazy person will find an easy way to do it. Bill Gates

    I wrote this library as simple as possible, methods are easy to use, everything is understandable and you don't have to mess with the core of library at all. You Make Magic Happen 😉

  3. Telegram API for bots is a great documention to read, but it's too much detailed to make a simple bot ASAP. this library is the right solution to that 😄

Installation

Installation is as simple as possible.

  1. Create a project with Composer :

    composer create-project timerunner2359/phelegram

    You'll be asked to enter your bot token and your chatID.

    Your bot's token is available in @BotFather.

    You can get your chatID via @GetMeMyChatIDBot

  2. Make Magic Happen in index.php file 😉

How to use

For now, The Bot class method names are self-describing.

I'll list all methods whenever i could 😅

License

This library is under GNU GPL 3.0 license.

About

A simple yet feature-rich solution for developing Telegram bots!

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages