Laravel-Steam
This package provides an easy way to get details from the steam api service. The services it can access are:
ISteamNews
IPlayerService
ISteamUser
ISteamUserStats
ISteamApps
Installation
First of all, You need get your API key from Steam
in Laravel 5.5 and up
composer require addones/laravel-steam
Publish the config file.
php artisan vendor:publish
Lastly, you can using Steam class in controller use namespace top of that file
use Steam;
in Laravel 5.0 - 5.4
composer require addones/laravel-steam
Once that is finished, add the service provider to config/app.php
Dawoea\SteamApi\SteamApiServiceProvider::class,
The alias to Steam is already handled by the package.
And, publish the config file.
php artisan vendor:publish
Lastly, you can using Steam class in controller use namespace top of that file
use Steam;
Documentation
You can find the full documentation Here.