30+ Awesome CodeIgniter Tutorials for all Skill Levels

30+ Awesome CodeIgniter Tutorials for all Skill Levels

CodeIgniter is a fantastic framework, which caters to beginners, power users and everyone in between. As the best web development source on the web, we’ve taken it upon ourselves to provide extensive tutorials and screencasts on the subject. Today, we’ll take a look at over 30 of our most awesome CodeIgniter tutorials.


How to Build a Shopping Cart using CodeIgniter and jQuery

CodeIgniter is an open source PHP web application framework with a lot of features. Recently, thanks to the latest update, a new feature was added to this framework, called the Cart Class. In this tutorial, we’re going to take advantage of this new class, and write a shopping cart system, with a touch of jQuery added in.

Visit article


Create a Jobs Board With CodeIgniter: Premium Tutorial

In this two-part series, we’ll be creating a basic ‘Jobs Board’, similar to “FreelanceSwitch Jobs” and “Smashing Jobs”, using the CodeIgniter PHP framework. Sign up!

Visit article


How to Create a Config Variables Loader in CodeIgniter: Premium Tutorial

In this tutorial,, we’re going to build a config loader that automatically loads all of your important site variables and makes them available globally.

Visit article


Easy Development With CodeIgniter

In this week’s 30 minute screencast, I’m going to show you how easy it is to work with the MVC pattern and CodeIgniter. This video is aimed at beginners who have no experience with a PHP framework.

Visit article


How to Sell Digital Goods with CodeIgniter: Premium Tutorial

In today’s tutorial, you’ll learn how to create a small web app to sell digital items (eg. eBooks) securely and accept payments from PayPal. Become a Premium member to read this tutorial, as well as hundreds of other advanced tutorials and screencasts.

Visit article


How to Create a Layout Manager with CodeIgniter: Premium Tutorial

This Premium video, and companion article will teach you how to create a simple, yet powerful library to handle layouts. The library you’ll create will allow you to maximize your efficiency and save time.

Visit article


6 CodeIgniter Hacks for the Masters

CodeIgniter is a simple and powerful open source web application framework for PHP. Today, we’ll do some core “hacks” to this framework to change and improve its functionality. In the process, you’ll gain a better understanding of the intricacies of CodeIgniter.

Visit article


Build an RSS 2.0 Feed with CodeIgniter

In this tutorial, we will build a RSS 2.0 Feed with the PHP framework CodeIgniter. After this tutorial, you will be able to build a feed for any custom website in no time at all.

Visit article


Basecamp Style Subdomains With CodeIgniter

CodeIgniter is a simple and lightweight PHP framework used to create powerful web applications. Today, we are going to do something nifty: we’ll combine user names and subdomains to make for a more cohesive user experience.

Visit article


Working with RESTful Services in CodeIgniter

CodeIgniter is becoming well known for its power as a PHP based web application framework, but it’s not often that we see examples of it being used for anything else. Today we’ll learn how we can use CodeIgniter to create a RESTful API for your existing web applications, and demonstrate how to interact with your own API or other RESTful web-services.

Visit article


Everything You Need to Get Started With CodeIgniter

CodeIgniter is a web application framework for PHP. It enables developers to build web applications faster, and it offers many helpful code libraries and helpers which speed up tedious tasks in PHP. It’s based on a modular design; which adds to the speed of the framework. This tutorial will attempt to show you the basics of setting up the framework.

Visit article


Creating a File Hosting Site with CodeIgniter

I have seen a few introductory tutorials for Codeigniter, and was hoping to show you something a little more advanced. This tutorial will show you how to build a powerful web application for hosting images, using the flexibility of Codeigniter. This tutorial should teach you about the MVC coding philosophy, integral to producing serviceable applications.

Visit article


How to Update your Twitter Status with CodeIgniter

Hi, in this tutorial we will update our twitter status via the ‘Twitter API’ using CodeIgniter. I recommend following step by step, rather than glossing over the tutorial. Let’s dig in!

Visit article


Create a Contact Manager – Premium Tutorial

In this three-part series – in depth tutorials + two hour screencast – we’ll be creating a contact manager using jQuery and CodeIgniter. As more and more applications are moving towards the hive, web developers & designers alike are required to learn more and more about how to design “desktopesque” projects.

Visit article


From CodeIgniter to Ruby on Rails: A Conversion

Today, we’ll be creating a simple shoutbox using the CodeIgniter PHP framework. We’ll then port this exact application, piece-by-piece, to Ruby on Rails!

Visit article


CodeIgniter From Scratch: Day 1

