Skip to content

Commit 3245fb3

Browse files
committed
doc: update README.md
1 parent 93fb5e9 commit 3245fb3

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,13 @@ HttpMock::get($url);
6969

7070
It is done! Now you can start mocking all your external APIs (and maybe colleagues who are developing them ;-)
7171

72+
## Example application
73+
74+
You can check usage of MockApi in this [example application](https://github.com/lichtner/laravel-mock-api-example)
75+
7276
## Security
7377

74-
**By default, MockApi works only on the `local` environment! It does not affect the other ones!**
78+
By default, MockApi works only on the `local` environment! It does not affect the other ones!
7579

7680
## Usage
7781

@@ -87,7 +91,7 @@ MOCK_API=true
8791

8892
From that moment all external resources will return the last saved successful responses.
8993

90-
After your web services are back, change it to:
94+
After your web services are back, you can change it to:
9195

9296
```yaml
9397
MOCK_API=false

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@
4848
},
4949
"scripts": {
5050
"post-autoload-dump": "@php ./vendor/bin/testbench package:discover --ansi",
51-
"analyse": "php8.2 vendor/bin/phpstan analyse",
52-
"test": "php8.2 vendor/bin/pest",
53-
"test-coverage": "php8.2 vendor/bin/pest --coverage",
54-
"format": "php8.2 vendor/bin/pint"
51+
"analyse": "php vendor/bin/phpstan analyse",
52+
"test": "php vendor/bin/pest",
53+
"test-coverage": "php vendor/bin/pest --coverage",
54+
"format": "php vendor/bin/pint"
5555
},
5656
"config": {
5757
"sort-packages": true,

0 commit comments

Comments
 (0)