PHPackages                             alvarium/cake-oc - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. alvarium/cake-oc

ActiveCakephp-plugin[Framework](/categories/framework)

alvarium/cake-oc
================

OCClient plugin for CakePHP

3.0.2(8y ago)41861[1 issues](https://github.com/alvarium/cakephp-opencomponents/issues)GPL-3.0PHPPHP &gt;=5.5.9

Since Dec 15Pushed 8y agoCompare

[ Source](https://github.com/alvarium/cakephp-opencomponents)[ Packagist](https://packagist.org/packages/alvarium/cake-oc)[ RSS](/packages/alvarium-cake-oc/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (3)Dependencies (3)Versions (7)Used By (0)

OCClient plugin for CakePHP
===========================

[](#occlient-plugin-for-cakephp)

A CakePHP 3.X plugin for the [OpenComponents](https://github.com/opentable/oc) [PHP Client](https://github.com/opencomponents/oc-client-php)

Installation
------------

[](#installation)

You can install this plugin into your CakePHP application using [composer](http://getcomposer.org).

The recommended way to install composer packages is:

```
composer require alvarium/cake-oc

```

### Configuration

[](#configuration)

After that, load the plugin in your `bootstrap.php` file:

```
Plugin::load('Alvarium/OCClient', ['bootstrap' => true]);
```

Create a file named `occlient.php` in your `config` folder defining your open-components registry endpoint:

```
