A robust Laravel-based proxy gateway that securely manages upstream API requests, handles prepaid credit consumption via FIFO batching, and intelligently caches heavy payloads.
Explore FeaturesBuilt for scale, security, and precise resource management.
Seamlessly intercepts client requests, injects upstream credentials dynamically, and transforms payloads before forwarding to the target API.
Strict per-API-key accounting. Credits are consumed from the oldest active batch first, with automated daily expiry checks and ledger integrity.
Strips heavy Base64 photos from Redis cache and Database. Stores them securely on the filesystem, injecting them only when the client requests them.
Validates Bearer/X-API-Key headers. Enforces Redis sliding window rate limits (min/hour/day).
Checks Redis for an existing cached response. If found, returns instantly without charging credits or hitting upstream.
Deducts credits (FIFO), proxies to upstream, extracts photos to disk, strips photos from JSON, and stores in DB/Cache.
?fields=Code,Name) to drop heavy data like Base64 photos.