sarahman/guzzle-client-trait

This package is intended to handle guzzle client creation, its api calls & their corresponding responses.
2,064
Install
composer require sarahman/guzzle-client-trait
Latest Version:1.0.0
PHP:>=5.3.0
License:MIT
Last Updated:Oct 4, 2025
Links: GitHub  ·  Packagist
Maintainer: sarahman

Guzzle Client Trait

Latest Version on Packagist Build Status Scrutinizer Code Quality StyleCI Total Downloads License PHP Version Require

This PHP library is intended to handle guzzle client creation, its API calls & their corresponding responses and can be used in any php project.

Installation

  • Step 1: You can install the package via composer:
composer require sarahman/guzzle-client-trait
  • Step 2: for the regular php projects, we might directly add these following codes:

require "vendor/autoload.php";

use Sarahman\Traits\Guzzles;

class SampleAPIClient
{
    use Guzzles;

    ...
}

Contribution

Feel free to contribute in this library. Please make your changes and send us pull requests.

Security Issues

If you discover any security related issues, please feel free to create an issue in the issue tracker or write us at aabid048@gmail.com.

License

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