sarahman/guzzle-client-trait

This package is intended to handle guzzle client creation, its api calls & their corresponding responses.
3,523
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.

Related Packages

sarahman/laravel-http-request-api-log

This library stores the http request api log into a database table.

14,487 1
rap2hpoutre/jacky

Opinionated REST JSON HTTP API client for laravel

4,407 17
remic/guzzlecache

Laravel 5 package for caching Guzzle's GET requests.

9,258 17
vinelab/http

An http library developed for the laravel framework. aliases itself as HttpClien...

303,986 57