generated from spatie/package-skeleton-laravel
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Riley Aven
committed
Aug 28, 2024
1 parent
cefdb9f
commit 7aed516
Showing
16 changed files
with
476 additions
and
445 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,26 @@ | ||
<?php | ||
|
||
// config for LaravelRulesToSchema/LaravelRulesToSchema | ||
return [ | ||
|
||
/* | ||
* The key to store validation rules under | ||
* This should be unique and not match any real property names | ||
* that will be submitted in requests. | ||
*/ | ||
'validation_rule_token' => '##_VALIDATION_RULES_##', | ||
|
||
/* | ||
* The pipeline to run rules through | ||
*/ | ||
'pipes' => [ | ||
\LaravelRulesToSchema\Parsers\TypeParser::class, | ||
\LaravelRulesToSchema\Parsers\NestedObjectParser::class, | ||
\LaravelRulesToSchema\Parsers\RequiredParser::class, | ||
\LaravelRulesToSchema\Parsers\MiscPropertyParser::class, | ||
\LaravelRulesToSchema\Parsers\FormatParser::class, | ||
\LaravelRulesToSchema\Parsers\EnumParser::class, | ||
\LaravelRulesToSchema\Parsers\ExcludedParser::class, | ||
\LaravelRulesToSchema\Parsers\ConfirmedParser::class, | ||
], | ||
|
||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
|
||
namespace LaravelRulesToSchema; | ||
|
||
class NormalizesValidationRules | ||
{ | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.