This is a basic helper for using laravel controllers as proxy servers. It allows you to forward exact requests to another server and return their response. Supports all methods, and also files.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
202 B

<?php
namespace App\Helpers;
use Illuminate\Support\Facades\Facade;
class ProxyHelperFacade extends Facade {
protected static function getFacadeAccessor(){
return "ProxyHelper";
}
}