The official PHP library has some issues:
- The minimum supported version is PHP 5.3, when the minimum you should be targeting is 7.2 (until December, then it should be 7.3).
- There are no unit tests.
- There is a lot of redundant code that could be refactored.
- There is a lot of unneeded manual work that could be replaced with
- The API is not type-safe.
I decided to fix all these issues and add a helper class that builds a full-featured authorization URL without having to manually URL encode anything.
Check it out here: soatok/patreon.
Note: In addition to the code quality improvements, I’m also actively maintaining my fork. If you encounter any issues or would like to request an integration, feel free to open an issue.