Download the PHP package top-tl/toptl without Composer
On this page you can find all versions of the php package top-tl/toptl. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package toptl
TOP.TL PHP SDK
Official PHP SDK for the TOP.TL Telegram Directory API.
Installation
Quick Start
Autoposter
Automatically post stats at regular intervals:
For non-blocking usage, call postOnce() from a cron job or scheduled task instead:
API Reference
TopTL Client
| Method | Description |
|---|---|
getListing(string $username): Listing |
Get listing info |
getVotes(string $username): VotesResponse |
Get votes for a listing |
hasVoted(string $username, int\|string $userId): bool |
Check if a user voted |
postStats(string $username, ?int $memberCount, ?int $groupCount): array |
Post stats |
getStats(): Stats |
Get global TOP.TL stats |
License
MIT - see LICENSE for details.
All versions of toptl with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
ext-curl Version *
ext-json Version *
ext-curl Version *
ext-json Version *
The package top-tl/toptl contains the following files
Loading the files please wait ...