sammyjo20/saloon
Saloon is a Laravel/PHP package for building elegant, robust API integrations. It provides an object-oriented, class-based way to define requests and responses, with built-in support for authentication, caching, retries, rate limiting, and testing.
Http::get() calls scattered through controllers.HasApiVersion trait (v4.5.0) gives teams an explicit, code-level way to declare which API version a connector targets. This directly supports decisions about when to migrate off a vendor's deprecated API — you can inventory and audit versions in use, stage migrations connector-by-connector, and avoid a big-bang rewrite when a provider sunsets v2.Consider adoption when:
HasApiVersion trait and connector abstraction lower the cost and risk of that transition.Look elsewhere when:
For executives: This is a small, focused open-source library that makes our external API integrations cheaper to build and safer to change. The latest release adds explicit API version tagging, which means when a vendor deprecates an API version — a recurring, unplanned cost — we can identify and migrate affected integrations deliberately rather than under deadline pressure. Cost is negligible (no license); the return is engineering velocity and reduced integration-related incidents.
For engineering leadership: Saloon elevates third-party integrations to testable, reusable application classes with built-in support for authentication, retries, rate limiting, and mocking. v4.5.0 adds the HasApiVersion trait, letting connectors declare their target API version in code — enabling an inventory of versions in use and incremental, connector-by-connector migrations. It's a low-commitment adoption: isolated to integration code, no framework lock-in, and reversible.
Recommendation: Pilot Saloon on the next two to three external integrations. Prioritize any roadmap item involving a provider migration or known API deprecation, where the new versioning trait provides immediate leverage. Reassess adoption breadth after the pilot with concrete data on build time and defect rates versus prior integrations.
How can I help you explore Laravel packages today?