2017 © Pedro Peláez
 

cakephp-plugin cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

image

alescx/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

  • Tuesday, April 24, 2018
  • by alescx
  • Repository
  • 1 Watchers
  • 0 Stars
  • 8 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 12 Forks
  • 0 Open issues
  • 34 Versions
  • 0 % Grown

The README.md

Shim plugin for CakePHP

Build Status Coverage Status Latest Stable Version Minimum PHP Version License Total Downloads Coding Standards, (*1)

Shim plugin to "shim" functionality up and down for CakePHP major versions. It also provides some small app-specific fixes., (*2)

This branch is for shimming 2.x in 3.x

It provides compatibility wrapper access to 2.x functionality in 3.x., (*3)

This is mainly useful when upgrading large applications to the next major framework version. Tons of code needs to be adjusted, using this Shim plugin quite a few lines less need to be touched. Especially the ORM layer, which would need heavy refactoring, requires a lot less changes to get things working againc., (*4)

This plugin requires CakePHP 3.0+., (*5)

Installation

Please see SETUP.md, (*6)

Usage

Please see Docs., (*7)

A full overview of all shimming between 2.x and 3.x can be found in the Wiki., (*8)

Main shims

  • Nullable behavior for better data consistency.
  • Primary level Table::find('first') support.
  • Primary level Table::find('count') support.
  • Table::field() support and fieldByConditions() alias to migrate to.
  • Still supports model properties $primaryKey, $displayField, $order, $validate, $actsAs and all relations ($belongsTo, $hasMany, ...) as it would be very time-consuming to manually adjust all those.
  • Contains Session component as compatibility wrapper for request session object (and maybe also for Session helper if that one gets deprecated in 3.x).
  • Auto-adds Timestamp behavior if created or modified field exists in table.

When planning to upgrade, you should look into the upgrade plugin for 2.x and upgrade app for 3.x. They both extend the core ones and contain tons of more ideas on how to get code aligned with the current direction of the framework to reduce friction in the long run., (*9)

The Versions

24/04 2018

dev-master

9999999-dev https://github.com/dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin helpers cakephp shim

24/04 2018

dev-alescx-patch-1

dev-alescx-patch-1 https://github.com/dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin helpers cakephp shim

20/02 2017

1.4.2

1.4.2.0 https://github.com/dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin helpers cakephp shim

12/02 2017

1.4.1

1.4.1.0 https://github.com/dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin helpers cakephp shim

03/11 2016

1.4.0

1.4.0.0 https://github.com/dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin helpers cakephp shim

28/10 2016

1.3.0

1.3.0.0 https://github.com/dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin helpers cakephp shim

18/02 2016

2.x-dev

2.9999999.9999999.9999999-dev https://github.com/dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin helpers cakephp shim

08/02 2016

dev-master-find-shims

dev-master-find-shims https://github.com/dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

  Sources   Download

MIT

The Requires

 

plugin helpers cakephp shim

26/01 2016

1.2.0

1.2.0.0 https://github.com/dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

  Sources   Download

MIT

The Requires

 

plugin helpers cakephp shim

17/01 2016

0.5.5

0.5.5.0 https://github.com/dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin helpers cakephp shim

16/01 2016

0.5.4

0.5.4.0 https://github.com/dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin helpers cakephp shim

12/01 2016

1.1.0

1.1.0.0 https://github.com/dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

  Sources   Download

MIT

The Requires

 

plugin helpers cakephp shim

10/01 2016

0.5.3

0.5.3.0 https://github.com/dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin helpers cakephp shim

07/01 2016

1.0.5

1.0.5.0 https://github.com/dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

  Sources   Download

MIT

The Requires

 

plugin helpers cakephp shim

03/01 2016

1.0.4

1.0.4.0 https://github.com/dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

  Sources   Download

MIT

The Requires

 

plugin helpers cakephp shim

30/12 2015

1.0.3

1.0.3.0 https://github.com/dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

  Sources   Download

MIT

The Requires

 

plugin helpers cakephp shim

18/12 2015

0.5.2

0.5.2.0 https://github.com/dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin helpers cakephp shim

14/12 2015

0.5.1

0.5.1.0 https://github.com/dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin helpers cakephp shim

12/12 2015

0.5.0

0.5.0.0 https://github.com/dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin helpers cakephp shim

15/11 2015

1.0.2

1.0.2.0 https://github.com/dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

  Sources   Download

MIT

The Requires

 

plugin helpers cakephp shim

31/05 2015

1.0.1

1.0.1.0 https://github.com/dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

  Sources   Download

MIT

The Requires

 

plugin helpers cakephp shim

14/05 2015

0.4.0

0.4.0.0 https://github.com/dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin helpers cakephp shim

07/05 2015

1.0.0

1.0.0.0 https://github.com/dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

  Sources   Download

MIT

The Requires

 

plugin helpers cakephp shim

07/05 2015

0.3.2

0.3.2.0 https://github.com/dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin helpers cakephp shim

15/04 2015

0.3.1

0.3.1.0 https://github.com/dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

  Sources   Download

MIT

The Requires

 

plugin helpers cakephp shim

15/04 2015

0.3.0

0.3.0.0 https://github.com/dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

  Sources   Download

MIT

The Requires

 

plugin helpers cakephp shim

09/03 2015

0.2.4

0.2.4.0 https://github.com/dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

  Sources   Download

MIT

The Requires

 

plugin helpers cakephp shim

20/02 2015

0.2.3

0.2.3.0 https://github.com/dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

  Sources   Download

MIT

The Requires

 

plugin helpers cakephp shim

09/02 2015

0.2.2

0.2.2.0 https://github.com/dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

  Sources   Download

MIT

The Requires

 

plugin helpers cakephp shim

04/02 2015

0.2.1

0.2.1.0 https://github.com/dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

  Sources   Download

MIT

The Requires

 

plugin helpers cakephp shim

04/02 2015

0.2.0

0.2.0.0 https://github.com/dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

  Sources   Download

MIT

The Requires

 

plugin helpers cakephp shim

03/02 2015

0.1.2

0.1.2.0 https://github.com/dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

  Sources   Download

MIT

The Requires

 

plugin helpers cakephp shim

02/02 2015

0.1.1

0.1.1.0 https://github.com/dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

  Sources   Download

MIT

The Requires

 

plugin helpers cakephp shim

02/02 2015

0.1.0

0.1.0.0 https://github.com/dereuromark/cakephp-shim

A CakePHP plugin to shim applications between major framework versions.

  Sources   Download

MIT

The Requires

 

plugin helpers cakephp shim