BlageConnectBundle 
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
Copyright (c) 2010-2011 FriendsOfSymfony
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
blage_connect:
profile_url: https://connect.sensiolabs.com/profile/
profile_name: ~
