# Upgrading From 2.9.4 to 4.0 (latest Version)

**URL:** <https://discourse.cakephp.org/t/upgrading-from-2-9-4-to-4-0-latest-version/7898>\
**Category:** Need Help\
**Tags:** release\
**Created:** [June 3, 2020, 9:33pm UTC](https://discourse.cakephp.org/t/upgrading-from-2-9-4-to-4-0-latest-version/7898 "2020-06-03T21:33:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vishalpatwa](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/vishalpatwa/32/1860_2.png) [@vishalpatwa](https://discourse.cakephp.org/u/vishalpatwa)\
**Post date:** [June 3, 2020, 9:33pm UTC](https://discourse.cakephp.org/t/upgrading-from-2-9-4-to-4-0-latest-version/7898/1 "2020-06-03T21:33:42Z")

</div>

I am on Cakephp version 2.9.4 and wanted it to upgrade on Cakephp Version 4.0.  
Can anybody tell me what were the steps to make it done?  
My Current Composer.json is:

```
    {
	"name": "cakephp/cakephp",
	"description": "The CakePHP framework",
	"type": "library",
	"keywords": ["framework"],
	"homepage": "http://cakephp.org",
	"license": "MIT",
	"authors": [
		{
			"name": "CakePHP Community",
			"homepage": "https://github.com/cakephp/cakephp/graphs/contributors"
		}
	],
	"support": {
		"issues": "https://github.com/cakephp/cakephp/issues",
		"forum": "http://stackoverflow.com/tags/cakephp",
		"irc": "irc://irc.freenode.org/cakephp",
		"source": "https://github.com/cakephp/cakephp"
	},
	"require": {
		"php": ">=5.3.0",
		"ext-mcrypt": "*"
	},
	"require-dev": {
		"phpunit/phpunit": "3.7.*",
		"cakephp/cakephp-codesniffer": "^1.0.0"
	},
	"config": {
		"vendor-dir": "vendors/"
	},
	"bin": [
		"lib/Cake/Console/cake"
	]
}

```

Kindly remember that I haven’t been updated on CakePHP so it will help me if you could brief me.

---

<div class="post-metadata">

**Author:** ![Zuluru](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/zuluru/32/1230_2.png) [@Zuluru](https://discourse.cakephp.org/u/Zuluru)\
**Post date:** [June 3, 2020, 10:30pm UTC](https://discourse.cakephp.org/t/upgrading-from-2-9-4-to-4-0-latest-version/7898/2 "2020-06-03T22:30:48Z")

</div>

Variations on this have been asked here a bunch of times, and answers are always pretty similar. Search for “update” in the top toolbar and several of the results should be useful.
