Skip to content

hirviid/CleengBundle

Repository files navigation

HirviidCleengBundle

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages