Skip to content

monofone/BlageConnectBundle

Repository files navigation

BlageConnectBundle Build Status

A Bundle to interact with the Sensio Connect API.

#Installation#

##via deps.ini#

Inlcude the Bundle in your deps File

[BlageConnectBundle]
  git=git://github.com/monofone/BlageConnectBundle.git
  target=/bundles/Blage/ConnectBundle

then run the installer

php bin/vendor install

update your autoload.yml.

$loader->registerNamespaces(array(
    //...
    'Blage'            => __DIR__.'/../vendor/bundles'
    //...
));

##via composer##

update your composer.json to include this Bundle.

{
    "require": {
        "monofone/connect-bundle": "*"
    }
}

get composer and update your dependencies.

$ wget http://getcomposer.org/composer.phar
$ php composer.phar update

Install Zend Cache

see https://github.com/KnpLabs/KnpZendCacheBundle for installation.

Configuration

Define your Sensio username in your config.yml

blage_connect:
    profile_name: <your_username>

for just rendering Badges simply use this in your template

{% render 'BlageConnectBundle:Connect:ownSensioBadge' %}

or for your profiledata with:

{% render 'BlageConnectBundle:Connect:ownSensioProfile' %}

Tests

$ vendor/vendors.php
$ phpunit

License

This bundle is under the MIT license. See the complete license in the bundle:

Resources/meta/LICENSE

About

SensioConnect connection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages