![API Design Basics: Designing for Security](/content/images/size/w600/2025/02/designing-for-security.jpg)
api-design
API Design Basics: Designing for Security
Keep these principles in mind when planning and designing an API, to sidestep major security issues before anyone even starts coding.
Co-founder of APIs You Won't Hate, and part techie, part woodland creation, and ancient woodland restoration. Co-founder of @ProtectEarthUK. @philsturgeon@mastodon.green
api-design
Keep these principles in mind when planning and designing an API, to sidestep major security issues before anyone even starts coding.
php
Learn how to create and test Laravel middleware to enhance API functionality while ensuring stability. Includes examples and tips for best practices
openapi
If you prefer to learn by looking at examples, maybe a cheeky bit of copy-paste coding, these OpenAPI examples can get you started.
api-design
Instead of rushing out a barely planned API and forgetting how it works in the flurry of changes that follow, you can document it before you build to keep everyone on the same page.
openapi
A quick look at why OpenAPI's "discriminator" keyword is an outdated concept that you can probably skip worrying about learning.
http
A comparison of quick and easy graphical HTTP clients you can use if you're considering alternatives to Postman.
openapi
A new specification from the OpenAPI Initiative to handle describing workflows, to make more powerful documentation, and functional/end-to-end testing. Sponsored by Bump.sh.
Learn how to use resources and collections for a REST API, getting stuck into some real world examples, using links to get between them all, and some pitfalls to avoid.
openapi
Learn how to work with a powerful API mocking tool: Microcks, and how to integrate it with your existing API documentation flow.
api-design
How to handle pagination in your REST API, and what are the pros and cons of each method?
openapi
Over on Bump.sh I’ve been writing infinite guides helping people learn how to get OpenAPI out of (or into) their various programming languages and web frameworks, and I wanted to share a summary of that work for the PHP crowd over here with some links.
openapi
JSONPath is a query language that can be used to extract data from JSON documents, and it's becoming increasingly useful in the OpenAPI ecosystem.