Skip to content

Commit

Permalink
Merge pull request #4 from claytonrcarter/laravel-55
Browse files Browse the repository at this point in the history
Add support for Laravel 5.5 with package auto-discovery
  • Loading branch information
alexandre-butynski committed Sep 26, 2017
2 parents 360c08d + 45a5e69 commit 4b07f1c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ In order to install this package, add `neoxia/laravel-csv-response` in `composer
},
```

And add the service provider in `config/app.php`.
As of Laravel 5.5, this package will be automatically discovered and registered.
For older version of Laravel, add the service provider in `config/app.php`.

```PHP
Neoxia\Routing\ResponseFactoryServiceProvider::class,
Expand Down
11 changes: 9 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"description": "Add a CSV response type to Laravel",
"require": {
"php": ">=5.5.9",
"illuminate/routing": "5.1.*|5.2.*|5.3.*|5.4.*",
"illuminate/support": "5.1.*|5.2.*|5.3.*|5.4.*"
"illuminate/routing": "5.1.*|5.2.*|5.3.*|5.4.*|5.5.*",
"illuminate/support": "5.1.*|5.2.*|5.3.*|5.4.*|5.5.*"
},
"require-dev": {
"phpunit/phpunit": "4.8.*",
Expand All @@ -16,5 +16,12 @@
"psr-4": {
"Neoxia\\": "src/Neoxia/"
}
},
"extra": {
"laravel": {
"providers": [
"Neoxia\\Routing\\ResponseFactoryServiceProvider"
]
}
}
}

0 comments on commit 4b07f1c

Please sign in to comment.