You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Laravel 10 REST API using Passport Authentication
2
+
Learn how to develop Laravel 10 REST API using Passport authentication application
3
+
4
+
> The complete step by step guide is available on my blog. [AllPHPTricks Laravel 10 Passport API authentication](https://www.allphptricks.com/laravel-10-rest-api-using-passport-authentication/)
5
+
6
+
## Blog
7
+
https://www.allphptricks.com/
8
+
9
+
10
+
## Installation
11
+
Make sure that you have setup the environment properly. You will need minimum PHP 8.1, PHP’s Sodium Extension, MySQL/MariaDB, and composer.
12
+
13
+
1. Download the project (or clone using GIT)
14
+
2. Copy `.env.example` into `.env` and configure your database credentials
15
+
3. Go to the project's root directory using terminal window/command prompt
16
+
4. Run `composer install`
17
+
5. Set the application key by running `php artisan key:generate --ansi`
18
+
6. Run migrations `php artisan migrate`
19
+
7. Start local server by executing `php artisan serve`
0 commit comments