2017 © Pedro Peláez
 

library codeigniter-service-layer

A simple service layer for CodeIgniter

image

nltbinh/codeigniter-service-layer

A simple service layer for CodeIgniter

  • Thursday, March 16, 2017
  • by nltbinh
  • Repository
  • 2 Watchers
  • 4 Stars
  • 168 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 5 Versions
  • 13 % Grown

The README.md

CodeIgniter Service Layer

If you're too lazy to create your own service class, use this. =) (Sorry for by bad English), (*1)

INSTALL

If you're using Composer

composer require nltbinh/codeigniter-service-layer
php vendor/nltbinh/codeigniter-service-layer/install.php

If you're not using composer

Download and override this project to your CodeIgniter project, (*2)

USAGE

  1. Install this project
  2. Create an Service in \application\services\ with file name Sample_service.php
<?php

class Sample_service extends MY_Service
{
    public function hello_world()
    {
        return "Hello world";
    }
}
  1. Use service is the same as Model in Controller
$this->load->service('sample_service', '', TRUE);

The Versions

16/03 2017

dev-master

9999999-dev

A simple service layer for CodeIgniter

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Nguyen Luu Thanh binh

16/03 2017

1.0.3

1.0.3.0

A simple service layer for CodeIgniter

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Nguyen Luu Thanh binh

16/03 2017

1.0.2

1.0.2.0

A simple service layer for CodeIgniter

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Nguyen Luu Thanh binh

16/03 2017

1.0.0

1.0.0.0

CodeIgniter service layer

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Nguyen Luu Thanh binh

16/03 2017

1.0.1

1.0.1.0

CodeIgniter service layer

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Nguyen Luu Thanh binh