2017 © Pedro Peláez
 

library silex-imbo

Imbo service provider for Silex

image

vaffel/silex-imbo

Imbo service provider for Silex

  • Friday, December 4, 2015
  • by kbrabrand
  • Repository
  • 2 Watchers
  • 1 Stars
  • 155 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Imbo service provider for Silex

Service provider making the Imbo accessible to your Silex application., (*1)

Build Status, (*2)

Installation

Add "vaffel/silex-imbo": "XXX" to the composer.json file inside your project and do a composer install. Check Composer for the latest available version., (*3)

Setup instructions

Register the Imbo service provider in your Silex app like this;, (*4)

$app->register(new ImboServiceProvider(), array(
    'imbo.serverUrls' => ['http://example.net', ...], // Array of urls to imbo installations
    'imbo.publicKey'  => $publicKey,                  // Public key
    'imbo.privateKey' => $privateKey,                 // Private key
    'imbo.user'       => $user,                       // User
));

Usage

After registering the Imbo service provider, the ImboClient instance can be accessed from the $app variable like this;, (*5)

$response = $app['imbo']->addImage('/path/to/image.jpg');

Tests

The service provider comes with PHPUnit tests and can be run by doing a ./vendor/phpunit/phpunit/phpunit inside the silex-imbo folder., (*6)

Documentation

Read the full ImboClient documentation at [imboclient-php.readthedocs.org][2]., (*7)

License

License Copyright (c) 2014, Kristoffer Brabrand kristoffer@brabrand.no, (*8)

Licensed under the MIT License, (*9)

The Versions

04/12 2015

dev-master

9999999-dev

Imbo service provider for Silex

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kristoffer Brabrand

04/12 2015

1.3

1.3.0.0

Imbo service provider for Silex

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kristoffer Brabrand

04/12 2015

1.2

1.2.0.0

Imbo service provider for Silex

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kristoffer Brabrand

04/12 2015

1.1

1.1.0.0

Imbo service provider for Silex

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kristoffer Brabrand

02/07 2014

1.0

1.0.0.0

Imbo service provider for Silex

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kristoffer Brabrand