Symfony2 Bundle for PredictionIO integration

Installs: 4 647

Dependents: 1

Suggesters: 0

Security: 0

Stars: 10

Watchers: 4

Forks: 1

Open Issues: 0


1.1.0 2013-11-23 02:20 UTC

This package is not auto-updated.

Last update: 2022-05-09 17:43:18 UTC


This bundle provides an PredictionIO integration for your Symfony2 Project.

Build Status Total Downloads Latest Stable Version

PredictionIO Methods Supported

This Bundle is just a wrapper for the PredictionIO-PHP-SDK and will support all methods provided in the SDK.


  1. Add CodagPredictionIOBundle to your composer.json
  2. Enable the bundle
  3. Configure the bundle

Step 1: Add CodagAlchemyApiBundle to your composer.json

    "require": {
        "codag/predictionio-bundle": "dev-master"

Update your project dependencies:

php composer.phar update codag/predictionio-bundle

Step 2: Enable the bundle

// app/AppKernel.php

public function registerBundles()
    $bundles = array(
        // ...
        new Codag\PredictionIOBundle\CodagPredictionIOBundle(),

Step 3: Configure the bundle

Yml configuration:

# app/config/config.yml

    app_key: Your App Key
    api_url: Your Api Url  # Optional


This bundle provides the service codag.predictionio

$client = $this->get('codag.predictionio')->getClient();

For further implementation examples please see also our Sandbox.


If the bundle doesn't allow you to customize an option, I invite you to fork the project, create a feature branch, and send a pull request.

To ensure a consistent code base, you should make sure the code follows the Coding Standards.


This bundle is under the MIT license. See the complete license here.