{"id":28859939,"url":"https://github.com/caxy/xdomainbundle","last_synced_at":"2025-10-25T22:09:11.582Z","repository":{"id":27937479,"uuid":"31429997","full_name":"caxy/XDomainBundle","owner":"caxy","description":null,"archived":false,"fork":false,"pushed_at":"2016-07-12T01:48:08.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":33,"default_branch":"master","last_synced_at":"2025-06-20T04:13:01.400Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/caxy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-27T17:09:54.000Z","updated_at":"2016-07-12T01:37:02.000Z","dependencies_parsed_at":"2022-08-20T06:40:41.166Z","dependency_job_id":null,"html_url":"https://github.com/caxy/XDomainBundle","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/caxy/XDomainBundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caxy%2FXDomainBundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caxy%2FXDomainBundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caxy%2FXDomainBundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caxy%2FXDomainBundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caxy","download_url":"https://codeload.github.com/caxy/XDomainBundle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caxy%2FXDomainBundle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281026554,"owners_count":26431815,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-25T02:00:06.499Z","response_time":81,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-20T04:12:59.899Z","updated_at":"2025-10-25T22:09:11.577Z","avatar_url":"https://github.com/caxy.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"XDomain Bundle\n==============\n\nUse this bundle to support cross-domain XHR without [CORS](https://caniuse.com/cors). It\ndepends on the [XDomain](https://github.com/jpillora/xdomain) JavaScript library.\n\nInstallation\n------------\n\nRequire the `caxy/xdomain-bundle` package in your composer.json and update\nyour dependencies.\n\n    $ composer require caxy/xdomain-bundle\n\nRegister the bundle in `app/AppKernel.php`:\n\n```php\n// app/AppKernel.php\npublic function registerBundles()\n{\n    return array(\n        // ...\n        new Caxy\\Bundle\\XDomainBundle\\CaxyXDomainBundle(),\n    );\n}\n```\n\nImport the routing definition in `routing.yml`:\n\n```yaml\n# app/config/routing.yml\ncaxy_xdomain:\n    resource: \"@CaxyXDomainBundle/Resources/config/routing.yml\"\n```\n\nEnable the bundle's configuration in `app/config/config.yml`:\n\n```yaml\n# app/config/config.yml\ncaxy_xdomain:\n    allow_from: http://example.com\n```\n\nAdd an asset named `xdomain_js` to your Assetic bundle configuration with the URL of\nthe XDomain script. The URL in this example comes from the [XDomain\ndocumentation](https://github.com/jpillora/xdomain#download).\n\n```yaml\n# app/config/config.yml\nframework:\n    assets:\n        packages:\n            xdomain:\n                version: 0.7.5\n                version_format: %%2$s/dist/%%1$s\n                base_urls:\n                    - //cdn.rawgit.com/jpillora/xdomain\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaxy%2Fxdomainbundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaxy%2Fxdomainbundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaxy%2Fxdomainbundle/lists"}