Skip to content

2.x Installation

Sam edited this page Apr 27, 2019 · 6 revisions

Add to your project via composer

composer require kanalumaddela/laravel-steam-login

Publish the config file

Laravel users

php artisan vendor:publish --force --provider kanalumaddela\LaravelSteamLogin\SteamLoginServiceProvider

Lumen users

  1. The service provider automatically creates the config/ folder (if it doesn't exist) and copies the config/steam-login.php for you (if it doesn't exist).
  2. Add this in your bootstrap/app.php
//...
/*
|--------------------------------------------------------------------------
| Register Service Providers
|--------------------------------------------------------------------------
|
| Here we will register all of the application's service providers which
| are used to bind services into the container. Service providers are
| totally optional, so you are not required to uncomment this line.
|
*/

$app->register(\kanalumaddela\LaravelSteamLogin\SteamLoginServiceProvider::class);
$app->configure('steam-login');
//...

Next Step: Configuration