Skip to content

Commit 4e1e6e5

Browse files
committed
Tweak YAML syntax
This changes the syntax slighly for cleaner out-of-the-box parsing as well as supporting multiple model or controller definitions within a single file.
1 parent 4a2bc33 commit 4e1e6e5

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,19 @@ A new open-source tool being developed to provide rapidly generate multiple Lara
55

66
**Example Syntax**
77
```yaml
8-
model: post
8+
Post:
99
id
1010
title: string
1111
content: bigtext
1212
published_at: nullable timestamp
1313
timestamps
1414

15-
16-
17-
controller: post
18-
index
15+
PostController:
16+
index:
1917
query: all posts
2018
render: post.index with posts
2119

22-
store
20+
store:
2321
validate: title, content
2422
save: post
2523
send: ReviewNotifcation to post.author

0 commit comments

Comments
 (0)