#01 – Install API | Convert Laravel Web Project to API (In Arabic)
Автор: Abdulrhman Goda
Загружено: 2025-07-24
Просмотров: 183
Описание:
Ready to add an API layer to your existing Laravel web project? In this episode, we'll set up a clean, maintainable API structure that works seamlessly with both Laravel 11+ and older versions—perfect for when you need to support mobile apps or modern frontends like React/Vue!
🔗 Get the Code on GitHub
👉 https://github.com/Abdogoda/WEB2API/t...
🎯 What You'll Learn
✅ Laravel 11 vs Older Versions – Key API routing differences explained
✅ Proper API Bootstrapping – Clean installation & setup process
✅ Your First Test Endpoint – Build & test a "Hello API" route
✅ API Versioning Best Practices – Future-proof with /api/v1/ structure
✅ Sanctum Preparation – Setting up HasApiTokens for auth (next episode)
⏱️ Timestamps
00:00 – Laravel 11+ API changes vs older versions
00:30 – Installing & configuring API routes
02:17 – Creating & testing your first API endpoint
03:00 – Implementing API versioning (/v1/)
04:40 – Adding HasApiTokens (Sanctum prep)
📂 Source Code
Each episode has its own GitHub branch for easy tracking:
🔗 https://github.com/Abdogoda/WEB2API/t...
🚀 Coming Next
In Episode 02, we'll:
✔ Convert a full CRUD module from web to API
✔ Implement API-formatted responses
✔ Refactor controllers for web + API coexistence
🔔 Subscribe & Hit the Bell to get notified when new episodes drop!
#LaravelAPI #Laravel11 #Laravel12 #RESTfulAPI #WebToAPI #LaravelTutorial #APIDevelopment #BackendDevelopment #LaravelSanctum #PHP #Programming #CodeWithMe
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: