https://github.com/techsolutionstuff/laravel-11-rest-api-with-passport-authentication
In this article, we'll see Laravel 11 REST API CRUD operation with Passport Authentication.
https://github.com/techsolutionstuff/laravel-11-rest-api-with-passport-authentication
crud-operation laravel laravel-11-api laravel-11-crud laravel-11-rest-api laravel-passport laravel11 passport rest-api
Last synced: 2 months ago
JSON representation
In this article, we'll see Laravel 11 REST API CRUD operation with Passport Authentication.
- Host: GitHub
- URL: https://github.com/techsolutionstuff/laravel-11-rest-api-with-passport-authentication
- Owner: Techsolutionstuff
- Created: 2024-04-16T16:49:52.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-16T16:54:45.000Z (about 1 year ago)
- Last Synced: 2025-01-28T01:20:56.652Z (4 months ago)
- Topics: crud-operation, laravel, laravel-11-api, laravel-11-crud, laravel-11-rest-api, laravel-passport, laravel11, passport, rest-api
- Homepage: https://techsolutionstuff.com/post/laravel-11-rest-api-with-passport-authentication
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Laravel 11 REST API With Passport Authentication
Hello developers! In this article, we'll see Laravel 11 REST API with Passport Authentication. Also, we'll perform CRUD(create, read, update, delete) operation in REST API in laravel 11 with Passport.
Before getting started, you may wish to determine if your application would be better served by Laravel Passport or Laravel Sanctum.
If your application needs to support OAuth2, then you should use Laravel Passport. Laravel Passport provides a full OAuth2 server implementation for your Laravel 11 application.
We'll Install Laravel Passport via the install:api Artisan command. In **[laravel 11 publish API routes](techsolutionstuff.com/post/how-to-publish-api-route-file-in-laravel-11)**.
```
Step 1: Install Laravel 11 ApplicationStep 2: Install Passport
Step 3: Configure Passport
Step 4: Add Model and Migration
Step 5: Create API Routes
Step 6: Create Controller Files
Step 7: Create Eloquent API Resources
Step 8: Run Laravel App
```---
### [Read More: Laravel 11 REST API With Passport Authentication](https://techsolutionstuff.com/post/laravel-11-rest-api-with-passport-authentication)