Skip to content
loading...
Cover image for PHP Composer package version cheatsheet

PHP Composer package version cheatsheet

asrar7787 profile image Asrar github logo ・1 min read


"require": {
"vendor/package": "1.5.4", // Exact version to 1.5.4
"vendor/package": ">=1.5.0", // Anything above 1.5.0
"vendor/package": "<1.5.0", // Anything below 1.5.0
"vendor/package": "1.5.*", // Wildcard i.e. >=1.5 <1.6
"vendor/package": "~1.5", // Next significant release i.e. >=1.5 <2.0.0 //
"vendor/package": "~1.5.2", // Next significant release i.e. >=1.5.2 <1.6.0
"vendor/package": "^1.5.2", // Next release, major version fixed i.e. >=1.5.2 <2.0.0
"vendor/package": "^0.5.2", // Next release, major version fixed i.e. >=0.5.2 <0.6.0
}

twitter logo DISCUSS
Discussion
markdown guide
Classic DEV Post from Feb 23 '18

Microservices communications. Why you should switch to message queues.

A common pattern in Microservices is to use HTTP and REST to communicate. But there are better solutions out there.

Asrar profile image