Building a Secure API - Part 2
Take the first steps into using Slim to create a secure API
Building a secure API doesn't have to be difficult if you build it that way from the start. This course will guide you through the creation of a simple REST API that could be used for a new application or to add on to an existing one. Secure thinking is an important part of any development.
In the first course in the series I introduced some of the basics about the API we'll be building. In this second course we'll start in on the code, taking the first steps with the Slim Framework and setting up our environment.
Topics covered include:
- Installing Slim via Composer
- Creating custom error handlers
- Throwing and handling exceptions as errors
- Returning JSON output
If you haven't taken our free course that's the first part of this series, I highly suggest it before taking this course.
Your Instructor
For the last 12+ years, Chris has been involved in the PHP community in one way or another. These days he's the Senior Editor of PHPDeveloper.org, lead author for Websec.io, a site dedicated to teaching developers about security, and the Securing PHP project. He's also written for several PHP publications and has spoken at conferences in both the U.S. and Europe on security-related topics. He's also an organizer of the Dallas PHP User Group and the Lone Star PHP Conference and works as an Application Security Engineer for Duo Security.