DEV Community

Cover image for Build Your First Application With Codeignter - 1
Precious Oladele
Precious Oladele

Posted on

2 2

Build Your First Application With Codeignter - 1

Build Your First Application

Overview

This tutorial will cover the basics of Codeignter4 framework and the basics principle of MVC

Codeignter4 is built on top PHP so you must have a basic understanding on PHP before diving in.. So basically we are gonna be building a crud system in CI4(Codeignter4). CRUD(Create Read Update Delete)

In this post we will cover installation

CI4 can be installed in 2 ways

  1. Manual Installation
  2. Composer Installation but we will be looking at manual installation.

To install manually all you need is to head over to github and download CI4

Extract and keep in a folder

Next we open terminal and cd into the folder directory

Then in the terminal type php spark serve

And you should be having this

Cmd

Now open up your browser and type in the link CI4 gave you http://localhost:8080

And you should be having this.
Alt Text

Voila ๐ŸŽ‰๐ŸŽ‰ now we have CI4 running... So next we will take a look at the File Structure!.

Comment if you have any question.

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

Top comments (0)

The best way to debug slow web pages cover image

The best way to debug slow web pages

Tools like Page Speed Insights and Google Lighthouse are great for providing advice for front end performance issues. But what these tools canโ€™t do, is evaluate performance across your entire stack of distributed services and applications.

Watch video

๐Ÿ‘‹ Kindness is contagious

Please leave a โค๏ธ or a friendly comment on this post if you found it helpful!

Okay