After numerous requests, today we are launching a new screencast series on Nettuts+ that will focus exclusively on the CodeIgniter PHP framework. Over the course of about 10 videos, I’ll teach you exactly how to use this framework. Ultimately, we’ll work our way up to building a custom CMS. Without further ado, here’s day one!

Visit article


CodeIgniter From Scratch: Day 2

Continuing on from day 1, today, I’ll teach you five different ways to write select statements for your database. If you haven’t watched the first entry in this video series, don’t worry; each video can function on its own as a single tutorial. Having said that, I highly recommend that you watch each screencast.

Visit article


CodeIgniter From Scratch: Day 3. Sending Emails

At the request of some of our readers, this week, we’ll examine just how easy it is to send emails with attachments using Gmail. With raw PHP, this would be a long and tedious task. However, with CodeIgniter, it’s a cinch! I’ll show you how in this eighteen minute video tutorial.

Visit article


CodeIgniter From Scratch: Day 4 – Newsletter Signup

Continuing on from Day 3, we’ll expand our little application into a simple newsletter signup form. This will allow us to taker a closer look at both the email and the form_validation classes. Learn it all in this 30 minute screencast.

Visit article


CodeIgniter From Scratch: Day 5 – CRUD

The most requested tutorial for day five of our CodeIgniter screencast series was for an introduction to CRUD operations. We’ll review how to easily create, read, update, and delete records using CI’s active-records class.

Visit article


CodeIgniter From Scratch: Day 6 – Login

In today’s hour long video tutorial, we’ll be doing a lot! We’ll implement a login and signup form that will allow us to lock down certain sections of our fictional site. As you’ll find, working with sessions in CodeIgniter is a cinch!

Visit article


CodeIgniter from Scratch Day 7: Pagination

In these last two weeks, I’ve received bunches of requests for a CodeIgniter pagination screencast; so that’s what we’ll be reviewing today! As a bonus, we’ll also take a look at the super convenient HTML Table class.

Visit article


CodeIgniter from Scratch: Day 8 – AJAX

The CodeIgniter from Scratch series was unexpectedly, and significantly popular. Today, I’m pleased to announce that, with the help of one of my best authors, Burak, we’ll be continuing the series! Additionally, the most often requested topic is the subject for today’s screencast: combining CodeIgniter and jQuery.

Visit article


CodeIgniter from Scratch: File Uploading and Image Manipulation

In lesson nine of our CodeIgniter series, we’ll build a small image gallery that allows you to upload files, and automatically create thumbnails.

Visit article


CodeIgniter from Scratch: The Calendar Library

In this tenth episode of the CodeIgniter From Scratch screencast series, we will be exploring the Calendar library. We are also going to utilize the database class and jQuery AJAX. I will show you how to build a simple and CSS-styled calendar page, which will have the ability to store and display content for each day.

Visit article


CodeIgniter from Scratch: File Operations

In today’s episode, we are going to be working with several helper functions, related to files, directories, and downloads. We are going to learn how to read, write, download files, and retrieve information about both files and directories. Also at the end we will build a small file browser that utilizes jQuery as well.

Visit article


CodeIgniter from Scratch: Shopping Cart

Today, we are going to take a look at the Shopping Cart library for CodeIgniter. This useful class allows us to add and remove items to a shopping cart, update them, and calculate prices. I will demonstrate how you can build a simple shopping cart system with the help of this library..

Visit article


CodeIgniter from Scratch: Extending the Framework

In today’s screencast we are going to learn how to create our own helpers and libraries. We are also going to learn how to extend the existing helpers and libraries that come with CodeIgniter. At the end of the tutorial we will extend the Form Validation library to give it the ability to check for password strength.

Visit article


CodeIgniter from Scratch: Security

In this fourteenth episode of the series, our subject is ‘Security.’ We will go over topics such as: password encryption, message encoding/decoding, XSS filtering, output filtering, sql injection, session security, private controller methods and more.

Visit article


CodeIgniter from Scratch: Profiling, Benchmarking & Hooks

In this 15th episode of the series, we are going to learn about three subjects: Profiling, Benchmarking and Hooks. You can use these tools to analyze your CodeIgniter applications performance, and figure out what part of the code you need to optimize. We are also going to make even further improvements to the Profiler library to suit our needs.

Visit article


CodeIgniter from Scratch: Displaying & Sorting Tabular Data

In today’s video tutorial, we are going to use CodeIgniter to pull information from a database and display it in a sortable table structure. This is a quite common task, especially inside admin areas, for displaying database records. We’ll be utilizing a few different utilities, such as the active records library and pagination.

Visit article


Conclusion

