PHPackages                             fakeheal/cors-anywhere - 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. fakeheal/cors-anywhere

ActiveLibrary[HTTP &amp; Networking](/categories/http)

fakeheal/cors-anywhere
======================

cors-anywhere is a php reverse proxy which adds CORS headers to the proxy request.

v0.0.4(2y ago)7352MITPHPPHP ^8.2

Since Jun 14Pushed 1y ago1 watchersCompare

[ Source](https://github.com/fakeheal/cors-anywhere)[ Packagist](https://packagist.org/packages/fakeheal/cors-anywhere)[ RSS](/packages/fakeheal-cors-anywhere/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (5)Versions (5)Used By (0)

cors-anywhere
=============

[](#cors-anywhere)

[![Tests](https://github.com/fakeheal/cors-anywhere/actions/workflows/php.yml/badge.svg?branch=main)](https://github.com/fakeheal/cors-anywhere/actions/workflows/php.yml)[![Latest Stable Version](https://camo.githubusercontent.com/1c7d0df4a56cfad3d47d37fa08ece599af1226601def9b37dd34a2ce61790c31/687474703a2f2f706f7365722e707567782e6f72672f66616b656865616c2f636f72732d616e7977686572652f76)](https://packagist.org/packages/fakeheal/cors-anywhere)[![Total Downloads](https://camo.githubusercontent.com/29002ef59d8672ef0f2b9f60022f86596128a4df5e899977af8c6061625c6a01/687474703a2f2f706f7365722e707567782e6f72672f66616b656865616c2f636f72732d616e7977686572652f646f776e6c6f616473)](https://packagist.org/packages/fakeheal/cors-anywhere)[![License](https://camo.githubusercontent.com/6b51978850cede9814147be33cb62a85601ca5cac2afc5500a05489cdaa06e00/687474703a2f2f706f7365722e707567782e6f72672f66616b656865616c2f636f72732d616e7977686572652f6c6963656e7365)](https://packagist.org/packages/fakeheal/cors-anywhere)[![PHP Version Require](https://camo.githubusercontent.com/e0191c06bcd52a7d93a7cfd6ce654f11a024b7818e88f2d26845fe1639ac0e7c/687474703a2f2f706f7365722e707567782e6f72672f66616b656865616c2f636f72732d616e7977686572652f726571756972652f706870)](https://packagist.org/packages/fakeheal/cors-anywhere)

`cors-anywhere` is a php reverse proxy which adds CORS headers to the proxy request.

Use Case
--------

[](#use-case)

It can be used to access resources from third party websites when it's not possible to enable CORS on target website i.e. when you don't own that website.

*Note from author:* I am currently using to access **Rescue Time**'s &amp; **trak.tv** APIs, so I can sync my own data to [conjure.so](https://conjure.so).

Documentation
-------------

[](#documentation)

### Install

[](#install)

```
composer require fakeheal/cors-anywhere
```

### Initialize

[](#initialize)

```
