File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -69,9 +69,13 @@ HttpMock::get($url);
6969
7070It 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
8892From 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
9397MOCK_API=false
Original file line number Diff line number Diff line change 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 ,
You can’t perform that action at this time.
0 commit comments