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

Social Laravel Package

dagasmart/social

dagasmart/social is a lightweight Laravel package for adding social features to your app. It provides configurable helpers for social authentication and sharing, making it easy to integrate popular providers with minimal setup and clean integration into existing Laravel projects.

Deep Wiki
Context7

dagasmart/social is a Laravel package that adds social authentication and account integration to your application. It offers a config-driven layer over OAuth flows, so you can connect providers, link social identities to existing users, and manage those accounts without repetitive boilerplate.

  • Config-driven setup for multiple social providers
  • Link and unlink social accounts to existing users
  • Ready-made routes and controllers for OAuth callbacks
  • Extensible contracts for custom providers and user resolution
  • Blade helpers for social login buttons and share links
Frequently asked questions about Social
What is dagasmart/social used for in Laravel?
It is an OAuth authentication package for adding third-party social login to Laravel applications. It is intended to simplify provider configuration, callback handling, and signing users in with existing social accounts instead of a local password. It fits flows where users authenticate through an external platform and your app creates or links a local user record.
How do I install dagasmart/social with Composer?
Install it with Composer using composer require dagasmart/social. After installation, check the package README for any required service provider registration or configuration publishing commands. Then add your provider credentials to the Laravel configuration and environment files before testing the redirect and callback routes.
Which OAuth providers does dagasmart/social support?
The package description says it supports third-party OAuth platforms, but the provided context does not list specific providers. Check the package README or configuration file for the supported provider names and any provider-specific requirements. If a provider is not built in, you may need to extend the package or use a more general OAuth client.
How do I configure OAuth credentials for dagasmart/social?
Configuration typically involves adding client IDs, client secrets, redirect URIs, and scopes for each OAuth provider. Put secrets in environment variables and reference them from a Laravel config file rather than committing them to source control. Confirm the exact key names and publishing steps in the package documentation, since the provided excerpt does not include them.
How does the callback flow work with dagasmart/social?
The callback flow usually redirects the user to the provider, receives an authorization code at your callback route, and exchanges it for user details. Your application should validate the state parameter, handle provider errors, and then create or update a local user before logging them in. Review the package routes and controller behavior in the README because implementation details are not included in the provided context.
Which Laravel versions are supported by dagasmart/social?
The provided context does not specify which Laravel versions dagasmart/social supports. Check the package composer.json for its illuminate/support or laravel/framework constraints before installing. Also review the release history or README for any version-specific installation notes.
How do I test social login with dagasmart/social?
Test social login by mocking the OAuth provider's HTTP responses or using a fake provider driver if the package offers one. Cover the redirect, callback success, denied authorization, invalid state, and provider error paths in feature tests. Avoid calling real provider APIs in automated tests and use test credentials only in isolated environments.
Is dagasmart/social suitable for production use?
It can be suitable for production if you follow OAuth security practices such as HTTPS redirect URIs, state validation, and secure storage of client secrets. Handle provider outages and duplicate accounts carefully, and log authentication failures without exposing tokens. Check the package's maintenance activity and test coverage before relying on it in a critical login path.
How does dagasmart/social compare to Laravel Socialite?
Laravel Socialite is the official first-party package and supports many common OAuth providers. dagasmart/social may be a better fit if it offers simpler configuration or built-in support for the specific third-party platforms your application needs. Compare provider coverage, maintenance status, and Laravel version compatibility before choosing.
How do I troubleshoot OAuth errors in dagasmart/social?
Start by checking the redirect URI registered with the provider matches the one sent by your Laravel app exactly, including scheme and trailing slash. Verify client ID, secret, scopes, and state handling, then inspect logs for provider error responses. If the package uses its own routes or config, confirm they are published and cached configuration is refreshed after changes.
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.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console