korditpteltd / kd-cakephp-page
KORDIT CakePHP Page Plugin
Installs: 359
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 4
Language:JavaScript
Type:cakephp-plugin
Requires
- cakephp/cakephp: >=3.3.0
Requires (Dev)
- cakephp/cakephp-codesniffer: ^2.3
- phpunit/phpunit: ^5.7
This package is auto-updated.
Last update: 2024-10-29 05:53:25 UTC
README
KORDIT CakePHP V3 Page Plugin.
Requirements
The master
branch has the following requirements:
Installation
Install this plugin using composer
from your CakePHP V3 Project ROOT directory (where the composer.json
file is located).
- Edit
composer.json
file by adding the following lines:
"repositories":[ { "type": "git", "url": "git@github.com:mohamednizar/kd-cakephp-page.git" } ]
- Example
composer.json
after adding required lines:
{ "name": "korditpteltd/openemis-phpoe", "description": "KORDIT OpenEMIS CORE", "homepage": "https://demo.openemis.org/core", "type": "project", "license": "GPL-2.0", "require": { "php": ">=5.4.16", "cakephp/cakephp": "3.2.6" }, "scripts": { "post-install-cmd": "App\\Console\\Installer::postInstall", "post-autoload-dump": "Cake\\Composer\\Installer\\PluginInstaller::postAutoloadDump" }, "minimum-stability": "dev", "prefer-stable": true, "repositories":[ { "type": "git", "url": "git@github.com:mohamednizar/kd-cakephp-page.git" } ] }
- If
composer
is not installed globally, issue the following command on console/terminal:
php composer.phar require korditpteltd/kd-cakephp-page "*"
- If
composer
is installed globally, issue the following command instead:
composer require korditpteltd/kd-cakephp-page "*"
Configuration
- Load this plugin by adding the following line in your application
bootstrap.php
file.
Plugin::load('Page');
** boostrap
parameter is set to true so that this package bootstrap file will be loaded during the application life-cycle boot up process.
** This package's boostrap.php will then include its routes configurations.
Usage
After configuration was done, go to the plugin documentation from your application url to read more.
http://<your-domain-name>/page/doc or https://<your-domain-name>/page/doc