LaravelPackages.net
Acme Inc.
Toggle sidebar
truckspace/laravel-walkway

Laravel wrapper around the Truckspace ID service.

855
1
v2.1.0
About truckspace/laravel-walkway

truckspace/laravel-walkway is a Laravel package for laravel wrapper around the truckspace id service.. It currently has 1 GitHub stars and 855 downloads on Packagist (latest version v2.1.0). Install it with composer require truckspace/laravel-walkway. Discover more Laravel packages by truckspace or browse all Laravel packages to compare alternatives.

Last updated

Build Status Total Downloads Latest Stable Version License

About Walkway

Laravel Walkway is a Laravel Socialite provider which makes it super easy for you to allow your users to authenticate with their Truckspace ID in your Laravel application.

Installation

To get started with Walkway, use the Composer package manager to add the package to your project's dependencies:

composer require truckspace/laravel-walkway

Configuration

Before using the Walkway socialite provider, you will need to add your credentials to your application's config/services.phpconfiguration file.

'truckspace' => [
    'client_id' => env('TRUCKSPACE_CLIENT_ID'),
    'client_secret' => env('TRUCKSPACE_CLIENT_SECRET'),
    'redirect' => 'http://example.com/callback-url',
],

You should now be able to use the provider like you would regularly use Socialite (assuming you have the facade installed):

return Socialite::driver('truckspace')->redirect();

For more information on how to use Laravel Socialite, please visit the official documentation.

Testing

composer test

License

Laravel Walkwat is open-sourced software licensed under the MIT license.

Comments