broz/sound-cloud-bundle

A Symfony2 Wrapper for the ise/php-soundcloud Composer package for PHP

Installs: 42

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 1

Open Issues: 0

Type:symfony-bundle

dev-master 2015-06-19 19:11 UTC

This package is not auto-updated.

Last update: 2024-04-27 15:31:37 UTC


README

A Symfony2 Wrapper for the ise/php-soundcloud Composer package for PHP

Installation

Step 1: Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

$ composer require broz/sound-cloud-bundle:dev-master

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.

Step 2: Enable the Bundle

Then, enable the bundle by adding the following line in the app/AppKernel.php file of your project:

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...

            new Broz\SoundCloudBundle\BrozSoundCloudBundle(),
        );

        // ...
    }

    // ...
}

Step 3: Configure the bundle

# app/config/config.yml
# you will get these parameters form https://soundcloud.com/you/apps/[app_name]/edit"
broz_sound_cloud:
    client_id:
    client_secret: