origami-mp/origami-api-sdk
origami-mp/origami-api-sdk is a PHP SDK for the Origami API, providing a convenient client to streamline authentication and endpoint requests. It helps Laravel and PHP developers integrate with Origami services faster with less boilerplate and more consistent API handling.
origami_admin_v2. The real decision isn't "should we adopt a vendor library" — it's "does every Origami service keep hand-rolling Guzzle calls, or do we standardize on the sanctioned client?" Standardizing is the cheaper path for any second or third consumer.Data / Guest / Oauth repositories, param bags, DTOs) makes the SDK a de facto contract for the API. Every time a new endpoint is added here, you're deciding that endpoint is stable enough to expose. That's a roadmap artifact, not just code.Guest and Oauth repositories are the natural on-ramp. Worth an explicit decision now: is this an internal tool or the seed of a public SDK?skills/sdk-conventions) covering param bags, DTOs, enums, exceptions, helpers and tests. That's an unusually strong signal for onboarding velocity and for letting agents generate conformant code — a real input to staffing and delivery planning.Adopt it when:
catch blocks — i.e., you care about consistent error states in the UI.Look elsewhere when:
For executives (one paragraph): The Origami API SDK is our own typed PHP client for the central Origami API, already used by origami_admin_v2. Recommending it as the standard for Origami-ecosystem services is a cost-avoidance play: it removes duplicated HTTP and response-parsing code from every new service, makes API contract changes fail loudly in tests instead of quietly in production, and gives us a single place to version and evolve the integration. The investment is one owned maintainer and adherence to documented conventions; the return is shorter integration timelines and fewer data-integrity bugs. Caveat to state plainly: it is internal tooling with no external adoption signals, so the business case rests on our own consumer count, not on community traction.
For engineering: It's MIT-licensed, Laravel-flavored, and opinionated on purpose — repositories in, DTOs out, param bags for requests, a typed exception hierarchy, enums, and Laravel-adapting helpers. The conventions are versioned alongside the code and cover tests, so review is objective and new contributors (human or agent) have a single source of truth. Two asks before we commit: (1) name a maintainer and a release/deprecation policy, since API changes in the sibling origami_api repo will flow straight through; (2) confirm coverage for anything beyond request/response work — auth refresh, retries, rate limits, pagination — because that's usually where a "thin SDK" quietly becomes a framework. If we adopt, we adopt the conventions too; a partially-conformant fork gives us the maintenance cost without the consistency benefit.
How can I help you explore Laravel packages today?