Download the PHP package freebuu/socialite-local without Composer
On this page you can find all versions of the php package freebuu/socialite-local. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download freebuu/socialite-local
More information about freebuu/socialite-local
Files in freebuu/socialite-local
Package socialite-local
Short Description Socialite provider for local development
License MIT
Informations about the package socialite-local
Socialite Local
Introduction
The library is used to simulate an OAuth server locally. All calls to the Socialite are intercepted and replaced by a local driver. Only installation is enough to use - no additional configuration in most cases.
Installation
- Require Socialite v4 or v5 and OAuth2 provider (OAuth1 providers not supported for now)
- Use Composer to install:
composer require --dev freebuu/socialite-local
:warning: WARNING: install this package only as dev dependency due to security reasons.
Usage
Just use socialite as usual:
You will be redirected to local page - where you can set email, username, id, etc. for subject. After submitting form you can get socialite user as usual - with previously entered data.
Additional configuration
Server response
If you need to imitate user structure from server - it can be achieved with afterResolving
callback
User mapper
By default, library use original driver mapper - to map server answer to User model. You can disable this behavior by setting SOCIALITE_LOCAL_USE_ORIGINAL_MAPPER
to false
All versions of socialite-local with dependencies
illuminate/support Version ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10
illuminate/cache Version ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10
laravel/socialite Version ~4.0 || ~5.0