Semantic Version
Determines whether a version number adheres to semantic versioning or not.
use Aedart\Validation\Rules\SemanticVersion;
$data = $request->validate([
'version' => [ new SemanticVersion() ],
]);
Determines whether a version number adheres to semantic versioning or not.
use Aedart\Validation\Rules\SemanticVersion;
$data = $request->validate([
'version' => [ new SemanticVersion() ],
]);