thinkingmedia / cakephp-installer
CakePHP 3.0 console classes for installing and configuring an application.
Installs: 43
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
pkg:composer/thinkingmedia/cakephp-installer
Requires
- react/promise: ~2.2
- thinkingmedia/underscore: ~1.0
This package is not auto-updated.
Last update: 2025-09-28 00:08:18 UTC
README
Console classes for CakePHP 3.x for installing and configuring an applications.
Hash
The Hash
class uses the mcrypt_create_iv to generate passwords and salt values.
\Installer\Hash::generate(15);
Tokens
The Tokens
class lets you replace tokens in the app.php
file with new string values.
$app = \Installer\Tokens::AppConfig(); $app->set('__SALT__', Installer\Hash::create()); $app->set('__DB_NAME__','database'); $app->set('__DB_USER__','username'); $app->set('__DB_PASS__',Installer\Hash::create(16)); $app->save();