Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
Sammyjo20 committed Sep 22, 2023
1 parent a7be049 commit 83881a0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
This is the Laravel plugin for Saloon, to install it run the following command

```php
composer require saloonphp/laravel-plugin
composer require saloonphp/laravel-plugin "^3.0"
```
>Requires Laravel 9+ and PHP 8.1+
### Documentation

[Click here to read the documentation](https://docs.saloon.dev/v/2)
[Click here to read the documentation](https://docs.saloon.dev)
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"illuminate/console": "^9.52 || ^10.0",
"illuminate/http": "^9.52 || ^10.0",
"illuminate/support": "^9.52 || ^10.0",
"saloonphp/saloon": "^3.0-beta.4"
"saloonphp/saloon": "^3.0-beta.5"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.5",
Expand Down
2 changes: 1 addition & 1 deletion src/SaloonServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function boot(): void
});

Config::globalMiddleware()
->onRequest(new MockMiddleware, 'laravelMock', PipeOrder::FIRST)
->onRequest(new MockMiddleware, 'laravelMock')
->onRequest(new SendRequestEvent, 'laravelSendRequestEvent', PipeOrder::LAST)
->onResponse(new RecordResponse, 'laravelRecordResponse', PipeOrder::FIRST)
->onResponse(new SendResponseEvent, 'laravelSendResponseEvent', PipeOrder::FIRST);
Expand Down

0 comments on commit 83881a0

Please sign in to comment.