Welcome Guest, Not a member yet? Register   Sign In
Is CodeIgniter 3 died?
#3

I am still working with it (for over 10 years now) and I must say since version 3.1.10 and the ability to auto load composer I have discovered a complete new world that can be included in CodeIgniter version 3 as well. I have just integrated the Luthier CI routing and middleware package and developed a composer based package including input validation based on respect validation. I developed this originally for the Slim framework but have adapted to CodeIgniter. Yesterday I developed another composer package with model mapping, where records from CodeIgniter can be mapped and easily used based on mapping, aliases and callback functions. So even CodeIgniter 3 can be easily extended with composer packages.

This is my composer.json:
Code:
{
  "license": "MIT",
  "require": {
    "kint-php/kint": "^2.1",
    "kint-php/kint-js": "^1.1",
    "luthier/luthier": "v1.0.5",
    "respect/validation": "1.1.29",
    "enovision/ci-dependencies": "dev-master",
    "enovision/ci-html-wrapper": "dev-master",
    "enovision/ci-http": "dev-master",
    "enovision/ci-model-map": "dev-master"
  },
  "repositories": [
    {
      "type": "path",
      "url": "vendor.development/enovision/ci-http"
    },
    {
      "type": "path",
      "url": "vendor.development/enovision/ci-html-wrapper"
    },
    {
      "type": "path",
      "url": "vendor.development/enovision/ci-dependencies"
    },
    {
      "type": "path",
      "url": "vendor.development/enovision/ci-model-map"
    }
  ],
  "autoload": {
    "psr-4": {
      "App\\": "",
      "Middleware\\": "middleware/",
      "App\\Models\\": "models/map/"
    }
  }
}

This file should be in the root of the "application" folder.
The App namespace is the application folder itself.
The App\Models is in the "application\models\map" folder.

I also created a "vendor.development" folder in the same "application" folder.
There I develop my own packages as repositories, which will be automatically soft linked by composer.

In short, although version 3 looks rusty, it still has solid steel beneath that surface. My motto based on over more that 30 years of development is that if it works solid, secure and reliable and does it what is should do, it must be right. And that is what CodeIgniter still manages for me. It is not the framework that makes the syntax great, it is the developer.

But I can't wait to have CodeIgniter 4 finished, but that will be a whole different ballgame than CodeIgniter 3.
Reply


Messages In This Thread
Is CodeIgniter 3 died? - by HalimDev - 12-03-2018, 12:04 PM
RE: Is CodeIgniter 3 died? - by ciadmin - 12-03-2018, 03:22 PM
RE: Is CodeIgniter 3 died? - by jvandemerwe - 02-06-2019, 12:19 AM
RE: Is CodeIgniter 3 died? - by MelWood - 02-20-2019, 11:45 PM



Theme © iAndrew 2016 - Forum software by © MyBB