dev-master
9999999-devRequest plugin for CakePHP
The Requires
The Development Requires
Request plugin for CakePHP
This plugin contains a package with API methods for managing Addresses on a CakePHP 3 application., (*1)
You can install this plugin into your CakePHP application using composer., (*2)
The recommended way to install composer packages is:, (*3)
composer require oxenti/request
In your app's config/bootstrap.php
add:, (*4)
// In config/bootstrap.php Plugin::load('Request');
or using cake's console:, (*5)
./bin/cake plugin load Request
In your app's initial folder execute plugin's migrations:, (*6)
./bin/cake migrations migrate -p Request, (*7)
Move the 'request.php' config file from the plugin's config folder to your app's config folder., (*8)
On your app's 'bootstrap.php' add the address configuration file:, (*9)
... try { Configure::config('default', new PhpConfig()); Configure::load('app', 'default', false); } catch (\Exception $e) { die($e->getMessage() . "\n"); } Configure::load('request', 'default'); ...
If you want to associate the Request table with other tables on your application, use the request.php configuration file setting the 'relations' entry to your needs., (*10)
Request plugin for CakePHP