Day plugin for CakePHP 4
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:cakephp-plugin
Requires
- php: >=7.2
- cakephp/cakephp: ~4.2.0
Requires (Dev)
- phpunit/phpunit: ^8.5.0
This package is auto-updated.
Last update: 2024-04-07 17:56:02 UTC
README
Installation
You can install this plugin into your CakePHP application using composer.
The recommended way to install composer packages is:
composer require day-responsive-theme/day
// src/Controller/AppController.php use Cake\Event\EventInterface; public function beforeRender(EventInterface $event) { $this->viewBuilder()->setTheme('Day'); } //src/Application.php public function bootstrap(): void { $this->addPlugin('Day'); } //config/paths.php /***email setup *****/ define('EMAIL_TRANSPORTS','your email transport'); define('EMAIL_CAPTION','your email caption'); define('EMAIL_HOST','your email host'); define('EMAIL_PORT','your email port'); define('EMAIL_ADDRESS','your email address'); define('EMAIL_PASSWORD','your email password'); /**Company Setup***/ define('SITES_CODE','your site code'); define('COMPANY_NAME','your company name'); define('COMPANY_CODE','your company code'); define('COMPANY_ADDRESS','your company code'); define('COMPANY_PHONE','your company phone'); define('COMPANY_FAX','your company fax'); define('COMPANY_EMAIL','your company email'); define('COMPANY_REMARKS','your company remark'); define('COMPANY_SITES','your company sites'); define('COMPANY_INITIALS_FIRST','your first company initial'); define('COMPANY_INITIALS_LAST','your last company initial'); /* meta tag */ define('TAG_TITLE','your tag title'); define('TAG_DESCRIPTION','your tag description'); define('TAG_KEYWORD','your tag keyword'); define('TAG_AUTHOR','your tag author');