I have inherited code from old contractors overseas. The cakephp version I see is:
CakePHP v 0.2.9
Where does this fit in? Does it predate 1.0 or is this some 2.0 convention?
New CakePHP 4.4 Strawberry.
Open lib/Cake/VERSION. txt file, the version number is at bottom of file. Open vendor/cakephp/cakephp/VERSION.
Browse to your project forlder. continue browsing to the bin forlder ( cd bin) then type cake version.
CakePHP is a PHP, object-oriented, Model-View-Controller framework, designed around providing the tooling to let you rapidly build web applications. CakePHP focuses on solving problems rapidly, by using conventions over configuration, to enable you to work sooner, without making a lot of decisions upfront.
The current version number of Cake 2.0 can be found in /path/to/cake/lib/Cake/VERSION.txt
. The txt file contains a commented block containing the file description (stating that it has been there since Cake 0.2.9), followed by the actual version number.
The same file may be found in Cake 1.3 in /path/to/cake/cake/VERSION.txt
.
Below are the contents of the 2.0.5 VERSION.txt
:
////////////////////////////////////////////////////////////////////////////////////////////////////
// +--------------------------------------------------------------------------------------------+ //
// CakePHP Version
//
// Holds a static string representing the current version of CakePHP
//
// CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
// Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
//
// Licensed under The MIT License
// Redistributions of files must retain the above copyright notice.
//
// @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
// @link http://cakephp.org
// @package cake.libs
// @since CakePHP(tm) v 0.2.9
// @license MIT License (http://www.opensource.org/licenses/mit-license.php)
// +--------------------------------------------------------------------------------------------+ //
////////////////////////////////////////////////////////////////////////////////////////////////////
2.0.5
Simplest way to find current version is
echo Configure::version();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With