PHPackages                             saloonphp/saloon - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. saloonphp/saloon

ActiveLibrary[API Development](/categories/api)

saloonphp/saloon
================

Build beautiful API integrations and SDKs with Saloon

v4.0.0(2mo ago)2.4k9.6M—4.3%120[13 issues](https://github.com/saloonphp/saloon/issues)[7 PRs](https://github.com/saloonphp/saloon/pulls)20MITPHPPHP ^8.2CI passing

Since Jan 14Pushed 1mo ago15 watchersCompare

[ Source](https://github.com/saloonphp/saloon)[ Packagist](https://packagist.org/packages/saloonphp/saloon)[ Docs](https://github.com/saloonphp/saloon)[ GitHub Sponsors](https://github.com/sammyjo20)[ RSS](/packages/saloonphp-saloon/feed)WikiDiscussions v4 Synced 1mo ago

READMEChangelog (10)Dependencies (28)Versions (143)Used By (20)Security (3)

[![Logo with brown western bar doors with western scene in background and text that says: Saloon, Your Lone Star of your API integrations](/art/header.png)](/art/header.png)

Saloon – Your Lone Star of your API integrations
================================================

[](#saloon--your-lone-star-of-your-api-integrations)

A PHP package that helps you build beautiful API integrations and SDKs 🤠

[![Build Status](https://github.com/saloonphp/saloon/actions/workflows/tests.yml/badge.svg)](https://img.shields.io/github/actions/workflow/status/saloonphp/saloon/tests.yml?label=tests)[![Downloads](https://camo.githubusercontent.com/aaaba829d1e39c3fde46f877f0332c7bb1d32ef1f94b1757ba01a8da8c40e67e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f73616c6f6f6e7068702f73616c6f6f6e)](https://camo.githubusercontent.com/aaaba829d1e39c3fde46f877f0332c7bb1d32ef1f94b1757ba01a8da8c40e67e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f73616c6f6f6e7068702f73616c6f6f6e)

[Click here to read the documentation](https://docs.saloon.dev)

Introduction
------------

[](#introduction)

Saloon is a PHP library that gives you the tools to build beautifully simple API integrations and SDKs. Saloon moves your API requests into reusable classes so you can keep all your API configurations in one place. Saloon comes with many exciting features out of the box like recording requests in your tests, caching, OAuth2 and pagination. It's a great starting point for building simple, standardised API integrations in your application.

```
