Defining and fine tuning an API in Laravel with the Stoplight Platform

Matt Glaman
10 min readSep 20, 2021

Stoplight Platform is a series of tools that makes API design and documentation super easy. Their Studio product is an OpenAPI editor. Prism allows you to create a mock HTTP server to generate sample data based on your design specification. The Elements project creates documentation from your OpenAPI specification file. At Bluehorn Digital, we used Stoplight Studio to fine-tune an API provided by a Laravel (Lumen, actually) application.

--

--

Matt Glaman

PHP software engineer, open source contributor, and speaker