🤠 Build beautiful API integrations and SDKs with Saloon
MIT License
Bot releases are visible (Hide)
Published by Sammyjo20 over 2 years ago
Full Changelog: https://github.com/Sammyjo20/Saloon/compare/v0.6.0...v0.6.1
Published by Sammyjo20 over 2 years ago
Full Changelog: https://github.com/Sammyjo20/Saloon/compare/v0.5.0...v0.6.0
Published by Sammyjo20 over 2 years ago
Full Changelog: https://github.com/Sammyjo20/Saloon/compare/v0.4.1...v0.5.0
Published by Sammyjo20 over 2 years ago
Full Changelog: https://github.com/Sammyjo20/Saloon/compare/v0.4.0...v0.4.1
Published by Sammyjo20 over 2 years ago
This release includes mocking for both Laravel and PHP applications. See more in the README. Here's a little snippet:
$mockClient = new SaloonMockClient();
$mockClient->addResponse(new MockResponse($data, 200, $headers));
$mockClient->addResponse(new MockResponse($data, 500, $headers));
$response = (new SaloonRequest)->send($mockClient); // 200
$response = (new SaloonRequest)->send($mockClient); // 500
Here's an example of how it could be implemented
$sdk = new ForgeSdk($token, $saloonMockClient);
$sdk->getServers(); // Internally sends $saloonRequest->send($this->mockClient);
Full Changelog: https://github.com/Sammyjo20/Saloon/compare/v0.3.1...v0.4.0
Published by Sammyjo20 over 2 years ago
Published by Sammyjo20 almost 3 years ago
Published by Sammyjo20 almost 3 years ago
Published by Sammyjo20 almost 3 years ago
Published by Sammyjo20 almost 3 years ago
Published by Sammyjo20 almost 3 years ago
Published by Sammyjo20 almost 3 years ago
Published by Sammyjo20 almost 3 years ago
🏄♀️