Skip to content

Commit

Permalink
README ToC
Browse files Browse the repository at this point in the history
  • Loading branch information
Sairahcaz committed Jun 21, 2023
1 parent 05781b8 commit ea88ba5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ Then publish the config file with:
php artisan vendor:publish --tag="schema-rules-config"
```

## ToC

- [`Generate rules for the whole table`](#generate-rules-for-the-whole-table)
- [`Generate rules for specific columns`](#generate-rules-for-specific-columns)
- [`Generate Form Request Class`](#generate-form-request-class)

## Usage

Let's say you've migrated this fictional table:
Expand Down Expand Up @@ -93,7 +99,7 @@ Copy & paste these to your controller validation or form request or where ever y
]
````

### Create Form Request
### Generate Form Request Class

Optionally, you can add a `--create-request` or `-c` flag,
which will create a form request class with the generated rules for you!
Expand Down

0 comments on commit ea88ba5

Please sign in to comment.