__remap() Function in CodeIgniter 4 | Method Remapping

$ composer create-project codeigniter4/appstarter codeigniter-4

CodeIgniter __remap() Method

Syntax

public function _remap() {          // Some code here... }

__remap() Method — Example

URL

http://localhost:8080/index.php/site/index
ORhttp://localhost:8080/site/index
  • Controller — Site
  • Method — index

--

--

--

Online Web Tutor is web development community found by Sanjay Kumar. It provides web development course for free worldwide by professionally trained instructors

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Managing Docker containers. 🐳

ChainPort is Now Audited by CyberUnit Technologies

Products and Platforms

Dashbird launches a new version for a smoother serverless observability experience

Lean Podcast #391 — Mary and Tom Poppendieck on #Lean Software & More

Debug your Web Application in Mobile like a PRO.

Test-driven development with Golang

Snowflake : To fetch all users and their associated roles without using ACCOUNTADMIN privileges in…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Online Web Tutor

Online Web Tutor

Online Web Tutor is web development community found by Sanjay Kumar. It provides web development course for free worldwide by professionally trained instructors

More from Medium

How To Add Input Mask Using JQuery Tutorial

XAMPP — MySQL shutdown unexpectedly

How to Create login, register, and logout manually in laravel.

Export Buttons In Datatable