dev-master
9999999-dev http://i-gh.irA simple wrapper for recommender.ir.
MIT
The Requires
php symfony2 recommender recommender.ir
A simple wrapper for recommender.ir.
A symfony2 wrapper bundle for Recommender.ir., (*1)
Via Composer, (*2)
``` bash $ composer require shaygan/recommender-ir-bundle @dev, (*3)
Edit your app/AppKernel.php to register the bundle in the registerBundles() method as above: ```php class AppKernel extends Kernel { public function registerBundles() { $bundles = array( // ... // register the bundle here new \Shaygan\RecommenderIrBundle\ShayganRecommenderIrBundle() ); } }
This bundle was designed to just work out of the box., (*4)
# app/config/config.yml shaygan_recommender: base_uri: http://example.com #user_agent: shaygan-recommender-ir (https://github.com/shaygan/recommenderir) #connect_timeout: 30 #timeout: 30
Wherever you have access to the service container :, (*5)
container->get('shaygan.recommender'); // test the API by calling getMe method $user = $api->getMe(); ?>
The MIT License (MIT). Please see License File for more information., (*6)
A simple wrapper for recommender.ir.
MIT
php symfony2 recommender recommender.ir