packagist saloonphp/saloon v0.6.6
Version v0.6.6

latest releases: v3.x-dev, v3.10.0, v3.9.1...
2 years ago

New Features

Introducing a new way to use Saloon! You can now register your requests within your connector to use it just like an SDK. Take a look:

// Currently, the only way to make requests...

$request = new GetForgeServerRequest(serverId: 123456);
$response = $request->send();

// Introducing the new "SDK" API!

$connector = new ForgeConnector();
$request = $connector->getForgeServerRequest(serverId: 123456);
$response = $request->send();

// You can even use static methods...

$request = ForgeConnector::getForgeServerRequest(serverId: 123456);
$response = $request->send();

Click here to read more

What's Changed

Full Changelog: v0.6.5...v0.6.6

Don't miss a new saloon release

NewReleases is sending notifications on new releases.