Download the PHP package amirrh6/litegram without Composer

On this page you can find all versions of the php package amirrh6/litegram. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package litegram

Litegram

Lightweight PHP wrapper library for Telegram Bot API

Bot API version: v7.11 (October 31, 2024) - Snapshot Link

PHP version: 8.3 - Unknown compatibility with earlier (8+) or later versions.

Litegram is still in early development stages so expect bugs and non-backward compatible changes.

Use Github Issues for comments, bug reports and questions.

TODOs:

Installation / Updating

composer require amirrh6/litegram dev-main

Usage and Examples

This file provides usage example for some primary methods.

History

Over a year ago, during my free time between university classes, I started working on another Telegram bot. I wanted to challenge myself by creating my own wrapper library for it. Although the bot project was eventually abandoned, I decided to revive the wrapper library, and here we are today.

License:

GPL 2.0 only

Classes and methods:

* Make sure you view this section on Github rather than Packagist as it doesn't display checkmarks correctly.

Getting updates

(4/4 methods implemented, 2/2 classes implemented)

Available types

(71/150 classes implemented)

Available methods

(11/85 methods implemented)

* Every method here has a signature similar to:

See here for usage and examples.

* Experimental bulk (concurrent) version of this method is available. These methods are named like this: copyMessage() ---> _bulkCopyMessage()

Updating messages

(1/9 methods implemented)

Stickers

(0/16 methods implemented, 0/4 classes implemented)

Inline mode

(0/2 methods implemented, 3/29 classes implemented + 2 union types)

Payments

(0/6 methods implemented, 3/19 classes implemented + 2 union types)

Telegram Passport

(0/1 methods implemented, 0/13 classes implemented + 1 union type)

Games

(0/3 methods implemented, 0/3 classes implemented)


All versions of litegram with dependencies

PHP Build Version
Package Version
Requires guzzlehttp/guzzle Version ^7.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package amirrh6/litegram contains the following files

Loading the files please wait ....