liaol/socialite-cn
liaol/socialite-cn extends Laravel Socialite with OAuth providers for popular Chinese platforms such as WeChat, QQ, Weibo, and Alipay, making it easier to add social login to Laravel apps. It offers a familiar Socialite API, provider configuration, and support for common Chinese identity services.
bindShared() to singleton() unblocks this dependency on Laravel 5.2, where bindShared() was removed. This is a direct input to any "can we move our app to 5.2?" go/no-go decision, and it removes one known blocker from the upgrade checklist.singleton() is available there, so this release is backwards-compatible; still validate in CI before bumping.For executives: This is a low-risk maintenance release of a small Laravel dependency. It contains one technical change — a container registration call updated so the package works on Laravel 5.2 — plus one bug fix. No new features, no API changes, no user-visible impact. Practically, it removes a one-item blocker from our framework-upgrade path, which is the kind of thing that otherwise turns into a fork or a rewrite. Recommendation: adopt the patch, keep the dependency pinned, and keep it on the watchlist while it remains pre-2.0.
For engineering: bindShared() is deprecated in 5.1 and removed in 5.2, so 1.0.9 is the minimum version usable on 5.2. The replacement, singleton(), registers the same shared instance — behaviour is preserved, so no migration or code changes are required on our side beyond a version bump. Two things to check before merging: (1) confirm the fixed issue #12 is not something we were relying on, and (2) treat the binding as shared state in tests — reset it between test cases if the service is stateful. Also verify the package resolves cleanly under our target PHP version; the release notes suggest a 5.2-era codebase. If we are on a modern Laravel release, do not treat this release as evidence of support — it isn't.
How can I help you explore Laravel packages today?