2017 © Pedro Peláez
 

symfony-bundle karmacracy-bundle

wrapper for karmacracy lib

image

cayetanosoriano/karmacracy-bundle

wrapper for karmacracy lib

  • Saturday, August 31, 2013
  • by CayetanoSoriano
  • Repository
  • 0 Watchers
  • 0 Stars
  • 17 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

karmacracyBundle

This Bundle, gives a wrapper to karmacracy-php API lib, (*1)

Installation

Symfony 2.0.x: vendors

[karmacracyBundle]
    git=http://github.com/CayetanoSoriano/karmacracyBundle.git
    target=/bundles/RaulFraile/Bundle/LadybugBundle

[karmacracy-php]
    git=https://github.com/CayetanoSoriano/karmacracy-php.git
    target=lib/

Symfony 2.1.x: Composer

Composer is a project dependency manager for PHP. You have to list your dependencies in a composer.json file:, (*2)

``` json { "require": { "cayetanosoriano/karmacracy-bundle": "dev-master" } }, (*3)

To actually install in your project, download the composer binary and run it:

``` bash
wget http://getcomposer.org/composer.phar
# or
curl -O http://getcomposer.org/composer.phar

php composer.phar install

Step 2: Enable the bundle

Finally, enable the bundle in the kernel:, (*4)

``` php <?php // app/AppKernel.php, (*5)

public function registerBundles() { $bundles = array( // ..., (*6)

        new cayetanosoriano\KarmacracyBundle\cayetanosorianoKarmacracyBundle(),
);

}, (*7)


## Configuration ###Add the following to your config.yml

cayetanosoriano_karmacracy: keypass: "your_key_pass" appkey: "your_app_key", (*8)


### Then use the service

$kcy = $this->get('kcy'); ```, (*9)

The Versions

31/08 2013

dev-master

9999999-dev http://github.com/CayetanoSoriano/karmacracyBundle.git

wrapper for karmacracy lib

  Sources   Download

MIT

The Requires

 

by Cayetano Soriano

karmacracy kcy