Giter Site home page Giter Site logo

sammyjo20 / saloon Goto Github PK

View Code? Open in Web Editor NEW
1.9K 18.0 96.0 3.2 MB

🤠 Build beautiful API integrations and SDKs with Saloon

Home Page: https://docs.saloon.dev

License: MIT License

PHP 100.00%
laravel api api-wrapper php sdk guzzle-wrapper api-integrations framework-agnostic saloon

saloon's Introduction

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 Downloads

Click here to read the documentation

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

  • Provides a simple, easy-to-learn, and modern way to build clean, reusable API integrations
  • Built on top of Guzzle, the most popular and feature-rich HTTP client
  • Works great within a team as it provides a standard everyone can follow
  • Great for building your next PHP SDK or library
  • Packed full of features like request recording, request concurrency, caching, data-transfer-object support, and full Laravel support.
  • Framework agnostic
  • Lightweight and has few dependencies.

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 ✨

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.