{
"name": "appName",
"version": "0.0.0",
"main": "server/app.js",
"dependencies": {
// ...
"lib-name": "git+https://username:passwords@bitbucket.org/company/lib-name.git"
}
}
$file_dist = "/uploads/".basename($file_name);
strtolower($_FILES['image']['tmp_name']) != $_FILES['image']['tmp_name']
$versions = [
Version::fromString('2.0.0'),
Version::fromString('1.2.3'),
Version::fromString('1.3.3'),
Version::fromString('1.3.3-alpha.10'),
Version::fromString('1.3.3-alpha.2'),
Version::fromString('1.2.3-rc.1+exp.sha.5114f85'),
];
var_dump(VersionSorter::sort($versions));