| Recommend this page to a friend! |
| Packages of Max | Fenrir | readme.md | Download |
|
|
||||||||||||||||||||
<p align="center"> </p> <h3 align="center">Fenrir</h3> <p align="center">PHP Discord Interface.</p> <div align="center"> </div> AboutFenrir is a mostly plain wrapper over Discords APIs/gateway. There is no caching built in, this is for the user to implement themselves. If you're looking for something thats easier to use, has caching OOTB, you could consider Laracord Fenrir heavily relies on ReactPHP for async operations. Knowing the basics of async PHP is recommended before diving in. Join the Discord for discussion & support! Install
Example bot
REST-only example(Note: going with REST-only means you do NOT receive any events and your bot will appear offline) For more examples, check out the examples directory SupportFenrir currently supports PHP 8.5+ Tests should pass nightly builds of newer versions, but this is not a supported usecase. | PHP Version | Library version | | ------------- | --------------- | | 8.5+ | Current | | 8.2, 8.3, 8.4 | < 1.2 | | 8.1 | < 1.0.1 | Note: Bugfixes/features will not be backported to older versions. Older versions are as-is. If you're using this in a Apache2/Nginx/etc webserver environment, you should probably limit yourself to only using Fenrir's REST capabilities. These environments typically don't allow long-running processes. 32-bit is not supported, though no hard limit is in place. ContributingContributions are welcome.
You can look for NoticeThe current underlying HTTP component is subject to change in the future. While the accesible API for it will remain similar, you should try to refrain from using it manually in your application. |