gccloud/model

CodeIgniter 3 Model extension, working with maltyxx Origami package (see https://github.com/maltyxx/origami)

Installs: 6 760

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 1

Forks: 1

Open Issues: 0

Type:codeigniter-third-party

v2.0.11 2021-03-17 15:23 UTC

README

CodeIgniter 3 Model extension, working with maltyxx Origami package (see https://github.com/maltyxx/origami)

Requirements

  • PHP 5.4.x (Composer requirement)
  • CodeIgniter 3.0.x

Step 1 : Installation (by Composer)

Option 1 : Run composer

composer require gccloud/model

Option 2 : or edit /composer.json

{
    "require":
    {
        "gccloud/model": "1.1.*"
    }
}

And then run composer update

composer update

Step 2 : Add it to CodeIgniter

Create core file in /application/core/MY_Model.php.

<?php

defined('BASEPATH') OR exit('No direct script access allowed');

require(APPPATH.'/third_party/model/MY_Model.php');