2017 © Pedro Peláez
 

cakephp-plugin request

Request plugin for CakePHP

image

oxenti/request

Request plugin for CakePHP

  • Thursday, August 4, 2016
  • by oxenti
  • Repository
  • 5 Watchers
  • 0 Stars
  • 21 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

OxenTI Request API plugin for CakePHP 3

This plugin contains a package with API methods for managing Addresses on a CakePHP 3 application., (*1)

Requirements

  • CakePHP 3.0+

Installation

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

Configuration

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)

Configuration files

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');
    ...

Using extrenal Associations

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)

The Versions

04/08 2016

dev-master

9999999-dev

Request plugin for CakePHP

  Sources   Download

The Requires

 

The Development Requires