Skip to content

Commit 2c9b59e

Browse files
authored
Merge pull request #3 from hyperlinkgroup/readme
Improving readme
2 parents bac25a2 + 89fe59a commit 2c9b59e

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,18 @@ A helper package for the assert json structure test method. It will create a jso
1111
You can install the package via composer:
1212

1313
```bash
14-
composer require hyperlink/laravel-json-structure
14+
composer require hyperlink/laravel-json-structure --dev
1515
```
1616

1717
## Usage
1818

19-
```php
20-
$jsonStructure = new Hyperlink\JsonStructure();
21-
echo $jsonStructure->echoPhrase('Hello, Hyperlink!');
19+
```bash
20+
php artisan json:structure "<route name>"
21+
```
22+
Example
23+
24+
```bash
25+
php artisan json:structure "users.index"
2226
```
2327

2428
## Credits

0 commit comments

Comments
 (0)