You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+26Lines changed: 26 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,32 @@ No more 40 line controller methods for fetching data!
34
34
35
35
## Usage
36
36
37
+
### Make Command
38
+
39
+
Creating a new Inertia Data Provider is easy with the make:data-provider command.
40
+
41
+
#### Command:
42
+
43
+
```Bash
44
+
php artisan make:data-provider {name}
45
+
```
46
+
47
+
#### Arguments:
48
+
49
+
* `{name}`: The name of the enum class to be created (e.g., OrderStatus). The command will automatically append "Enum" to the name (e.g., OrderStatusEnum).
50
+
* `{--force}`: Overwrite the data provider if it already exists.
0 commit comments