PHPackages                             emc/xmlhttprequest-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. [HTTP &amp; Networking](/categories/http)
4. /
5. emc/xmlhttprequest-bundle

ActiveSymfony-bundle[HTTP &amp; Networking](/categories/http)

emc/xmlhttprequest-bundle
=========================

This bundle gives a unified way to handle and control AJAX requests. For more informations https://github.com/chafiq/EMCXmlHttpRequest/blob/master/README.md

3.0(11y ago)22061[1 issues](https://github.com/chafiq/EMCXmlHttpRequest/issues)MITPHPPHP &gt;=5.3.2

Since Sep 24Pushed 10y agoCompare

[ Source](https://github.com/chafiq/EMCXmlHttpRequest)[ Packagist](https://packagist.org/packages/emc/xmlhttprequest-bundle)[ Docs](https://github.com/chafiq/EMCXmlHttpRequest)[ RSS](/packages/emc-xmlhttprequest-bundle/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)DependenciesVersions (4)Used By (0)

XmlHttpRequest bundle.
======================

[](#xmlhttprequest-bundle)

This bundle gives a unified way to handle and control AJAX requests.

Installation
------------

[](#installation)

1. Download EMCXmlHttpRequest
2. Configure the Autoloader
3. Enable the Bundle

### Step 1: Download EMCXmlHttpRequest

[](#step-1-download-emcxmlhttprequest)

Ultimately, the EMCXmlHttpRequest files should be downloaded to the `vendor/bundles/EMC/Bundle/XmlHttpRequest` directory.

This can be done in several ways, depending on your preference. The first method is the standard Symfony2 method.

**Using Composer**

Add EMCXmlHttpRequest in your composer.json:

```
{
    "require": {
        "emc/xmlhttprequest-bundle": "*"
    }
}

```

Now tell composer to download the bundle by running the command:

```
$ php composer.phar update emc/xmlhttprequest-bundle
```

**Using submodules**

If you prefer instead to use git submodules, then run the following:

```
$ git submodule add git://github.com/chafiq/EMCXmlHttpRequest.git vendor/emc/xmlhttprequest-bundle/EMC/XmlHttpRequestBundle/
$ git submodule update --init
```

Note that using submodules requires manually registering the `EMC` namespace to your autoloader:

```