We’ve worked incredibly hard over the last year to provide the CodeIgniter community with, what we consider, to be the best single source for tutorials and screencasts available on the web. That being said, are there CodeIgniter topics that we haven’t yet covered? What tutorial on the subject would you like to see next?

Rafael Soto is faelsoto on Codecanyon
Note: Want to add some source code? Type <pre><code> before it and </code></pre> after it. Find out more
  • http://crossover-it.ch ihkawiss

    Very nice collection! Thanks.

  • http://www.rebatesense.com RebateSense

    That was pretty comprehensive. Nice to just bookmark just one page when it comes to CI on NetTuts. May be you should keep updating this page when more CI tuts get published.

    • http://swapnilsarwe.phpnet.us/ Swapnil Sarwe

      I agree. Wonderful collection of tutorials. Easily accessible now from 1 link.

  • http://crossover-it.ch ihkawiss

    The article “How to Update your Twitter Status with CodeIgniter” is out of date! Currently you need to authenticate through OAuth to use the Twitter API.

    • http://www.meditationsonlife.com John

      I was going to say the same thing.

      I think a tutorial on Codeigniter and OAuth using the Twitter API CodeIgniter Library by Elliot Haughin would be really useful. Maybe I will write it if I can find the time.

  • http://www.tagaliciousapp.com Bart

    This post arrives at just the right time. I’ve watched most of the CodeIgniter from Scratch videos and am getting up to speed with CI. Thanks for the roundup!

  • Sahan

    Thanks for the round up, Now I dont have to search the site every time :)

  • Alf W. Olsen

    Can you pleace make more CI tutorials ? :)

  • Ben

    You’ve done it again guys! Thanks!

  • http://javedweb.com/ Javed Gardezi

    Nice post all in one page.. I have seen almost all of them and they are pretty awesome…!!

  • simon

    the substr(); dont work with codeigniter, then i try it put my right div container on the bottom of my content :S

    • http://labor8.eu Vot

      substr() certainly does work with CI, I’m using it in many places. Check your code mate :D

  • http://www.jsxtech.com Jaspal Singh

    I love CodeIgniter.
    Thanks for sharing.

  • Vic

    Awesome…

  • http://www.tutoriallounge.com Tutorial Lounge

    useful collection you sharing. thanks

  • Przemek

    Super, Thanks.
    More Codeigniter examples :)

  • http://ufomuffin.com Alex

    I actually decided to go for CodeIgniter after I saw the inclination from nettuts. Know I understand why, the community support is massive, similar to jquery

  • Andres

    Bookmarked!

  • jamnik

    What tutorial on the subject would you like to see next?

    Simple :) :

    - website with backend ( admin levels)
    - codeigniter + cgi
    - codeigniter + joomla
    - codeigniter in complete website build (includiung backend and data in mysql and files)
    - codeigniter + paymentgateway (paypal,moneybookers, dotpay, googlecheckout)
    - codeigniter + MSSQL +MySql
    - codeigniter + the best way to make app secure
    - building site for mobile devices with codeigniter
    - building few sites on fre servers with codeigniter

    And some more, however this is the most popular pack of issues I have met with.

    • http://www.permanaj.net Permana Jayanta

      I agree with you .. and I think “codeigniter + paymentgateway (paypal,moneybookers, dotpay, googlecheckout)” is really an important one ..

    • http://www.tomsyweb.com Tomsy Web

      codeigniter + joomla

    • Martin

      - codeigniter + the best way to make app secure
      - building site for mobile devices with codeigniter

  • http://www.buzz-webdesign.co.uk Buzz

    Great collection and really useful bookmark for me as I’m just starting out with CodeIgniter

  • http://www.jquerking.com jqueryking

    Excellent Articles on code igniter. Building a shopping car tutorial was my fave!!!! Cheers Tuts gang!

  • Brad

    This series has been a godsend to fill in the blanks for us that the codeigniter documentation doesn’t tell you. Not that the documentation is bad, its very good. But there are things I never would have figured out without these tuts

  • Rafa

    I would like learn how to work CI with ORM , maybe Doctrine.

    Thanks

  • Bart

    If possible I would like to see more of this in 2011

    - CodeIgniter + (Free)RADIUS authentication ( get admin/normal-user/guest out of the extra params)
    - CodeIgniter + MS AD / LDAP ( get admin/normal-user/guest out of the the existance of some groups for this user)
    a.k.a. for intranet usage where you don’t control the access control

    - CodeIgniter + 6..8 MySQL databases + troubleshooting (is there an easy way to save all non select queries to a logfile)

    Thanks

  • Victor

    HOLY GOD ALMIGHTY!!!

    THIS WEBSITE CAME STRAIGHT FROM HEAVEN…

    For all the people who work in these tutorials and the website owners…

    THANKS!!!

    this is the best tutorials website ive ever seen!!!

  • http://www.queueinspiration.com raz_bla

    Very nice tutorial
    with this tutorial i can easily improve my skill on code igniter

    thank you very much

  • http://rizwanali.in RizwanAli

    Can you guys make a tutorial how to work with modules and how to create sub categories

  • http://eriklharper.jigsy.com Erik

    I would like to see a video on creating custom Blog and Pages functionality. For most web apps, there needs to be a few pages that are just simply HTML that display content as in a traditional CMS. If you could go over how to use CodeIgniter’s libraries to create functionality that allows content editors to come in and edit static pages as well as post content in a time-based fashion like a blog that would be excellent. Every one of these videos is great, keep up the good work!

  • Alex

    It would be nice to see some updates to the existing tutorials to show how to adapt existing code to CodeIgniter 2.0, since there are some fairly large sea changes in the coding, and since PHP 4 is being phazed out.

  • http://www.yahho.com bakul trasi

    I don’t know if these tutorials work well….

  • Aladin

    Hello,
    Thank you VERY much for this awsome work you’ve done, but I’d like to see a tutorial for creating a blog (not very basic) with categories…etc. It would be awsome!

  • Ashesh

    Awesome!! thanks. This is what I was exactly looking for

  • http://www.purple5.biz Promotional Merchandise

    Great post. Really useful tutorials. Thank you!

  • bird

    aha,that’s great….

  • http://g-land.info G-land Surf Forecast

    thank; for information this is good for me, to my website me

  • Sanjeev

    Hi,

    This is very nice collection. I like your collection its very help full to me.

    Sanjeev Vishwakarma.

  • http://www.tomobuddy.com tomobuddy

    Nice collection
    Thanks for sharing :)

  • http://www.technew.in technew.in

    thank u very much !

    ##################

    TechNew.In

    All In One Tech Website

    http://www.technew.in

    Join Now ! Bookmark & Visit Daily For Updates !

  • a fan

    I loved these tutorials and learned so much from them. However one problem boggles my mind since I’m not very good with mySQL and the way -I- would do it, wouldn’t work too well with the way mysql works. So my question is…

    I have two tables. articles, and votes. Articles contains all of the information about the article, and votes contains the information of what article the vote was placed, and by whom. (obviously I’m omitting a lot of data to keep it simple).

    How could I figure out what’s the most voted article during the week? Think of something like digg’s best article or something.

    How I did mine (not very good): I added the column “votes” inside the article’s table. When the user votes, it updates the article with +1 votes AND adds a new entry in the votes table (and of course checks if it has been posted within the past week and sorts it accordingly with a limit of 1). The reason for the votes table is to determine if the user had voted before so they can’t vote again. However the deeper purpose is so that one day, when a valid solution is presented, it could serve as the table that sums the votes.

    I hope someone can help me with this, it’s a bother and I couldn’t find a good enough answer relating to codeigniter. Thank you!

  • http://www.leprimepagine.com prime

    very useful, thanks.

  • http://www.code2learn.com Farhan Khwaja

    A great post. I am a beginner in CodeIgniter, but here a my tutorial on Generate PDF FIles using CodeIgniter.

    Thank You.

  • Gagan

    Can we have a tutorial on using openID with CI??

  • Animesh Shrestha

    A list of helpful codeigniter tutorials. Love them. Thanks.

  • http://www.bigswebdesign.co.uk stewart

    Thank you, great tutorials. More of this please.

  • http://bit.ly/ci-tutorial Arunoda

    Yes, This is a awesome set of collection.
    If someone needs to learn codeigniter from the beginning in a structured way, try to take my course – http://www.udemy.com/codeigniter-learn-it-correct/

    Or

    You can take my free course on youtube – http://www.youtube.com/watch?v=aOtDzuyBqqM&list=PLA81C68F3BB3AE307

  • Ekta Jain

    Thanks for sharing such a great tutorials. It really helped me a lot in CodeIgniter development.

  • mohon

    Just say

    Thanks a lot ………………………

  • joostvanveen

    And there’s a new one up on Tutsplus: https://tutsplus.com/course/build-a-cms-in-codeigniter/

  • Edvinas

    do a tutorial on survey that allows the user add questions

  • Rana

    Nice list of tutorials. I have read several of them and they are really well written. I have also tried myself to cover some other specific area by writing a series of codeigniter tutorials on my blog. Check them out if you wish.

  • herald

    can i have examples for paypal subscription with codeigniter