What we built
IntraPrism Service SDK is a custom Laravel package facilitating secure service-to-service communication across the 12+ microservices that make up the IntraPrism ERP platform. It's the unified integration layer for cross-service authentication, internal API routing, and shared models — designed so that adding a new service is a one-line composer install rather than a copy-paste of plumbing.
The SDK eliminates redundant implementation across services with centralised service discovery, conditional module integration based on company subscriptions, and shared utilities enforced everywhere. Built for containerised environments using Docker DNS, it lets services coordinate in milliseconds without exposing internal logic to the public API surface.
What it includes
- Service authentication middleware validating prefixed tokens (
ip_sk_) - Standardised internal API routes (
/api/internal/*) for cross-service queries - Centralised service discovery integrated with Docker DNS
- Conditional data pushes based on
company_servicessubscription checks - Shared models, traits, and helpers enforcing consistent patterns
- Path-repository distribution via Composer for streamlined iteration
Stack
Laravel 12, PHP 8.3, Composer, REST APIs, custom middleware, service tokens, Docker. Distributed across IntraPrism's Account, Workspace, Super Admin, Admin, CRM, Finance, and Portal services.


