- Token-based authentication with Laravel Passport
- Middleware
- Validation
- CRUD with API
install required dependencies
composer install
copy .env.example
file to .env
:
cp .env.example .env
Generate APP_KEY
php artisan key:generate
run migrations:
php artisan migrate
to generate secure access tokens with Passport:
php artisan passport:install
Start development server
php artisan serve
You can also check Postman Documentation