Recently I have reported a bugfix for Cakephp and the team has fixed the bug and merged it back to the cakephp repo (version 3.3.3). I wonder how to get the version of CakePhp.
In my application folder I run composer update
and this is what is set into my composer.json file:
"require": {
"php": ">=5.5.9",
"cakephp/cakephp": "~3.3",
"mobiledetect/mobiledetectlib": "2.*",
"cakephp/migrations": "~1.0",
"cakephp/plugin-installer": "*",
"dereuromark/cakephp-ajax": "dev-master"
},
I can see in composer that the available versions are 3.3.1 and below. But is there any way that I can get those bug fixes from repo. Or is it fine if I downoad the file and upload it to my src/cake application folder.
Any help please
Assuming you have composer installed globally, you can update the CakePHP to the latest version by running the following in terminal when in the project folder, the same directory composer.json lives in:
composer update
If you are having trouble with updating it can sometimes be caused by composer being out of date, update it regularly with the following in terminal:
composer self-update