Articles & Tutorials
for you to read...
- Shaping API Responses with Laravel Resources
Laravel API resources provide fine-grained control over JSON responses, letting you transform models and include relationships consistently.
- Building a File Upload Component in Vue 3
Create a reusable file upload component in Vue 3 with TypeScript, progress tracking, and drag-and-drop support.
- File Uploads with Laravel and S3-Compatible Storage
Set up file uploads in Laravel 11 using Flysystem with S3-compatible storage like Digital Ocean Spaces or AWS S3.
- Basic Authorization with Admin Roles
How to set up basic authorization in a Laravel 11 API and Vue 3 SPA, adding an is_admin field to control access to protected content.
- Updating User Profile Information
How to update a user's profile details in a Vue 3 SPA using Laravel Fortify's profile update functionality.
- Vue 3 SPA Authentication with Sanctum
How to set up full authentication in a Vue 3 SPA using Laravel Sanctum, Pinia, and the Composition API.
- Laravel 11 API Authentication with Sanctum and Fortify
How to set up full authentication using Laravel Sanctum and Fortify including CORS, email verification, and password resets.
- The Demo Application
Overview of the demo application you'll be building - a Vue 3 SPA with Laravel 11 API authentication.
- Debugging Your API with Laravel Telescope
Laravel Telescope provides insight into requests, exceptions, and database queries. Essential for debugging your API.
- Testing API Endpoints with Insomnia or Postman
Testing your API endpoints is essential when building a Laravel API. Here's how to use Insomnia or Postman with Sanctum token authentication.