Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Socialite Cn

Socialite Cn Laravel Package

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.

View on GitHub
Deep Wiki
Context7

laravel/socialite for Chinese

Frequently asked questions about Socialite Cn
What is liaol/socialite-cn and which Chinese platforms does it support?
liaol/socialite-cn is an extension of Laravel Socialite that adds OAuth providers for popular Chinese platforms. The package overview lists WeChat, QQ, Weibo, and Alipay as supported identity services. It is intended to give Laravel developers a familiar Socialite-style API for adding Chinese social login.
How do I install liaol/socialite-cn in a Laravel application?
Add the package as a Composer dependency and update your dependencies, then follow the repository README for provider registration and configuration. The supplied release notes do not include full installation steps, so verify the service provider and configuration against your Laravel version. Test authentication in a non-production environment before deploying.
Which Laravel versions are supported by liaol/socialite-cn?
The release notes for 1.0.9 explicitly improve compatibility with Laravel 5.2 by replacing bindShared with singleton. The supported Laravel and PHP matrix is not stated in the provided context, so check the package's composer.json and README. Do not assume support for newer Laravel releases without verification.
Does liaol/socialite-cn work with Laravel 5.2?
Version 1.0.9 is specifically a compatibility and bug-fix release for Laravel 5.2 container APIs. It replaces the removed or deprecated bindShared call with singleton, which is the correct Laravel 5.2+ replacement. You should still run your application tests and verify service provider boot and container resolution.
How do I configure WeChat, QQ, Weibo, or Alipay OAuth credentials with liaol/socialite-cn?
The package provides provider configuration as part of its Socialite integration, but the exact configuration keys are not listed in the supplied notes. Follow the repository README and source code for required client ID, client secret, redirect URI, and scope values. Keep credentials in environment variables and avoid committing them to source control.
What changed in liaol/socialite-cn version 1.0.9?
Version 1.0.9 is a patch-level maintenance release that replaces bindShared with singleton for Laravel 5.2 compatibility. It also fixes issue #12, although the issue details are not included in the provided context. No database, front-end, or API contract changes are indicated.
Is liaol/socialite-cn compatible with modern Laravel versions?
The provided release notes only establish compatibility improvements for Laravel 5.2. They do not confirm support for newer Laravel releases, and the package may still use other deprecated or removed APIs. Validate the Composer constraints and run integration tests before adopting it on a modern Laravel application.
Do I need to register the service provider or publish configuration for liaol/socialite-cn?
The package integrates through Laravel service container and service provider conventions, but the notes do not state whether the provider is auto-discovered. Laravel 5.2 does not support package auto-discovery, so manual registration is likely required on that version. Check the README for config publishing and provider registration instructions.
Can liaol/socialite-cn be used in production with queues or long-running workers?
The singleton binding change is unlikely to affect throughput directly, but the package's lifecycle under queues, workers, and Laravel Octane-style long-running processes is not established by the release notes. Test container resolution and authentication flows in a staging environment. Monitor logs and be prepared to pin a prior version if boot or resolution failures appear.
What are alternatives to liaol/socialite-cn for Chinese social login in Laravel?
Laravel Socialite itself can be extended with community or custom OAuth providers for WeChat, QQ, Weibo, and Alipay. The best alternative depends on your Laravel version, maintenance requirements, and whether you need first-party support for a specific Chinese platform. Evaluate supported Laravel ranges, test coverage, and release cadence before choosing.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect