You are viewing documentation for an outdated version. It is no longer supported!
Semantic Version
Determines whether a version number adheres to semantic versioning or not.
use Aedart\Validation\Rules\SemanticVersion;
$data = $request->validate([
'version' => [ new SemanticVersion() ],
]);