PHPackages                             borah/cors-proxy - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. borah/cors-proxy

ActiveProject[Utility &amp; Helpers](/categories/utility)

borah/cors-proxy
================

Bypass CORS issues when developing locally with no hassle.

1.0.3(2y ago)09MITPHPPHP ^8.1

Since Jan 22Pushed 1y ago1 watchersCompare

[ Source](https://github.com/BorahLabs/cors-proxy)[ Packagist](https://packagist.org/packages/borah/cors-proxy)[ Docs](https://borah.agency)[ RSS](/packages/borah-cors-proxy/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (14)Versions (5)Used By (0)

CORS Proxy
==========

[](#cors-proxy)

CORS Proxy is a CLI tool based on [Laravel Zero](https://laravel-zero.com/) and it's extremely useful to remove all the CORS errors you might have when developing locally.

Why
---

[](#why)

Unfortunately we don't always have the luxury of having access to the back-end or the ability to change the CORS headers. This tool will help you to bypass that issue.

Requirements
------------

[](#requirements)

To use CORS Proxy, you need to have PHP 8.1+ installed on your computer. Also, you need to have [Composer](https://getcomposer.org/) installed.

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

[](#installation)

To install CORS Proxy, you need to run the following command:

```
composer global require borah/cors-proxy
```

Usage
-----

[](#usage)

The usage is pretty simple. This is the command structure:

```
cors-proxy  {--headers=} {--port=1337}
```

The `host` argument is the URL of the host you want to proxy. The `--headers` option should be a JSON with default headers to send in all requests. The `--port` option is used to specify the port you want to use for the proxy server.

Example
-------

[](#example)

```
cors-proxy "https://httpbin.org"
```

This command will start the proxy server on port 1337 and will proxy all requests to `https://httpbin.org`.

```
curl -X GET "http://localhost:1337/get?foo=bar&baz=qux" -H "x-custom-header: custom value"
```

Borah Digital Labs
------------------

[](#borah-digital-labs)

[Borah Digital Labs](https://borah.digital/) crafts web applications, open-source packages, and offers a team of full-stack solvers ready to tackle your next project. We have built a series of projects:

- [CodeDocumentation](https://codedocumentation.app/): Automatic code documentation platform
- [AutomaticDocs](https://automaticdocs.app/): One-time documentation for your projects
- [Talkzy](https://talkzy.app/): A tool to summarize meetings
- Compass: An agent-driven tool to help manage companies more efficiently
- [Prompt Token Counter](https://prompttokencounter.com/): Simple tool to count tokens in prompts
- [Sabor en la Oficina](https://saborenlaoficina.es/): Website + catering management platform
- [Prompt Token Counter](https://www.prompttokencounter.com/): Simple free tool to count tokens in prompts
- [PDF to Markdown](https://pdftomarkdown.app/): Simple free tool to convert PDF files into Markdown format

We like to use Laravel for most of our projects and we love to tackle big, complicated problems. Feel free to reach out and we can have a virtual coffee!

We like to use Laravel for most of our projects and we love to tackle big, complicated problems. Feel free to reach out and we can have a virtual coffee!

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

4

Last Release

846d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8dbfeba566942b72c1d32de4763a869cc7cb28f522dbb3ca555d48847a24c077?d=identicon)[RuliLG](/maintainers/RuliLG)

---

Top Contributors

[![RuliLG](https://avatars.githubusercontent.com/u/3358390?v=4)](https://github.com/RuliLG "RuliLG (8 commits)")

---

Tags

proxycorsBorah

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/borah-cors-proxy/health.svg)

```
[![Health](https://phpackages.com/badges/borah-cors-proxy/health.svg)](https://phpackages.com/packages/borah-cors-proxy)
```

###  Alternatives

[danog/madelineproto

Async PHP client API for the telegram MTProto protocol.

3.4k855.0k18](/packages/danog-madelineproto)[crescat-io/saloon-sdk-generator

Simplified SDK Scaffolding for Saloon

13130.9k7](/packages/crescat-io-saloon-sdk-generator)[ashallendesign/favicon-fetcher

A Laravel package for fetching website's favicons.

190272.4k3](/packages/ashallendesign-favicon-fetcher)[glhd/conveyor-belt

14797.0k](/packages/glhd-conveyor-belt)[spatie/laravel-rdap

Perform RDAP queries in a Laravel app

72108.3k2](/packages/spatie-laravel-rdap)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
