TopPHP2 - The ultimate API wrapper for top.gg
TopPHP2 is the unofficial successor of TopPHP.
This library, unlike its predecessor has many advantages that will allow you safe, easy and complete integration of the library with whatever development environment you are using.
- Webhook integration and management with ReactPHP.
- Built-in small, simple and PHP-native cache system.
- Object oriented.
- Internal exception management.
- Fully documented with code examples.
- Getting bots informations.
- Getting users informations.
- Checking if an user has voted your bot.
- Checking if an user has voted your bot but with webhooks yey
- Update your bot's stats.
See here for the official information. HERE you can access to the Class Reference
TopPHP uses composer to download. In order to install the library, use the following line:
composer require foxworn3365/topphp
Good question dear detective-programmer friend, simply because the namespace of the former library (TopPHP) is not \TopPHP
but rather \DBL
therefore we take advantage of it 😎
- Forced library global rate-limiting.
You can be a cool person and contact me via:
- Email:
foxworn3365@gmail.com
- Discord:
FoxWorn#0001