saloonphp / saloon

🤠 Build beautiful API integrations and SDKs with Saloon
https://docs.saloon.dev
MIT License
2.03k stars 105 forks source link
api api-integrations api-wrapper framework-agnostic guzzle-wrapper laravel php saloon sdk

Logo with brown western bar doors with western scene in background and text that says: 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://img.shields.io/packagist/dm/saloonphp/saloon) [Click here to read the documentation](https://docs.saloon.dev)

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.

<?php

$forge = new ForgeConnector('api-token');

$response = $forge->send(new GetServersRequest);

$data = $response->json();

Key Features

Getting Started

Click here to get started

Contributing

Please see here for more details about contributing.

Security

Please see here for our security policy.

Credits

And a special thanks to Caneco for the logo ✨