PHPackages                             rubenrubiob/simple-api-caller-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. rubenrubiob/simple-api-caller-bundle

AbandonedArchivedSymfony-bundle[API Development](/categories/api)

rubenrubiob/simple-api-caller-bundle
====================================

A simple API caller for Symfony framework

0.0.5(9y ago)12.6k1MITPHPPHP &gt;=5.3.2

Since Mar 6Pushed 9y ago1 watchersCompare

[ Source](https://github.com/rubenrubiob/simple-api-caller-bundle)[ Packagist](https://packagist.org/packages/rubenrubiob/simple-api-caller-bundle)[ RSS](/packages/rubenrubiob-simple-api-caller-bundle/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (1)Versions (6)Used By (0)

This is a simple bundle built on top of [Httpful](http://phphttpclient.com/) that performs GET or POST requests to an url, and parses the JSON response to a PHP array. It supports sending custom headers, as well as attached files using the Symfony `FileUploaded` class.

Installation
============

[](#installation)

Step 1: Download the Bundle
---------------------------

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require rubenrubiob/simple-api-caller-bundle
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

Step 2: Enable the Bundle
-------------------------

[](#step-2-enable-the-bundle)

Then, enable the bundle by adding it to the list of registered bundles in the `app/AppKernel.php` file of your project:

```
