{"repo":"mikebronner/laravel-socialiter","free":true,"listed":false,"github":"https://github.com/mikebronner/laravel-socialiter","clone":"git clone https://github.com/mikebronner/laravel-socialiter.git","description":"Automatically manage user persistence and resolution for any Laravel Socialite provider.","language":"PHP","stars":134,"topics":["laravel","socialite","authentication","oauth"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Socialiter for Laravel Supporting This Package This is an MIT-licensed open source project with its ongoing development made possible by the support of the community. If you'd like to support this, and our other packages, please consider sponsoring us via the button above. We thank the following sponsors for their generosity, please take a moment to check them out: - LIX Table of Contents - Requirements - Installation - Implementation Requirements - PHP 8.2, 8.3, 8.4, 8.5 - Laravel 11.x, 12.x, 13.x - Socialite 5.3+ Installation 1. Install the composer package: 2. Add the social credentials table: To prevent automatic migrations from running (for example if you have a different migration setup, like multi-tenancy, etc.), add the following entry to your app's service provider: And then publish the migration files and manipulate them as needed: 3. Update the user model: Custom Registration By default, Socialiter creates new users with just their name , email , and a random password. If you need to customize how users are created (for example, to set additional attributes or use a custom creation flow), register a callback in your AppServiceProvider : The callback receives the raw Socialite user object and must return a persisted User model instance. If no callback is registered, the default behavior is used. You can reset to default at any time with Socialiter::createUsersUsingDefault() . Note: The custom callback is only invoked when creating a new user. If an existing user wit","default_branch":null,"files":null,"tree":[],"storefront":"/r/mikebronner","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mikebronner/laravel-socialiter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}