Looking to hire Laravel developers? Try LaraJobs

phystrix-laravel maintained by eclipsesk

Description
Laravel binding for phystrix Package
Author
Last update
2018/02/23 16:35 (dev-master)
License
Links
Downloads
21

Comments
comments powered by Disqus

Laravel binding for phystrix Package

Installation

composer require eclipsesk/phystrix-laravel
artisan vendor publish

Usage

use Eclipsesk\Phystrix\Phystrix;

class MyController extends Controller
{
    public function index(Phystrix $phystrix)
    {
        $myCommand = $phystrix->getCommand(MyCommand::class);
        
        $result = $myCommand->execute();
    }
}