# Cakephp 2.x vs Cale php 3.X

**URL:** <https://discourse.cakephp.org/t/cakephp-2-x-vs-cale-php-3-x/3583>\
**Category:** Need Help\
**Created:** [November 28, 2017, 10:06am UTC](https://discourse.cakephp.org/t/cakephp-2-x-vs-cale-php-3-x/3583 "2017-11-28T10:06:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maan](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/maan/32/628_2.png) [@Maan](https://discourse.cakephp.org/u/Maan)\
**Post date:** [November 28, 2017, 10:06am UTC](https://discourse.cakephp.org/t/cakephp-2-x-vs-cale-php-3-x/3583/1 "2017-11-28T10:06:18Z")

</div>

i would like to take help from senior members of Community that i have Started My Cakephp Carer in 2.5.4 and then do work in 2.7 and on words in 2.9 in Some of my Project Back into 2016 Now I want to Start a new project But i am Confused as Cakphp 3.5 released but i have no idea of it.  
Should i First get some idea of cakephp 3 and then Start working in 3.5 or you people should prefer me to work in 2.7 or 2.9 as there help is available

---

<div class="post-metadata">

**Author:** ![rrd](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/rrd/32/113_2.png) [@rrd](https://discourse.cakephp.org/u/rrd)\
**Post date:** [November 28, 2017, 12:16pm UTC](https://discourse.cakephp.org/t/cakephp-2-x-vs-cale-php-3-x/3583/2 "2017-11-28T12:16:38Z")

</div>

I would suggest to use Cake 3 for new projects. The new ORM ships a lot of improvements.

---

<div class="post-metadata">

**Author:** ![Maan](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/maan/32/628_2.png) [@Maan](https://discourse.cakephp.org/u/Maan)\
**Post date:** [November 28, 2017, 12:56pm UTC](https://discourse.cakephp.org/t/cakephp-2-x-vs-cale-php-3-x/3583/3 "2017-11-28T12:56:46Z")

</div>

thanks @rrd For your suggestion is there is enough help exist for Starting project in Cakephp 3

---

<div class="post-metadata">

**Author:** ![gildonei](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/gildonei/32/844_2.png) [@gildonei](https://discourse.cakephp.org/u/gildonei)\
**Post date:** [November 30, 2017, 7:22pm UTC](https://discourse.cakephp.org/t/cakephp-2-x-vs-cale-php-3-x/3583/4 "2017-11-30T19:22:40Z")

</div>

Cake 3 has a lot of improviments, but version 2 is more magic and flexible specialy if you intend to use some custom Model names, etc.

In Cake 3 I am having some troubles because I am using portuguese names for Tables, Entities and Controllers, so some things didn’t work as expected

---

<div class="post-metadata">

**Author:** ![Diego](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/diego/32/296_2.png) [@Diego](https://discourse.cakephp.org/u/Diego)\
**Post date:** [December 1, 2017, 10:38am UTC](https://discourse.cakephp.org/t/cakephp-2-x-vs-cale-php-3-x/3583/5 "2017-12-01T10:38:23Z")

</div>

if you need to use non conventional names extra configuration is needed to things work as expected, example:

model / table:

```
class EmpresasTable extends Table
{
    public function initialize(array $config)
    {
        $this->setTable('my_nonconventional_table_name');
    }
}

```

bootstrap.php configure inflector irregular rules

```
Inflector::rules('irregular', [
    'solicitacao' => 'solicitacoes',
    'situacao' => 'situacoes',
    'item' => 'itens',
    'variavel' => 'variaveis',
    'padrao' => 'padroes',
    'configuracao' => 'configuracoes',
    'responsavel' => 'responsaveis',
    'pais' => 'paises'
]);
```

---

<div class="post-metadata">

**Author:** ![ashish\_onmobile](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/ashish_onmobile/32/460_2.png) [@ashish\_onmobile](https://discourse.cakephp.org/u/ashish_onmobile)\
**Post date:** [December 2, 2017, 9:07am UTC](https://discourse.cakephp.org/t/cakephp-2-x-vs-cale-php-3-x/3583/6 "2017-12-02T09:07:54Z")

</div>

I will suggest start using cakephp 3.x . For any kind help start reading cakephp cookbook which is very helpful.

Please let us know if you need any other kind of help.

Regards,  
Ashish

---

<div class="post-metadata">

**Author:** ![skumar](https://avatars.discourse-cdn.com/v4/letter/s/e9c0ed/32.png) [@skumar](https://discourse.cakephp.org/u/skumar)\
**Post date:** [December 4, 2017, 12:16pm UTC](https://discourse.cakephp.org/t/cakephp-2-x-vs-cale-php-3-x/3583/7 "2017-12-04T12:16:33Z")

</div>

I think you must go with Cakephp 3.x. It is more flexible to develop any kind of project. In cake 3.x you start modular based coding and feel more freedom which is not in cake 2.x. Cake 3.x is entity based which give you tight coupling with database table entities. And lots more when you will spent time.
