Skip to content

Commit 4a2bc33

Browse files
Update README.md
1 parent 8aa89f5 commit 4a2bc33

File tree

1 file changed

+39
-1
lines changed

1 file changed

+39
-1
lines changed

README.md

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,40 @@
11
# blueprint
2-
A new open-source project.
2+
A new open-source tool being developed to provide rapidly generate multiple Laravel components using a expressive, human readable syntax.
3+
4+
---
5+
6+
**Example Syntax**
7+
```yaml
8+
model: post
9+
id
10+
title: string
11+
content: bigtext
12+
published_at: nullable timestamp
13+
timestamps
14+
15+
16+
17+
controller: post
18+
index
19+
query: all posts
20+
render: post.index with posts
21+
22+
store
23+
validate: title, content
24+
save: post
25+
send: ReviewNotifcation to post.author
26+
queue: SyncMedia
27+
flash: post.title
28+
redirect: post.index
29+
```
30+
31+
**Generated Components**
32+
- Migration
33+
- Model
34+
- Route
35+
- Controller
36+
- Form Request
37+
- Mailable
38+
- Job
39+
- View (stub)
40+

0 commit comments

Comments
 (0)