
Explore codeigniter 4 fundamentals, install and configure the framework, and build RESTful APIs in three phases: no authentication, basic authentication, and JWT authentication.
Install and configure CodeIgniter 4 by downloading the package or using composer, ensure PHP 7.4 or higher, and start the development server with php spark serve on localhost:8080.
Learn how CodeIgniter 4 loads the default landing page by routing to a home controller, loading the welcome_message view from app/views via routes.php and the base controller.
Explore PHP spark CLI, a CodeIgniter tool for RESTful API development, with commands for routes, serve, and help, and generators to create controllers or models with optional suffix.
Connect a CodeIgniter 4 app to a MySQL database by creating a database in phpMyAdmin, configuring the dot env file, and enabling the default connection group for localhost.
Discover how to build your first CodeIgniter 4 API with database connectivity by creating a controller, route, and view, running the spark server, and passing data from controller to view.
Explore how migrations create table structures in CodeIgniter 4 using the PHP spark CLI, including making migrations and using up, down, migrate, rollback, and refresh to manage schemas.
Learn to create and run a seeder in CodeIgniter to generate fake data with the query builder, populate the students table, and seed 100 rows using Faker.
Master query builder methods in CodeIgniter 4 to perform CRUD operations for RESTful APIs. Build a database object and retrieve results with get result, get row, and get result array.
Learn how to define and load a CodeIgniter model and perform CRUD operations on the students table using insert, find, where, and delete.
Explore route methods in CodeIgniter for restful APIs, including get, post, put/patch, and delete, and learn how to map routes to controller methods and use method spoofing.
Learn to create route groups in CodeIgniter 4 to organize RESTful API endpoints, using an API prefix for list, add, update, and delete student routes.
Learn namespace-based routing in codeigniter 4 to organize admin and seller API controllers with distinct folders and route prefixes for scalable RESTful endpoints.
Explore how to implement filters in CodeIgniter 4 to protect routes, create auth filters with PHP spark, and apply them to open and protected endpoints.
Explore API development in codeigniter 4 by building CRUD APIs for an employees table without authentication, covering setup, migrations, routes, and running the development server.
Create the initial CodeIgniter 4 migration to build the employees table with id, name, email, and profile_image, using spark migrate and up/down methods to define fields and constraints.
Generate a CodeIgniter 4 API by creating an API controller and employee model with spark cli, configure routes, and prepare CRUD methods for the employees table.
Create api routes in CodeIgniter 4 using an API prefix, mapping post, get, put, and delete to add, list, single, update, and delete employee endpoints with id in the url.
Create and save an employee via the add employee api by validating name and unique email, optionally uploading a profile image to public/images, then inserting data and returning json.
Perform unit testing of the create employee API in a CodeIgniter 4 restful app by using a development server and Postman, validating required fields, and handling image uploads.
Create a list employee API in CodeIgniter 4 using the employee model's find all method to fetch all records and return a JSON response with status, error, message, and data.
Explore building a single employee data API in CodeIgniter 4 for RESTful API development by fetching an employee by ID from the URL and returning a structured JSON response.
Implement the update employee API in CodeIgniter 4, updating by id with name, email, and optional profile image using method spoofing for PUT, with validation and image upload.
Implement a delete employee API in CodeIgniter 4, using a delete route with method spoofing, validate existence, perform deletion, and return clear success or error responses; tested via Postman.
Learn how to build RESTful APIs with CodeIgniter 4, implement basic authentication, and manage migrations for categories and blogs, including filters and endpoints with post, get, put, and delete.
Install and set up CodeIgniter 4 for API development with basic authentication, configure the environment, connect to a database, and prepare for migrations to create table structures.
Create migrations for two tables in CodeIgniter 4: categories and blogs, via PHP spark make migration, forge-driven fields, keys, and tables; then apply migrations and verify via migrate status.
Create a Codeigniter 4 rest api controller in the api folder. Define methods for create category, list categories, add blog, list blogs, update blog, and delete blog.
Create category and blog models for table_ categories and table_ blogs, define allowed fields, load them in the api controller, and implement a basic auth filter to protect routes.
Register API routes with a prefix API in routes.php, group them, and map create category, list category, add block, list blocks, update block, and delete block to API controller methods.
Build a create category API with CodeIgniter 4, enforce name required and unique validation, insert via category model, expose at api/add-category, and test with Postman.
Learn to protect CodeIgniter 4 REST APIs with basic authentication by validating the authorization header using base64 in a basic auth filter and returning json access denied when invalid.
Build the list category API in CodeIgniter 4 to fetch categories. Enforce basic authentication via authorization headers and return structured status, message, and data.
Learn to build a rest api endpoint for creating blog posts in CodeIgniter 4, including form data validation, category existence checks, and inserting into the blog table using models.
Develop a blogs list API in CodeIgniter 4 using the query builder to join blocks with categories and return a JSON response including category names.
Develop an update block API in CodeIgniter 4 by validating category_id and title from form data, verifying the block exists via URL ID, and updating the block with optional content.
Implement delete blog api in CodeIgniter 4 restful api, validating blog existence by id, deleting from the blog table via the api controller, and exploring authentication and method spoofing options.
Build secure restful APIs with Codeigniter 4 and JWT authentication by creating users and books migrations, and implementing register, login, profile, logout, and book CRUD APIs.
Explore CodeIgniter 4 api development by installing the project with composer, understanding json web tokens, and integrating the firebase/php-jwt package for secure authentication.
Set up the CodeIgniter RESTful API by configuring the database in .env, then create and migrate users and books tables with PHP spark migrations.
Create a restful API controller and migrations for users and books in CodeIgniter 4, implementing register, login, profile, and book management (create, list, delete) with JWT authentication.
Define and group CodeIgniter 4 API routes for JWT authentication, including register, login, profile, and book operations (create, list, delete) using a namespace and routes.php.
Create a register user API route in CodeIgniter 4, validate name, email, and password, hash the password, insert via the user model, and test with Postman.
Build a login api in codeigniter 4 using jwt authentication; validate email and password, verify credentials, and generate a jwt token with payload including user data.
Learn to build a user login API in CodeIgniter 4 using JWT, fetch the profile by decoding the authorization header token, and return a JSON response with error handling.
Build a book creation API in CodeIgniter 4 with JWT authentication, extracting user id from the authorization header, validating the title (author optional), and saving to the books table.
Create book API demonstrates listing books in CodeIgniter 4 using jwt authentication to fetch books by the authenticated user ID from the authorization token.
Delete book API validates a user token, decodes user id, and deletes a book by matching user id and book id; it returns a status message indicating success or failure.
Learn to fix cross-origin resource sharing errors in CodeIgniter 4 by creating a course filter, setting access-control headers and methods, and registering it before processing requests.
Discover how CodeIgniter 4 enables RESTful API development with JWT authentication, covering basics to API development concepts for building secure CodeIgniter applications.
We will learn the complete idea to develop a CodeIgniter 4 RESTful APIs Development Using JWT Authentication. Basic Experience in CodeIgniter programming required like working of MVC. Learn practical skills of APIs Development in CodeIgniter 4 with mysql database driver.
This course is a step by step guide through the CodeIgniter 4 development with MySQL programming language. You will go from a beginner level to creating your own web services.
Basics of CodeIgniter 4.
Concept of Route, Controller, Migration, Seeders, Filters, Route Group & Namespace.
Complete concept of authentication types in CodeIgniter 4.
API Development without using authentication.
CodeIgniter 4 Basic authentication.
API development guide with live code session with jwt.
API development plans while creating application structure.
About JWT basics and its structure.
JWT API development tutorials.
API Error handling by using filters.
About Response & HTTP Code
Relationship in API development with JWT
Difference between API Development in Basic auth & JWT auth
API Development Configuration.
JWT package Installation with Complete detail.
Installation & Configuration of JWT in CodeIgniter 4 application.
About Filter 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 CodeIgniter 4 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 CodeIgniter 4, mysql database and bit about MVC pattern. Rest all the things you will very clear during each sessions.