Minions Component Server (Polyfill) using Laravel Routing

v1.2.1 2020-09-08 01:07 UTC

This package is auto-updated.

Last update: 2024-07-15 11:52:47 UTC


tests Latest Stable Version Total Downloads Latest Unstable Version License Coverage Status


Minions can be installed via composer:

composer require "katsana/minions-polyfill=^1.0"

Please ensure that you already install Minions and go through the installation and setup documentation.


To use Laravel Routing to handle RPC request you just need to setup the URI and TLD domain to handle the request. To do this this package has already add a macro to Illuminate\Routing\Router.

It is recommended that you add the command to App\Providers\RouteServiceProvider::map() method.


namespace App\Providers;

use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
use Illuminate\Support\Facades\Route;

class RouteServiceProvider extends ServiceProvider
    // ...
     * Define your route model bindings, pattern filters, etc.
     * @return void
    public function boot()


    // ...

You can also set it to a specific domain using the following:

Route::minion('/', 'rpc.your-domain');