Search
Test whether a version satisfies a Composer constraint using composer/semver, the same library Composer uses.
10.2.1 satisfies ^10.0.
Composer constraints such as ^10.0, ~8.1, >=8.2 <8.5, and 1.2.3 || 1.2.4 follow the Composer semver rules, which differ slightly from npm. This checker calls Composer\Semver\Semver::satisfies() so the answer matches composer why / your lock file.
Laravel PHP Version Compatibility
Check whether a Laravel version runs on a given PHP version, using the official PHP ranges for Laravel 8 through 13.
Laravel App Key Generator
Generate a Laravel APP_KEY (AES-256-CBC) and a starter .env block. A new key will not decrypt existing data.
JSON to PHP Array Converter
Convert JSON into PHP short-array syntax and a starter Eloquent model with fillable attributes and inferred casts.
From the blog
^10.0 is not ~10.0: Composer caret versus tilde
Composer semver is close to npm and not the same. Test a version against the constraint before you bump it in CI.
From the blog
Can you run Laravel 13 on PHP 8.2?
Each Laravel release supports a band of PHP versions. Check the matrix before composer update.