Skip to content

Commit 6ca13d8

Browse files
committed
Support Laravel 5.8+, PHP 7.1+ #87
1 parent 4166b93 commit 6ca13d8

File tree

3 files changed

+736
-434
lines changed

3 files changed

+736
-434
lines changed

README.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
[![Total Downloads](https://poser.pugx.org/syntax/steam-api/downloads.svg)](https://packagist.org/packages/syntax/steam-api)
99
[![License](https://poser.pugx.org/syntax/steam-api/license.svg)](https://packagist.org/packages/syntax/steam-api)
1010

11-
**For Laravel 4, checkout the documentation on the [Laravel 4 branch](https://github.com/syntaxerrors/Steam/tree/Laravel4).**
11+
**Version Support**
12+
`Laravel >= 5.8.0`
13+
`PHP >= 7.1.0`
1214

1315
- [Installation](#installation)
1416
- [Usage](#usage)
@@ -27,7 +29,7 @@ This package provides an easy way to get details from the Steam API service. Th
2729
Begin by installing this package with composer.
2830

2931
"require": {
30-
"syntax/steam-api": "2.0.*"
32+
"syntax/steam-api": "2.1.*"
3133
}
3234

3335
Next, update composer from the terminal.
@@ -36,14 +38,6 @@ Next, update composer from the terminal.
3638

3739
> Alternately, you can run "composer require syntax/steam-api:dev-master" from the command line.
3840
39-
> **Note**: If you are using Laravel 5.5, the next steps are unnecessary. This package supports Laravel [Package Discovery](https://laravel.com/docs/5.5/packages#package-discovery).
40-
41-
Once that is finished, add the service provider to `config/app.php`
42-
43-
'Syntax\SteamApi\SteamApiServiceProvider',
44-
45-
> The alias to Steam is already handled by the package.
46-
4741
Lastly, publish the config file. You can get your API key from [Steam](http://steamcommunity.com/dev/apikey).
4842

4943
php artisan vendor:publish

composer.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "syntax/steam-api",
3-
"description": "A steam-api client for Laravel 5.5+",
3+
"description": "A steam-api client for Laravel 5.8+",
4+
"version": "2.1.0",
45
"license": "MIT",
56
"authors": [
67
{
@@ -10,12 +11,12 @@
1011
],
1112
"require": {
1213
"php": "^7.1.0",
13-
"laravel/framework": "^5.5.0",
14+
"laravel/framework": ">=5.8.0",
1415
"guzzlehttp/guzzle": "^6.0",
1516
"nukacode/database": "^1.0"
1617
},
1718
"require-dev": {
18-
"phpunit/phpunit": ">=5.0",
19+
"phpunit/phpunit": ">=7.0",
1920
"orchestra/testbench": "^3.0"
2021
},
2122
"autoload": {

0 commit comments

Comments
 (0)