2017 © Pedro Peláez
 

library xdomain-bundle

XDomain for cross domain request support in IE9

image

caxy/xdomain-bundle

XDomain for cross domain request support in IE9

  • Tuesday, July 12, 2016
  • by bangpound
  • Repository
  • 26 Watchers
  • 0 Stars
  • 76 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 3 % Grown

The README.md

XDomain Bundle

Use this bundle to support cross-domain XHR without CORS. It depends on the XDomain JavaScript library., (*1)

Installation

Require the caxy/xdomain-bundle package in your composer.json and update your dependencies., (*2)

$ composer require caxy/xdomain-bundle

Register the bundle in app/AppKernel.php:, (*3)

// app/AppKernel.php
public function registerBundles()
{
    return array(
        // ...
        new Caxy\Bundle\XDomainBundle\CaxyXDomainBundle(),
    );
}

Import the routing definition in routing.yml:, (*4)

# app/config/routing.yml
caxy_xdomain:
    resource: "@CaxyXDomainBundle/Resources/config/routing.yml"

Enable the bundle's configuration in app/config/config.yml:, (*5)

# app/config/config.yml
caxy_xdomain:
    allow_from: http://example.com

Add an asset named xdomain_js to your Assetic bundle configuration with the URL of the XDomain script. The URL in this example comes from the XDomain documentation., (*6)

# app/config/config.yml
framework:
    assets:
        packages:
            xdomain:
                version: 0.7.5
                version_format: %%2$s/dist/%%1$s
                base_urls:
                    - //cdn.rawgit.com/jpillora/xdomain

The Versions

12/07 2016

dev-master

9999999-dev

XDomain for cross domain request support in IE9

  Sources   Download

MIT

The Requires

 

12/07 2016

1.0.2

1.0.2.0

XDomain for cross domain request support in IE9

  Sources   Download

MIT

The Requires

 

11/09 2015

1.0.1

1.0.1.0

XDomain for cross domain request support in IE9

  Sources   Download

MIT

The Requires

 

11/06 2015

1.0.0

1.0.0.0

XDomain for cross domain request support in IE9

  Sources   Download

MIT

The Requires