hirviid/hirviid-cleeng-bundle

This bundle provides a simple integration of the Cleeng PHP SDK into Symfony2

Installs: 39

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

Type:symfony-bundle

1.0.0 2014-02-12 07:02 UTC

This package is not auto-updated.

Last update: 2024-12-17 07:45:56 UTC


README

This bundle provides a simple integration of the "Cleeng PHP SDK" into Symfony2. Cleeng offers an iTunes™ like purchase experience to any website, from video platforms to newspapers and live concerts. You can find more information about Cleeng on its dedicated page at http://cleeng.com.

<?php

$cleengApi = $this->container->get('cleeng')->api;

The bundle provides a new cleeng service that returns an instance of Cleeng_Api.

Installation

Step 1) Get the bundle using composer (symfony 2.1 pattern)

Add on composer.json (see http://getcomposer.org/)

"require" :  {
    // ...
    "hirviid/hirviid-cleeng-bundle": "dev-master",
}

Step 2) Register the bundle

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Hirviid\Bundle\CleengBundle\HirviidCleengBundle(),
        // ...
    );
}

Documentation

The documentation for this bundle is available in the Resources/doc directory of the bundle:

That's it! You are ready to use Cleeng with symfony2.