From afb3770a8b1ba43ac77453fcf35914489554f8c0 Mon Sep 17 00:00:00 2001 From: "tien.xuan.vo" Date: Fri, 18 Oct 2024 10:40:58 +0700 Subject: [PATCH] docs: Fix running example commands --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 973371d9..e7f8205e 100644 --- a/README.md +++ b/README.md @@ -170,13 +170,11 @@ To run the examples Run a single example -1. Change into the required example folder `cd examples/json` -3. Run the example - `phpunit` +`composer run-example:json` Run all examples -1. Change into the examples folder `cd examples` -2. Install all the examples `phpunit` +`composer run-examples` ![----------](https://user-images.githubusercontent.com/53900/182992715-aa63e421-170b-41cf-8f95-82fe4b0846c2.png)