mediawiki/oauthclient
PHP client library for MediaWiki OAuth 1.0a authentication. Handles the three-legged handshake, signed API requests, and token management, letting your tool act on behalf of wiki users across Wikimedia and other MediaWiki sites.
Consider it when:
Look elsewhere when:
league/oauth1-client or a Laravel socialite provider) with a custom MediaWiki provider gives you one integration pattern instead of two.For executives: This is a small, free, Wikimedia-published PHP library that lets our product authenticate users against Wikipedia and other MediaWiki wikis and act on their behalf. It converts a fiddly cryptographic integration into roughly a day of wiring, and it makes “sign in with your wiki account” a credible near-term feature rather than a research spike. The trade-offs are that it is GPL-3.0 licensed, has not been released since 2019, and covers the older OAuth 1.0a standard — so it is best treated as a component we vendor and own, not a dependency we rely on someone else to maintain.
For engineering: It handles the OAuth 1.0a consumer flow against the MediaWiki OAuth extension — request token, redirect, callback verification, access token, signed API calls. Recommend wrapping it behind an internal WikiAuth interface so we can swap to MediaWiki’s OAuth 2.0 support or an in-house client without touching product code, pinning the version and vendoring the source, and validating it with a time-boxed spike against a real consumer registration before it lands on the roadmap. Assume we maintain it; budget accordingly and check the license with legal before commercial distribution.
How can I help you explore Laravel packages today?