cline/relay

A modern, attribute-driven HTTP client for PHP
7,974
Install
composer require cline/relay
Latest Version:4.0.1
PHP:^8.4
License:MIT
Last Updated:Sep 9, 2026
Links: GitHub  ·  Packagist
Maintainer: faustbrian

GitHub Workflow Status Latest Version on Packagist Software License Total Downloads


Relay is a modern, attribute-driven HTTP client for PHP 8.4+. It provides an elegant, type-safe API for building API integrations with support for authentication, caching, rate limiting, retries, and more.

Requirements

Requires PHP 8.4+

Installation

composer require cline/relay

Documentation

Full documentation is available at docs.cline.sh/relay

Guides

Change log

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please use the GitHub security reporting form rather than the issue queue.

Credits

License

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

Related Packages

amanank/hal-client

A PHP client for interacting with HAL APIs.

2,324 0
solvire/php-hypermedia-api

PHP Hypermedia Enabled API Wrapper for HTTP REST

61 14
sarahman/guzzle-client-trait

This package is intended to handle guzzle client creation, its api calls & their...

4,086 0
sanchescom/laravel-rest

Eloquent-like models and collections for consuming REST APIs.

1,371 4