You are viewing documentation for an outdated version. It is no longer supported!

Semantic Version

Determines whether a version number adheres to semantic versioningopen in new window or not.

use Aedart\Validation\Rules\SemanticVersion;

$data = $request->validate([
    'version' => [ new SemanticVersion() ],
]);