Skip to content

Commit bb4d93b

Browse files
authored
Merge pull request #21 from headerx/main
Main
2 parents d062f43 + 0c298a4 commit bb4d93b

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

.github/workflows/test-stubs.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
name: run-tests
1+
name: test-stubs
22

33
on:
44
push:
55
paths:
66
- '**.php'
7-
- '.github/workflows/run-tests.yml'
87
- '.github/workflows/test-stubs.yml'
98
- 'phpunit.xml.dist'
109
- 'composer.json'

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ laravel new jetpass-app --stack=livewire --jet --dark --api --dev
1818
Using Composer
1919

2020
```bash
21-
composer require laravel/jetstream
21+
composer require "laravel/jetstream:^5.x-dev"
2222
```
2323

2424
```bash
@@ -27,11 +27,11 @@ php artisan jetstream:install livewire --api --dark --pest
2727

2828
See [Docs](https://jetstream.laravel.com/installation.html) for more info.
2929

30-
1. Install this package:
30+
2. Install this package:
3131

3232

3333
```bash
34-
composer require headerx/laravel-jetstream-passport
34+
composer require "headerx/laravel-jetstream-passport:^1.0"
3535
```
3636

3737
```bash

stubs/app/Providers/PassportServiceProvider.php renamed to stubs/app/Providers/ApiServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Illuminate\Support\ServiceProvider;
66
use Laravel\Passport\Passport;
77

8-
class PassportServiceProvider extends ServiceProvider
8+
class ApiServiceProvider extends ServiceProvider
99
{
1010
/**
1111
* Register services.

stubs/bootstrap/providers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
// This file is automatically generated by Laravel...
44

55
return [
6+
App\Providers\ApiServiceProvider::class,
67
App\Providers\AppServiceProvider::class,
78
App\Providers\FortifyServiceProvider::class,
89
App\Providers\JetstreamServiceProvider::class,
9-
App\Providers\PassportServiceProvider::class,
1010
];

0 commit comments

Comments
 (0)