
Explore CodeIgniter 4 fundamentals, from controllers and routes to migrations and query builders, then build CRUD web services and secure RESTful APIs with Shield authentication tokens.
Learn to install CodeIgniter 4 with composer, verify composer and the PHP version greater than or equal to 7.3, and run spark serve for a local development setup.
Learn how CodeIgniter 4 renders the default landing page via routes.php mapping to the home controller's index method and the welcome_message view, found in app/views.
Discover how to use spark CLI in CodeIgniter 4 for API development with shield authentication, generate controllers and models, and explore help and flags like suffix.
Build your first program in CodeIgniter 4 by creating a route, a controller, and a view. Access the services page via a static message or a dedicated view file.
Connect a CodeIgniter 4 API to a database by configuring the .env and database.php, using the default connection group and tests, uncommenting credentials, and setting hostname, database name, and user.
Learn how CodeIgniter migrations work, create migration files with spark make migration, define table schemas with forge, and manage migrations using migrate, rollback, and refresh commands to build employees table.
Learn how to use CodeIgniter 4 query builder to insert, update, delete, and select data on an employee table, and retrieve results with get, get result, and row methods.
Learn model based methods in CodeIgniter 4 for API development with Shield authentication, creating a model with Spark and performing insert, update, delete, and select operations on the employees table.
Learn how seeding works in CodeIgniter 4 by creating a seeder with spark, using faker to generate 100 records, and seeding the employees table.
Explore how to configure application routes in CodeIgniter 4 using routes.php, map get, post, put, and delete methods, and implement method spoofing to handle non-get form requests.
Learn how to create a route group in CodeIgniter by prefixing routes with api and organizing them in routes.php, then test get, post, put, and delete with Postman.
Explore route namespaces to manage admin and sailor routes with separate folders and prefixes, and connect routes to properly namespaced controllers in CodeIgniter 4.
Create and register a filter in CodeIgniter 4 to validate HTTP requests, protect routes, and use session-based login/logout to control access.
Develop CodeIgniter 4 APIs in phase one without authentication, creating a students table and five endpoints: add, list, details, update, and delete, using post, get, put/patch, and delete requests.
Create a migration to build a students table with id, name, email, phone, and profile_image, using CodeIgniter 4 forge methods and primary key with auto-increment.
Set up a restful api controller and a student model in CodeIgniter 4, implementing add, list, single, update, and delete methods within an api folder and defining fields.
Create and validate an add student API in CodeIgniter 4 with Shield authentication, handling name, email, phone, and profile image, and save to the students table.
Test the add student API in a CodeIgniter 4 project using shield authentication, validating form data, uploading profile images, saving to the student model, and handling responses with Postman.
CodeIgniter 4 API development using shield authentication demonstrates a list students API. A get request calls list-students, uses the student model's findAll, and returns 200 with data.
Create a single student details API in CodeIgniter 4 by reading id from the URL, using the student model’s find, and returning 200 with data or 404 not found.
Build and secure an update student data API in CodeIgniter 4 using shield authentication, validating input, handling put requests, optional image uploads, and precise success or error responses.
Develop the delete student API in CodeIgniter 4 with shield authentication, validate the ID via find, delete when found, and return 404, 200, or 500 responses.
Develop secured API endpoints in CodeIgniter 4 using sealed authentication. Create user registration and login that issue a token, then access profile, logout, and project APIs tied to the token.
Install the shield authentication package in a CodeIgniter 4 project via composer, run spark setup to generate author.php and auth_groups.php, and update routes and migrations.
Create a migration file to build the projects table in CodeIgniter 4 API development using shield authentication, defining id, user_id, title, and budget, and migrate the table to the database.
Create two API controllers in CodeIgniter 4 with sealed authentication: auth for register, login, profile, and logout; project for user-owned projects, with a project model of user_id, title, and budget.
Define and secure CodeIgniter 4 API routes using Shield authentication, configuring the API prefix, namespace, and controllers for register, login, profile, logout, and project CRUD operations.
Create a register API in CodeIgniter 4 using Shield authentication, validating username, email, and password, enforcing unique constraints, saving with a user entity and model, and returning a structured response.
Learn to implement a login API in CodeIgniter 4 using sealed authentication, validate email and password, authenticate the user, generate an access token, and return it for protected routes.
Create an API auth filter in CodeIgniter 4 using Shield authentication to protect routes, check login with an auth helper, and enforce bearer token authorization for API access.
Build a protected profile API in CodeIgniter 4 using Shield authentication. Retrieve the logged-in user by token and return their data at api/profile via the authorization header.
Create logout API in CodeIgniter 4 using Shield authentication by destroying the user token and revoking all access tokens, ensuring protected routes require login.
Learn to build a protected add project API with Shield authentication, validating title and budget, retrieving the logged-in user id from the token, and inserting a new project record.
Learn how to create a list projects API in CodeIgniter 4 using shield authentication, retrieving the logged-in user's projects via an auth token in the authorization header.
Build a protected delete project API in CodeIgniter 4 using shield authentication, validating user id from the token and project id from the URL before deletion.
Learn to handle cross-origin requests in CodeIgniter 4 APIs using Shield authentication by creating a course filter with CORS headers and registering it in app config.
Learn CodeIgniter 4 APIs development using sealed authentication, from basic concepts to RESTful services, with authentication helpers and phase two security.
We will learn the complete idea to develop a CodeIgniter 4 RESTful APIs Development Using Shield Authentication. Basic Experience in CodeIgniter programming required like working of MVC. Learn practical skills of APIs Development in CodeIgniter 4 with mysql database driver.
Begin your journey of RESTful APIs Development Using Shield Authentication with MySQL database driver here.
If you have just decided to learn CodeIgniter 4 APIs development Using Authentication then you have made the right choice, so take a breath. RESTful APIs Development is very easy to learn which means that you will be through the basics and on to writing standard code to create RESTful Web APIs in a very short time.
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.
These are things you will learn step by step –
Basics of CodeIgniter 4.
Concept of Route, Controller, Migration, Seeders, Filters, Route Group & Namespace.
Complete concept of Authentication in CodeIgniter 4.
API Development without using authentication.
API development guide with live code session with Shield.
API development plans while creating application structure.
About Shield basics and its structure.
API Error handling by using filters.
About Response & HTTP Code
Difference between API Development using Authentication and without any authentication.
API Development Configuration.
Shield package Installation with Complete details.
About Filter and their use.
Process of API and their strategy of development.
This course is for every level. For beginners, it will be very perfect to enroll and learn development in very easy steps with detailed concept.