How to check installed cakephp version?

How to check installed cakephp version?

Project Structure::

-- app
-- lib
     --Cake
          --VERSION.txt
-- plugins
-- vendors
-- index.php

Open The VERSION.txt file. There You will find Like below. Last line show the version of cakephp
Here, You can see, VERSION is 2.8.0

 

////////////////////////////////////////////////////////////////////////////////////////////////////
// +--------------------------------------------------------------------------------------------+ //
// CakePHP Version
//
// Holds a static string representing the current version of CakePHP
//
// CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
// Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
//
// Licensed under The MIT License
// Redistributions of files must retain the above copyright notice.
//
// @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
// @link http://cakephp.org
// @package Cake
// @since CakePHP(tm) v 0.2.9
// @license http://www.opensource.org/licenses/mit-license.php MIT License
// +--------------------------------------------------------------------------------------------+ //
////////////////////////////////////////////////////////////////////////////////////////////////////
2.8.0

 

 

How to get the version numbers for Cakephp

How to get the version numbers for Cakephp

#Project Structure::

-- app
-- lib
    --Cake
        --VERSION.txt
-- plugins
-- vendors
-- index.php

Open The VERSION.txt file. There You will find Like below. Last line show the version of cakephp
Here, You can see, VERSION is 2.8.0

////////////////////////////////////////////////////////////////////////////////////////////////////
// +--------------------------------------------------------------------------------------------+ //
// CakePHP Version
//
// Holds a static string representing the current version of CakePHP
//
// CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
// Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
//
// Licensed under The MIT License
// Redistributions of files must retain the above copyright notice.
//
// @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
// @link http://cakephp.org
// @package Cake
// @since CakePHP(tm) v 0.2.9
// @license http://www.opensource.org/licenses/mit-license.php MIT License
// +--------------------------------------------------------------------------------------------+ //
////////////////////////////////////////////////////////////////////////////////////////////////////
2.8.0

——————————–
OR, Other ways is::
——————————–

Path for version.txt

#Path for version.txt

For cakephp 1.* : cake/VERSION.txt

For cakephp 2.* : lib/Cake/ VERSION.txt

For cakephp 3.* : vendor/cakephp/cakephp/ VERSION.txt

——————————–
OR, Other ways is::
——————————–

Just Print,

echo Configure::version();

 

EBS – Secure Hash Validation Failed

EBS provides the document for the posted data & other formats.

There, we have to pass that required Credentials. like secure hash.

 

//Pass your Registered Secret Key

$hashData = “Your Secret Key“;

$hash = “ebskey”.”|”.urlencode($_POST[‘account_id’]).”|”.urlencode($_POST[‘amount’]).”|”.urlencode($_POST[‘reference_no’]).”|”.$_POST[‘return_url’].”|”.urlencode($_POST[‘mode’]);

$secure_hash = md5($hash);

// now pass $secure_hash secure hash to ebs .

// now pass $secure_hash secure hash to ebs .

 

how to make secure hash to send in ebs payment gateway

Click here: Ebs Invalid Hash