saloon
saloon copied to clipboard
🤠 Build beautiful API integrations and SDKs with Saloon
What is a good place to add validations for requests before they are submitted? For example, a request requires atleast 2 values on an array passed to it. I want...
Quick Update: Work has been quite busy at the moment so I haven't had a chance to dive into V2 for a while, but V2 will definitely be here before...
Hi! I'm using Saloon to create an SDK for a project. I have a request class I would like to have this API: ```php namespace Project; use Saloon\Contracts\Body\HasBody; use Saloon\Enums\Method;...
First of all: thank you for your lovely package! 2 Questions: 1. I'm using the Laravel HTTP plugin. So I was excepting not having to change my current tests where...
This PR introduces the `RequestValidator` as discussed in #275. At the moment of writing, it's a first draft to align our ideas. After that, the missing checks and tests will...
**Undefined method 'merge'.intelephense(1013)** I keep getting this bugging underline by inteliphense on vs-code, it complains not to find the method and even cannot autocomplete, however the code works fine. I...
I noticed the `laravel-http-sender` package is being sunset, but I still want requests/responses to be logged in Telescope. Then I discovered this is possible with the following package: https://github.com/huzaifaarain/telescope-guzzle-watcher/tree/main The...
I would like to remove the authentication on a specific request while the connector is using OAuth The request to the API is the following: - OAuth request to get...
I've added annotations for the `dto` and `dtoOrFail` methods, enabling passing of a `class-string` to each method, in order to get proper type suppose when working with the response. The...
In Laravel there's quite a neat assertion on the Http client called `assertSentInOrder`, it kind of does what it says on the tin, it allows you to check that the...