mjc/cakephp-first_time_setup

First Time Setup Plugin for CakePHP

v0.0.1 2014-01-14 18:47 UTC

This package is not auto-updated.

Last update: 2024-04-09 03:11:15 UTC


README

A Plugin to assist with deploying CakePHP apps.

Currently all it does is check whether the app is in production mode (debug set to 0),generate a salt and cipherseed using openssl_random_pseudo_bytes and replace the default ones.

To enable it, put it in app/Plugin/CakephpFirstTimeSetup`` and add this line to the appropriate section of app/Config/bootstrap.php```:

CakePlugin::load('FirstTimeSetup', array('bootstrap' => true));

TODO:

  • add database configuration
  • run migrations
  • add authentication
  • add timezone selection