Skip to content

Commit 71a885b

Browse files
Add Laravel 9 Support (#347)
1 parent 269992c commit 71a885b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
fail-fast: true
1414
matrix:
1515
php: [ 7.2, 7.3, 7.4, 8.0, 8.1 ]
16-
laravel: [ ^6.0, ^7.0, ^8.74 ]
16+
laravel: [ ^6.0, ^7.0, ^8.74, ^9.0 ]
1717
composerFlags: ['--prefer-lowest', '']
1818
exclude:
1919
- php: 7.2

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727
"require": {
2828
"php": "^7.2|~8.0.0|~8.1.0",
2929
"ext-json": "*",
30-
"laravel/framework": "^6.0|^7.0|^8.74"
30+
"laravel/framework": "^6.0|^7.0|^8.74|^9.0"
3131
},
3232
"require-dev": {
33+
"roave/security-advisories": "dev-master",
34+
"orchestra/testbench": "^4.0|^5.0|^6.4|^7.0",
3335
"mockery/mockery": "^1.3.3",
34-
"orchestra/testbench": "^4.0|^5.0|^6.4",
35-
"phpunit/phpunit": "^8.0|^9.5.8",
36-
"roave/security-advisories": "dev-master"
36+
"phpunit/phpunit": "^8.0|^9.5.8"
3737
},
3838
"extra": {
3939
"laravel": {

src/Response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public function toResponse($request)
125125
$page = [
126126
'component' => $this->component,
127127
'props' => $props,
128-
'url' => $request->getRequestUri(),
128+
'url' => $request->getBaseUrl().$request->getRequestUri(),
129129
'version' => $this->version,
130130
];
131131

0 commit comments

Comments
 (0)