Рет қаралды 72
In this episode, we’ll build a complete API CRUD system using Laravel 11. Learn how to create models, set up migrations for database structure, and build controllers, including API resource controllers, to handle CRUD operations. Additionally, we’ll integrate Laravel Sanctum to secure your API with token-based authentication. By the end of this tutorial, you’ll have a fully functional, secure API ready for web and mobile applications.
01:04 Install api.
01:44 Make model -a.
03:27 Update model.
04:05 Migration function up.
07:07 Route.
09:40 Controller function index.
15:40 Controller function show.
17:11 Controller function update.
19:18 Controller function destroy.