About 510,000 results
Open links in new tab
  1. Authentication - Laravel 12.x - The PHP Framework For Web …

    Laravel includes built-in authentication and session services which are typically accessed via the Auth and Session facades. These features provide cookie-based authentication for requests …

  2. Laravel Sanctum - Laravel 12.x - The PHP Framework For Web …

    Laravel Sanctum provides a featherweight authentication system for SPAs (single page applications), mobile applications, and simple, token based APIs. Sanctum allows each user of …

  3. php - Laravel use auth ()->user () for api - Stack Overflow

    Nov 2, 2018 · I think as long as you still use the 'auth:api' middleware on your api routes, you should be able to use the auth()->user() helper. UPDATE. The auth:api middleware comes …

  4. Laravel 10 REST API Authentication using Sanctum - Vidvatek

    Oct 11, 2023 · In this step-by-step guide, I will walk you through the process of setting up REST API authentication using Laravel 10 and Sanctum. Laravel Sanctum provides a featherweight …

  5. Laravel 12 REST API with Passport Authentication Tutorial

    Apr 4, 2025 · In this post, I will show you how to create REST API with Passport Authentication in laravel 12 application. We will learn from scratch about APIs, REST APIs, and Laravel …

  6. API Authentication - Laravel 6.x - The PHP Framework For Web …

    By default, Laravel ships with a simple solution to API authentication via a random token assigned to each user of your application. In your config/auth.php configuration file, an api guard is …

  7. Laravel API Authorization By Example - Auth0 Developer Resources

    Mar 12, 2024 · First, you'll need to configure the Larave API server to connect successfully to Auth0. Afterward, you'll use the auth0-php package to validate bearer tokens from incoming …

  8. Laravel 12 API Authentication using Laravel Passport

    Mar 1, 2025 · Today we will learn how to create an authentication using Laravel Passport on our Laravel 12 API. But before that, let has a discussion about API and what Laravel Passport is. …

  9. Laravel Authentication [Complete Tutorial with examples]

    Feb 9, 2024 · Choosing the right API authentication method in Laravel depends on your application's specific requirements. For simpler applications, token-based authentication or …

  10. Laravel API Authentication Using Firebase PHP JWT: Adding …

    Apr 7, 2025 · In this tutorial, we've successfully implemented email-based two-factor authentication (2FA) for our Laravel API using Firebase PHP JWT, enhancing our login flow …

  11. Some results have been removed
Refresh