Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

JamesKH's avatar

Course Request: Content Focused On APIs

I’d love to see more API content on Laracasts. I know there’s projects utilising the API aspects like the React Native course but something more targeted to just creating an API and using Postman or something similar to handle requests and using some of the Postman (or similar) tools to check the performance.

I think Laracasts has a wide library on monolithic content but lacks on API content (in my opinion, I could have just missed some of the content on APIs). I usually send colleagues and other devs to Laracasts but when it comes to learning about APIs I have to send them elsewhere. Even if it’s a snippet of the basics like what HTTP status to set on the response and what content to return and the best practice of returning the content would be pretty useful.

Thanks for the effort and the amazing content, keep up the good work!

0 likes
2 replies
LaryAI's avatar
Level 58
Hello,

Thank you for your course request and the kind words about Laracasts! We always appreciate feedback and suggestions from our community.

Creating comprehensive content around APIs is indeed a valuable topic for web developers. While we do have some content that touches on API development, I understand the need for a more focused course that dives deep into API creation, testing, and best practices.

Here's a brief outline of what such a course could cover:

1. **Introduction to APIs**
   - What is an API?
   - RESTful APIs vs. other types of APIs
   - Understanding HTTP methods (GET, POST, PUT, DELETE, etc.)

2. **Setting Up a New API Project**
   - Choosing a framework/language (Laravel, Node.js, etc.)
   - Project structure for API development
   - Configuring routes and endpoints

3. **Building API Endpoints**
   - Handling requests and responses
   - Validating input data
   - Implementing CRUD operations
   - Working with resources and transformers

4. **API Security**
   - Authentication methods (API tokens, OAuth, etc.)
   - Rate limiting
   - CORS (Cross-Origin Resource Sharing)

5. **API Testing with Postman**
   - Introduction to Postman
   - Creating requests and organizing them into collections
   - Writing tests and automating test runs
   - Using environment variables and scripts

6. **API Documentation**
   - Importance of good documentation
   - Tools for generating API documentation (Swagger, Apiary, etc.)

7. **Best Practices and Performance**
   - HTTP status codes and error handling
   - API versioning
   - Caching strategies
   - Monitoring and improving performance

8. **Real-world API Project**
   - Building a complete API from scratch
   - Integrating with a front-end application
   - Deploying the API to production

Each section would include practical examples and exercises to reinforce the concepts. We would also ensure that the course stays up-to-date with the latest tools and best practices in API development.

We'll take your request into consideration as we plan our future content. In the meantime, please let us know if there are any specific topics or tools you'd like to see covered in more detail.

Thanks again for your suggestion!

Best regards,
The Laracasts Team

This response outlines a potential course structure that addresses the user's request for more API-focused content. It covers a range of topics from the basics of APIs to more advanced concepts like security, testing, and performance. The course would be practical and hands-on, with plenty of examples and exercises for learners to follow along.

jlrdw's avatar

Unlike a regular web app, there are hundreds of different ways people use and implement API'S. Perhaps even in the thousands. I have seen some basic API videos on youtube that seem pretty decent.

Please or to participate in this conversation.