astina / fotolia-bundle
This package is abandoned and no longer maintained.
No replacement package was suggested.
Symfony Bundle integrating Fotolia-API
0.1.0
2013-05-17 20:32 UTC
Requires
- php: >=5.3.3
- symfony/symfony: ~2.2,<3
This package is not auto-updated.
Last update: 2022-07-15 10:56:40 UTC
README
Symfony 2 bundle integrating the Fotolia API Kit for PHP.
https://github.com/Fotolia/Fotolia-API
Installation
Step 1
Add astina/fotolia-bundle in your composer.json:
{ "require": { "astina/fotolia-bundle": "dev-master" } }
and install it
$ php composer.phar update astina/fotolia-bundle
Step 2: Enable the bundle
Enable the bundle in the kernel:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Astina\Bundle\FotoliaBundle\AstinaFotoliaBundle(), // ... ); }
Step 3
Configure the client service:
astina_fotolia: api_key: your_fotolia_api_key caching: true|false # whether to cache api requests