{"id":21207017,"url":"https://github.com/savanihd/laravel-11-jwt-authentication-api-tutorial","last_synced_at":"2025-07-10T08:33:31.033Z","repository":{"id":244506437,"uuid":"812150070","full_name":"savanihd/Laravel-11-JWT-Authentication-API-Tutorial","owner":"savanihd","description":"Laravel 11 JWT Authentication API Tutorial. It includes creating and securing routes, generating tokens, and configuring middleware for user authentication and authorization.","archived":false,"fork":false,"pushed_at":"2024-06-15T07:03:36.000Z","size":72,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-15T08:23:04.142Z","etag":null,"topics":["jwt","laravel","laravel11","rest-api"],"latest_commit_sha":null,"homepage":"https://www.itsolutionstuff.com/post/laravel-11-json-web-tokenjwt-api-authentication-tutorialexample.html","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/savanihd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-08T05:03:45.000Z","updated_at":"2024-06-15T08:23:10.330Z","dependencies_parsed_at":"2024-06-15T08:23:08.234Z","dependency_job_id":"26a6e7a3-037a-41bf-9eb1-744532c16e50","html_url":"https://github.com/savanihd/Laravel-11-JWT-Authentication-API-Tutorial","commit_stats":null,"previous_names":["savanihd/laravel-11-jwt-authentication-api-tutorial"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savanihd%2FLaravel-11-JWT-Authentication-API-Tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savanihd%2FLaravel-11-JWT-Authentication-API-Tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savanihd%2FLaravel-11-JWT-Authentication-API-Tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savanihd%2FLaravel-11-JWT-Authentication-API-Tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/savanihd","download_url":"https://codeload.github.com/savanihd/Laravel-11-JWT-Authentication-API-Tutorial/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225629837,"owners_count":17499295,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["jwt","laravel","laravel11","rest-api"],"created_at":"2024-11-20T20:57:28.872Z","updated_at":"2024-11-20T20:57:29.565Z","avatar_url":"https://github.com/savanihd.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel 11 JSON Web Token(JWT) Authentication Tutorial\n\n  Build an Laravel 11 JSON Web Token(JWT) Authentication Step by Step example. you have to simply follow the below steps:\n  - Step 1: Install Laravel 11\n  - Step 2: Enable API and Update Authentication Exception\n  - Step 3: Install and Setup JWT Auth package\n  - Step 4: Update User Model\n  - Step 5: Create API Routes\n  - Step 6: Create Controller Files\n  - Run Laravel 11 App\n\n![laravel-11-jwt-api-example](https://www.itsolutionstuff.com/upload/laravel-11-jwt-register.png)\n![laravel-11-jwt-api-example](https://www.itsolutionstuff.com/upload/laravel-11-jwt-login.png)\n![laravel-11-jwt-api-example](https://www.itsolutionstuff.com/upload/laravel-11-jwt-profile.png)\n![laravel-11-jwt-api-example](https://www.itsolutionstuff.com/upload/laravel-11-jwt-refresh.png)\n![laravel-11-jwt-api-example](https://www.itsolutionstuff.com/upload/laravel-11-jwt-logout.png)\n\n Run `php artisan serve` for a dev server. Navigate to `http://localhost:8000/`. The application will automatically reload if you change any of the source files.\n\n\n## ⭐️ List of Laravel 11 Tutorial Examples Step by Step: \n\n\n\u003ctable\u003e\n\u003ctr\u003e\n    \u003ctd\u003e🔗 \u003ca href=\"https://www.itsolutionstuff.com/post/laravel-11-crud-application-example-tutorialexample.html\"\u003eLaravel 11 CRUD Application Tutorial\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e🔗 \u003ca href=\"https://www.itsolutionstuff.com/post/laravel-11-import-export-excel-and-csv-file-tutorialexample.html\"\u003eLaravel 11 Import Export Excel and CSV File\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n    \u003ctd\u003e🔗 \u003ca href=\"https://www.itsolutionstuff.com/post/laravel-11-user-roles-and-permissions-tutorialexample.html\"\u003eLaravel 11 User Roles and Permissions\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e🔗 \u003ca href=\"https://www.itsolutionstuff.com/post/laravel-11-json-web-tokenjwt-api-authentication-tutorialexample.html\"\u003eLaravel 11 JWT API Authentication\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n    \u003ctd\u003e🔗 \u003ca href=\"https://www.itsolutionstuff.com/post/laravel-11-rest-api-authentication-using-sanctum-tutorialexample.html\"\u003eLaravel 11 Sanctum REST API Authentication\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e🔗 \u003ca href=\"https://www.itsolutionstuff.com/post/laravel-11-rest-api-with-passport-authentication-tutorialexample.html\"\u003eLaravel 11 Passport REST API Authentication\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n    \u003ctd\u003e🔗 \u003ca href=\"https://www.itsolutionstuff.com/post/laravel-11-generate-pdf-file-using-dompdf-exampleexample.html\"\u003eLaravel 11 Generate PDF File using DomPDF\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e🔗 \u003ca href=\"https://www.itsolutionstuff.com/post/laravel-11-yajra-datatables-example-tutorialexample.html\"\u003eLaravel 11 Yajra Datatables Example Tutorial\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n    \u003ctd\u003e🔗 \u003ca href=\"https://www.itsolutionstuff.com/post/how-to-create-and-use-trait-in-laravel-11example.html\"\u003eHow to Create and User Trait in Laravel 11?\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e🔗 \u003ca href=\"https://www.itsolutionstuff.com/post/how-to-create-custom-middleware-in-laravel-11example.html\"\u003eLaravel 11 Create Custom Middleware\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n    \u003ctd\u003e🔗 \u003ca href=\"https://www.itsolutionstuff.com/post/how-to-publish-api-route-file-in-laravel-11example.html\"\u003eHow to Publish API Routes in Laravel 11?\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e🔗 \u003ca href=\"https://www.itsolutionstuff.com/post/how-to-create-interface-in-laravel-11example.html\"\u003eHow to Create Interface in Laravel 11?\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n    \u003ctd\u003e🔗 \u003ca href=\"https://www.itsolutionstuff.com/post/how-to-create-custom-class-in-laravel-11example.html\"\u003eHow to Create Custom Class in Laravel 11?\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e🔗 \u003ca href=\"https://www.itsolutionstuff.com/post/how-to-create-custom-class-in-laravel-11example.html\"\u003eHow to Create Custom Class in Laravel 11?\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n    \u003ctd\u003e🔗 \u003ca href=\"https://www.itsolutionstuff.com/post/laravel-11-pagination-with-relationship-exampleexample.html\"\u003eLaravel 11 Pagination with Relationship Example\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e🔗 \u003ca href=\"https://www.itsolutionstuff.com/post/how-to-upload-files-to-amazon-s3-in-laravel-11example.html\"\u003eHow to Upload Files to Amazon S3 in Laravel 11?\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n    \u003ctd\u003e🔗 \u003ca href=\"https://www.itsolutionstuff.com/post/laravel-11-scout-full-text-search-tutorialexample.html\"\u003eLaravel 11 Scout Full Text Search\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e🔗 \u003ca href=\"https://www.itsolutionstuff.com/post/laravel-11-resize-image-before-upload-exampleexample.html\"\u003eLaravel 11 Resize Image Before Upload Example\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n    \u003ctd\u003e🔗 \u003ca href=\"https://www.itsolutionstuff.com/post/how-to-generate-qr-code-in-laravel-11example.html\"\u003eHow to Generate QR Code in Laravel 11?\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e🔗 \u003ca href=\"https://www.itsolutionstuff.com/post/laravel-11-resize-image-before-upload-exampleexample.html\"\u003eLaravel 11 One to Many Eloquent Relationship\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n    \u003ctd\u003e🔗 \u003ca href=\"https://www.itsolutionstuff.com/post/laravel-11-chart-using-highcharts-js-exampleexample.html\"\u003eLaravel 11 Chart using Highcharts JS\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e🔗 \u003ca href=\"https://www.itsolutionstuff.com/post/laravel-11-socialite-login-with-google-account-exampleexample.html\"\u003eLaravel 11 Socialite Login with Google\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n    \u003ctd\u003e🔗 \u003ca href=\"https://www.itsolutionstuff.com/post/laravel-11-drag-and-drop-file-upload-with-dropzone-jsexample.html\"\u003eLaravel 11 Dropzone Drag and Drop File Upload\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e🔗 \u003ca href=\"https://www.itsolutionstuff.com/post/laravel-11-stripe-payment-gateway-integration-exampleexample.html\"\u003eLaravel 11 Stripe Payment Gateway Integration\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n    \u003ctd\u003e🔗 \u003ca href=\"https://www.itsolutionstuff.com/post/how-to-create-event-calendar-in-laravel-11example.html\"\u003eLaravel 11 Create Event Calendar\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e🔗 \u003ca href=\"https://www.itsolutionstuff.com/post/laravel-11-crud-with-image-upload-tutorialexample.html\"\u003eLaravel 11 CRUD with Image Upload\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n    \u003ctd\u003e🔗 \u003ca href=\"https://www.itsolutionstuff.com/post/setup-automatic-daily-database-backup-with-laravel-11example.html\"\u003eLaravel 11 Automatic Daily Database Backup\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e🔗 \u003ca href=\"https://www.itsolutionstuff.com/post/how-to-save-json-data-in-database-in-laravel-11example.html\"\u003eLaravel 11 Save JSON Data in Database\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n    \u003ctd\u003e🔗 \u003ca href=\"https://www.itsolutionstuff.com/post/laravel-11-livewire-crud-using-jetstream-tailwind-cssexample.html\"\u003eLaravel 11 Livewire CRUD using Jetstream\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e🔗 \u003ca href=\"https://www.itsolutionstuff.com/post/how-to-create-zip-archive-file-in-laravel-11example.html\"\u003eHow to Create ZIP Archive File in Laravel 11?\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n    \u003ctd\u003e🔗 \u003ca href=\"https://www.itsolutionstuff.com/post/laravel-11-livewire-wizard-multi-step-form-tutorialexample.html\"\u003eLaravel 11 Livewire Wizard Multi Step Form\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e🔗 \u003ca href=\"https://www.itsolutionstuff.com/post/laravel-11-ckeditor-image-upload-exampleexample.html\"\u003eLaravel 11 CKeditor Image Upload Example\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n\n## 🚀 Published By\n\nPublish one article daily about Laravel on the [ItSolutionStuff.com](https://www.itsolutionstuff.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsavanihd%2Flaravel-11-jwt-authentication-api-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsavanihd%2Flaravel-11-jwt-authentication-api-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsavanihd%2Flaravel-11-jwt-authentication-api-tutorial/lists"}