Skip to content

Instantly share code, notes, and snippets.

View hmrnsp's full-sized avatar
🌴
On vacation

Rede hmrnsp

🌴
On vacation
View GitHub Profile
@jimmygle
jimmygle / routes.php
Last active February 15, 2023 12:18
Basic Laravel 5.2 HTTP Proxy Server (with file upload support)
<?php
/**
* This is a really quick and dirty HTTP proxy server that supports GET and POST (with file upload) requests.
*
* Setup instructions:
* 1) Install Laravel 5.2
* 2) `composer require guzzlehttp/guzzle`
* 3) Add this to your laravel routes.php
* 4) `php artisan serve --host=[server_ip] --port=80`