2017 © Pedro Peláez
 

cakephp-plugin freebase-source

Freebase (http://www.freebase.com/) source for CakePHP (HttpSource)

image

imsamurai/freebase-source

Freebase (http://www.freebase.com/) source for CakePHP (HttpSource)

  • Friday, February 7, 2014
  • by imsamurai
  • Repository
  • 1 Watchers
  • 0 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 2 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

FreebaseSource Plugin

Build Status Coverage Status Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

CakePHP FreebaseSource Plugin with DataSource for http://www.freebase.com/, (*2)

Installation

Step 1: Clone or download HttpSource

Step 2: Clone or download to Plugin/FreebaseSource

cd my_cake_app/app git://github.com/imsamurai/cakephp-freebasesource-datasource.git Plugin/FreebaseSource, (*3)

or if you use git add as submodule:, (*4)

cd my_cake_app
git submodule add "git://github.com/imsamurai/cakephp-freebasesource-datasource.git" "app/Plugin/FreebaseSource"

then update submodules:, (*5)

git submodule init
git submodule update

Step 3: Add your configuration to database.php and set it to the model

:: database.php ::
public $freebase = array(
  'datasource' => 'FreebaseSource.Http/FreebaseSource', 
        'host' => 'www.googleapis.com/freebase/v1',
        'port' => 443
);


Then make model
:: Freebase.php ::
```php
public $useDbConfig = 'freebase';
public $useTable = '<desired api url ending, for ex: "search">';

### Step 4: Load plugin
:: bootstrap.php ::
```php CakePlugin::load('HttpSource', array('bootstrap' => true, 'routes' => false)); CakePlugin::load('FreebaseSource');

Documentation

Please read HttpSource Plugin README, (*6)

The Versions

07/02 2014

dev-master

9999999-dev http://github.com/imsamurai/cakephp-freebasesource-datasource

Freebase (http://www.freebase.com/) source for CakePHP (HttpSource)

  Sources   Download

MIT

The Requires

 

plugin database cakephp datasource freebase

07/02 2014

1.0.0

1.0.0.0 http://github.com/imsamurai/cakephp-freebasesource-datasource

Freebase (http://www.freebase.com/) source for CakePHP (HttpSource)

  Sources   Download

MIT

The Requires

 

plugin database cakephp datasource freebase