Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Learn CodeIgniter 4 API Development Using JWT Authentication
Rating: 4.4 out of 5(46 ratings)
240 students

Learn CodeIgniter 4 API Development Using JWT Authentication

Complete API Development Guide Using Basic, JWT Authentication Tutorials
Last updated 12/2022
English

What you'll learn

  • CodeIgniter 4 API Development Steps
  • Working with Basic Authentication in CodeIgniter 4
  • JWT Authentication Implementation in API Development
  • APIs Development without any authentication
  • Complete Guide for API Handling in CodeIgniter 4

Course content

4 sections50 lectures7h 37m total length
  • What we will learn?4:17

    This lecture introduces the basics of CodeIgniter 4 api development, covering installation, controllers and views, database connections, migrations, and query builder, then adds basic and jwt authentication.

  • CodeIgniter 4 Setup Installation13:27

    Install CodeIgniter 4 using composer or download, rename the env file to .env, set development mode for debugging, adjust permissions to 777, and start the built-in server with spark serve.

  • Understand Application Default Landing Page5:21

    Explore configuring the default landing page by tracing the default route to the home controller index method and its view file.

  • About PHP Spark CLI10:57
  • Create First Program4:56

    Set up a CodeIgniter 4 project and start the development server. Create the about page with a static message, and configure routes to render the contact us view.

  • Database Connectivity with Application7:33

    Create a database and connect it to the application by configuring hostname, database name, username, and password with the MySQL driver, using default and second connection groups and anticipating migration.

  • What is Migration & How to Use it ?16:30

    Learn how migrations in CodeIgniter 4 automate database schema changes by creating migration files, applying up and down methods, and tracking progress with migrate status and refresh commands.

  • How To Use Query Builder?16:23

    Learn how to use the query builder in CodeIgniter 4 to perform insert, insert batch, update, delete, and select queries using a DB instance and table builder.

  • How to Work with Models?14:19

    Explore how to use a model in CodeIgniter 4 to connect your app with the database, perform insert, update, delete, and select on the users table with mass assignment.

  • What is Seeder & How to use it?12:41

    Learn how to create a seeder in CodeIgniter 4, generate dummy user data with the Faker library and a factory, and populate the users table via php spark db:seed.

  • What are Route Methods?13:56

    Explore get, post, put, and delete request types and how to map them to controller methods and routes, including method spoofing.

  • What is a Route Group?10:29

    Learn how route groups attach a common prefix to a set of API endpoints, then define create, list, delete, and update routes under a site controller to keep code neat.

  • About Route Namespace & Usage11:51

    Explore route namespaces and groups in CodeIgniter 4 to organize admin and user modules under dedicated folders, mapping namespaces to controllers and methods with group rules.

  • Complete basics of Filters & Why we use it?16:32

    Learn how filters secure routes in CodeIgniter 4 by using before and after methods, checking login status, redirecting unauthenticated users, and registering filters with aliases for protected routes.

Requirements

  • Beginners knowledge of CodeIgniter framework & its about MVC pattern
  • Beginners knowledge of Databases

Description

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.


  1. Basics of CodeIgniter 4.

  2. Concept of Route, Controller, Migration, Seeders, Filters, Route Group & Namespace.

  3. Complete concept of authentication types in CodeIgniter 4.

  4. API Development without using authentication.

  5. CodeIgniter 4 Basic authentication.

  6. API development guide with live code session with jwt.

  7. API development plans while creating application structure.

  8. About JWT basics and its structure.

  9. JWT API development tutorials.

  10. API Error handling by using filters.

  11. About Response & HTTP Code

  12. Relationship in API development with JWT

  13. Difference between API Development in Basic auth & JWT auth

  14. API Development Configuration.

  15. JWT package Installation with Complete detail.

  16. Installation & Configuration of JWT in CodeIgniter 4 application.

  17. About Filter and their use.

  18. 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.

Who this course is for:

  • Beginner/Intermediate/Expert CodeIgniter PHP Framework Learners
  • PHP framework lover