saqib/rfpl-laravel

A RFPL packages for laravel

v1.2.5 2020-01-30 10:20 UTC

This package is auto-updated.

Last update: 2024-03-29 03:52:21 UTC


README

A Response First Process Later Package for Laravel

#Usage

$rfpl = new RfplLaravel\CacheService;
try {
    $rfpl->handle();
} catch (\Exception $th) {
    //throw $th;
}    

To ignore Routes jus pass an array of routes pattern

$rfpl = new RfplLaravel\CacheService([
    'test',
    'abx\*',
    '*\abc',
    'xyz\lmn'
]);
try {
    $rfpl->handle();
} catch (\Exception $th) {
    //throw $th;
}