
Learn to build your first Laravel app by creating a controller, defining a route, and rendering a Blade view with dynamic data like name and email.
Create and manage database schemas with migrations by generating a migration, defining a students table with name, email, phone, and gender, plus timestamps, then migrate, rollback, and refresh as needed.
Explore how Laravel models interact with database tables using naming conventions, with singular models and plural tables, and customize with protected properties and the make model command.
Explore how to seed dummy data in a Laravel 8 app using factories and seeders, populating the students table with Faker-generated records.
Explain middleware in Laravel 8, its global, group, and route types; show how to create and register middleware in the kernel and apply to routes or groups.
Set up a Laravel 8 api project, create an employees table with email, gender, and age, and implement create, list, update, and delete APIs in a controller without authentication.
List employees in a Laravel 8 API by returning a structured response with status, message, and data for all employees.
Develop a single data api in Laravel 8 by passing an employee id to fetch specific employee details or return an employee not found message with a 404 status.
Build a Laravel 8 API update endpoint that updates employee data via a put request using body parameters and the find method, and returns employee updated successfully or employee not found.
Set up migrations for a Laravel 8 API by creating students and projects tables with id, name, email, password, phone number, student_id, description, duration, and removing timestamps.
INSTALL SANCTUM PACKAGE
-----------------------------
composer require laravel/sanctum
PUBLISH SANCTUM CONFIG
-----------------------------
php artisan vendor:publish --provider="Laravel\Sanctum\SanctumServiceProvider"
php artisan migrate
UPDATE ROUTE SERVICE PROVIDER FILE
------------------------------------
UNCOMMNET THIS LINE protected $namespace = 'App\\Http\\Controllers';
UPDATE MODEL
------------------
use Laravel\Sanctum\HasApiTokens;
ADD THIS - HasApiTokens
Learn to build a Laravel 8 user register API: validate name, email (unique), password (confirmed), hash the password, store in students table, and return a success response.
Learn to build a user profile API in Laravel 8 by using Sanctum authenticated requests, passing the authorization header token, and retrieving profile data via Postman.
Explore building a Laravel 8 API with jwt-based authentication, including user and courses tables, one-to-many enrollments, and register, login, and logout APIs secured by GwG token in header.
Install and configure a JWT package for a Laravel 8 API project using Composer. Publish the config file, generate the secret key, update providers and aliases, then run migrations.
Explore settings of api models in Laravel, defining users and courses models, configuring fillable fields, disabling timestamps, and preparing the user model for JWT authentication.
Create and secure Laravel 8 API routes by wiring user and course controllers, defining register and login endpoints, and grouping authenticated routes with JWT middleware for profile and enrollment.
Explore how the profile api, protected by middleware, retrieves the logged-in user data via jwt tokens and how ttl and algorithm settings in jwt config control access.
Build a total courses API with a one-to-many relation in Laravel 8, using hasMany on the user model to fetch and return a user’s enrolled courses.
Learn to build a delete course API in a Laravel 8 app, reading user id from token, validating enrollment via JWT authentication, deleting the course, and returning status messages.
Create api controllers for autos and books in a Laravel 8 project, defining resource methods for login, register, profile, logout, and CRUD operations, with passport middleware protection.
Learn to build a Laravel 8 register API by validating input (name, email, password, phone number), enforcing unique email and password confirmation, then create and save the user.
Learn to build a Laravel 8 login API using an autos table for authentication, configure providers and the auto model, validate input, generate a passport token, and test with Postman.
Learn to implement a logout API in Laravel 8 using Passport tokens, revoking the token via a post request, and returning a clear JSON success response.
Learn to build a list books api in Laravel 8, listing all books or those by an auto id using a has many relationship, with token-authenticated endpoints and json responses.
Explore building a single book details API in Laravel 8 API development, using passport authentication to return book data by id when the token has access, with clear responses.
We will learn the complete idea to develop a Laravel RESTful APIs Development Using JWT, Passport, Sanctum Authentication. Basic Experience in Laravel programming required like working of MVC. Learn practical skills of APIs Development in Laravel with mysql database driver.
This course is a step by step guide through the Laravel development with MySQL programming language. You will go from a beginner level to creating your own web services.
Basics of laravel.
Concept of Route, Controller, Migration, Seeders, Middlewares, Route Group & Prefix.
Complete concept of authentication types in laravel.
API Development without using authentication.
Laravel Sanctum authentication.
API development guide with live code session with sanctum.
API development plans while creating application structure.
About JWT basics and its structure.
JWT API development tutorials.
API Error handling by using middlewares.
About Response & HTTP Code
Relationship in API development with JWT
Difference between Sanctum, JWT & Passport tokens.
API Development Configurations.
Passport package Installation with Complete detail.
Installation & Configuration of JWT in laravel application.
About Middleware types and their use.
Process of API and their strategy to development.
Inside this whole tutorial you will cover too many things. After completing this whole course you will surely can handle api development in laravel framework. This course and it's video by video plans will help you to build a confidence in yourself to move with api development in php framework.
This course is for every level. For beginners, it will be very perfect to enrol and learn development in very easy steps with detailed concept.
Few things you should keep in mind that is you should have some basics of laravel, mysql database and bit about MVC pattern. Rest all the things you will very clear during each sessions.