PHP code example of anklimsk / cakephp-settings-app

1. Go to this page and download the library: Download anklimsk/cakephp-settings-app library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

anklimsk / cakephp-settings-app example snippets


   CakePlugin::load('CakeSettingsApp', ['bootstrap' => true, 'routes' => true]);
   

   /**
    * A random numeric string (digits only) used to encrypt/decrypt strings.
    */
       Configure::write('Security.key', '9b8964f94127f5b843c67e8c89479e4f2cfac2b182c72dc0691cc384c438f9ca');

    /**
     * Set Security.useOpenSsl to use OpenSSL instead of the deprecated mcrpyt extension.
     */
       Configure::write('Security.useOpenSsl', true);