Best laravel framework open-source packages.

CORS Proxy

CORS Proxy + Download Stream
Updated 1 year ago

CORS Proxy + Download Stream

The simplest and and efficient way to bypass CORS

oFahel

This project is the simplest way to proxy CORS.

Make simple things to do complex task

As Steve Jobs says on the BusinessWeek, May 25 1998

That’s been one of my mantras — focus and simplicity. Simple can be harder than complex: You have to work hard to get your thinking clean to make it simple. But it’s worth it in the end because once you get there, you can move mountains.

⚡ Features

  • Proxy GET request.
  • Stream Download content.
  • Stream Content Type.
  • Stream Content Disposition
  • Proxy third party services.
  • Proxy JSON HTTP over HTTPS.
  • Bypass Mixed Content, load HTTP resources by Proxy.
  • Support Partial and Resumable downloads.
  • Protect your connection and that of your server with the proxy support.
  • Fake/Stream UserAgent

🎉 Installation/Usage

Download the cors.php and put on your project folder.

It's a build-in solution.

<?php
include("cors.php");

//No more codes needed
?>

📄 Parameters List

Parameter Description Rule Default
url Give the remote url to ?url= parameter Needed

✨ Demo

Proxy page: https://cors-proxy.tk/?url=http://google.com/

Proxy HTTP resource: https://cors-proxy.tk/?url=https://i.imgur.com/hSyuS32.png

Development

Want to contribute? Great! You are welcome 🥳

License

GNU General Public License

Tags cors php