Skip to content

Commit

Permalink
Merge pull request #3 from hyperlinkgroup/readme
Browse files Browse the repository at this point in the history
Improving readme
  • Loading branch information
Katalam authored Jan 22, 2023
2 parents bac25a2 + 89fe59a commit 2c9b59e
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,18 @@ A helper package for the assert json structure test method. It will create a jso
You can install the package via composer:

```bash
composer require hyperlink/laravel-json-structure
composer require hyperlink/laravel-json-structure --dev
```

## Usage

```php
$jsonStructure = new Hyperlink\JsonStructure();
echo $jsonStructure->echoPhrase('Hello, Hyperlink!');
```bash
php artisan json:structure "<route name>"
```
Example

```bash
php artisan json:structure "users.index"
```

## Credits
Expand Down

0 comments on commit 2c9b59e

Please sign in to comment.