2017 © Pedro Peláez
 

library laravel-steam-auth

Laravel Steam Auth

image

kanazaca/laravel-steam-auth

Laravel Steam Auth

  • Tuesday, March 31, 2015
  • by kanazaca
  • Repository
  • 3 Watchers
  • 2 Stars
  • 45 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 50 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Steam authentication for laravel 5

This package is a Laravel 5 service provider which provides Steam OpenID and is very easy to integrate with any project which requires steam authentication., (*1)

Installation Via Composer

Add this to your composer.json file, in the require object:, (*2)

"kanazaca/laravel-steam-auth": "1.1.*"

After that, run composer install to install the package., (*3)

Add the service provider to app/config/app.php, within the providers array., (*4)

'providers' => array(
    // ...
    'kanazaca\LaravelSteamAuth\SteamServiceProvider',
)

Lastly, publish the config file., (*5)

php artisan vendor:publish

Usage

use kanazaca\LaravelSteamAuth\SteamAuth;

class SteamController extends Controller {

    /**
     * @var SteamAuth
     */
    private $steam;

    public function __construct(SteamAuth $steam)
    {
        $this->steam = $steam;
    }

    public function getLogin()
    {

        if( $this->steam->validate()){
            return  $this->steam->steamInfo;  //returns the user steam info
        }else{
            return  $this->steam->redirect(); //redirect to steam login page
        }
    }
}

Credits

  • invisnik (original maintainer)

The Versions

31/03 2015

dev-master

9999999-dev

Laravel Steam Auth

  Sources   Download

MIT

The Requires

 

by Hugo Neto

laravel auth steam

30/03 2015

1.1.4

1.1.4.0

Laravel Steam Auth

  Sources   Download

MIT

The Requires

 

by Hugo Neto

laravel auth steam

26/03 2015

1.1.1

1.1.1.0

Laravel Steam Auth

  Sources   Download

MIT

The Requires

 

by Hugo Neto

laravel auth steam

26/03 2015

1.1.0

1.1.0.0

Laravel Steam Auth

  Sources   Download

MIT

The Requires

 

by Nikita Brytkov

laravel auth steam

22/03 2015

v1.0.1

1.0.1.0

Laravel Steam Auth

  Sources   Download

MIT

The Requires

 

by Nikita Brytkov

laravel auth steam

20/03 2015

v1.0.0

1.0.0.0

Laravel Steam Auth

  Sources   Download

MIT

The Requires

 

by Nikita Brytkov

laravel auth steam