Looking to hire Laravel developers? Try LaraJobs

laravel-guzzle maintained by chiefgroup

Description
Chiefgroup Laravel Interface API Use
Author
Last update
2026/01/06 06:58 (dev-master)
License
Downloads
2 999

Comments
comments powered by Disqus

chiefgroup-laravel-guzzle

安装

$ composer require chiefgroup/laravel-guzzle

配置文件

generate config file

$ php artisan vendor:publish --provider="Chiefgroup\Http\Providers\ServiceProvider"

使用

    
    // Method : get\put\post\patch\delete

    $result = LaravelGuzzleHttp::get('api/users');

    $data = $headers = [];
    LaravelGuzzleHttp::post('http://xxx.com', $data, $headers);

    dd($result);

License

The MIT License (MIT). Please see License File for more information.