У нас вы можете посмотреть бесплатно Laravel 12 REST API Authentication with Passport или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
Hi there 👋, I’m Soeng Souy (StarCode Kh) ------------------------------------------- 🌱 I’m currently creating a sample Laravel and React Vue Livewire 👯 I’m looking to collaborate on open-source PHP & JavaScript projects 💬 Ask me about Laravel, MySQL, or Flutter ⚡ Fun fact: I love turning ☕️ into code! -------------------------------------------- Full code:https://www.souysoeng.com/2025/05/lar... -------------------------------------------- ▸|00:00:00|Start ▸|00:00:15|Prerequisites (PHP, Composer, Laravel , MySQL or MariaDB, Postman) ▸|00:00:31|Create sample project using passport REST API Authentication ▸|00:01:26|Install Laravel passport ▸|00:01:50|Configure passport ▸|00:03:20|Add HasApiTokens to the User Model ▸|00:04:14|Edit config/auth.php file and API driver ▸|00:04:47|Set Up Database ▸|00:05:33|Migrate database ▸|00:06:05|Start MySql ▸|00:07:00|Create API routes ▸|00:07:30|Define API Routes ▸|00:07:52|Create controller and method ▸|00:08:18|Add Auth Logic in Controller ▸|00:09:18|Test the API with Postman ▸|00:09:32|php artisan serve ▸|00:10:05|Open Postman testing ▸|00:10:15|Testing register ▸|00:11:45|Testing Login ▸|00:13:17|Testing get all user info ▸|00:14:56|Testing Logout -------------------------------------------- Follow Soeng Souy on: ------------------------------------------- Enjoying the content? ================= ► Subscribe here for FREE: / @laravelcrud -------------------------------------------- ► Telegram: https://t.me/starcodekh -------------------------------------------- ► Facebook page: / starcodekh ------------------------------------------- ► Website: https://souysoeng.com/ ------------------------------------------- ► Fix Code: https://fixcodekh.com/ ------------------------------------------- ► LinkedIn: / soengsouy ------------------------------------------- ► Twitter: / starcodekh ------------------------------------------- 𝗦𝘁𝗮𝗿𝗖𝗼𝗱𝗲 𝗞𝗵 :) Thank you for being so supportive! ------------------------------------------- 🔐 In this video, learn how to implement *REST API authentication* in *Laravel 12* using *Laravel Passport* – a powerful package for OAuth2 and token-based auth. This is ideal for securing your Laravel backend for mobile apps, SPAs, or third-party clients. 🧠 What You'll Learn: Installing and setting up Laravel Passport Creating routes for register, login, logout Issuing access tokens for users Protecting routes with `auth:api` middleware Testing APIs with Postman 🛠 Tech Stack: Laravel 12 Laravel Passport PHP 8.x MySQL Postman 📚 Bonus: Token storage and expiration Refresh token logic (optional) ✅ Like, 🔔 Subscribe, and 💬 Comment if you'd like a frontend React or Vue integration with this API! #Laravel12 #Passport #LaravelAPI #RESTAPI #LaravelAuth #coding #nginx #laravelvue #laraveldeveloper #programming #laravel #starcodekh #soengsouy