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
+55-27Lines changed: 55 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,18 @@
1
-
# This is my package laravel-rules-to-schema
1
+
# Laravel Rules to Schema
2
2
3
3
[](https://packagist.org/packages/riley19280/laravel-rules-to-schema)
It is recommended to use `FormRequest` classes in your application to use this package.
13
+
This allows for easy extraction of rule objects to pass them into this package.
13
14
14
-
We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).
15
-
16
-
We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).
15
+
You can still use this package just by passing in an array of rules, but that is a but more cumbersome.
17
16
18
17
## Installation
19
18
@@ -23,43 +22,72 @@ You can install the package via composer:
0 commit comments