GithubHelp home page GithubHelp logo

rahbr / codeigniter-pack Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yidas/codeigniter-pack

0.0 1.0 0.0 10 KB

Codeigniter 3 complete solution pack with enhanced & modern framework extensions

License: MIT License

codeigniter-pack's Introduction

CodeIgniter 3 Framework Pack


Codeigniter 3 complete solution pack with enhanced & modern framework extensions

Latest Stable Version License

Codeigniter 3 is a great PHP framework with lite portability and high performance, but nowadays it is not so powerful and lacks of design pattern. There are still many maintenance requirements, even suitable development scenario for CodeIgniter 3, so this framework pack provides a total solution to enhance and modernize CodeIgniter 3 with collection of helpful extensions.


OUTLINE


REQUIREMENTS

This library requires the following:


INSTALLATION

Run Composer in your CodeIgniter project under the folder \application:

composer require yidas/codeigniter-pack

Check CodeIgniter application/config/config.php:

$config['composer_autoload'] = TRUE;

You could customize the vendor path into $config['composer_autoload']


EXTENSIONS

PSR-4

ORM Model

RESTful API

Widget

Unit Test

Queue Worker


CONFIGURATION

The necessary configurations of the extensions are below:


BEST PRACTICE

Server Environment

Codeigniter 3 server configuration for Nginx & Apache

Application BaseUrl Setting (Set / base for base_url at least)

Application Structure

Codeigniter3/
├── application/            CI app root
    ├── cache/              CI cache
    ├── config/             CI app configurations
    ├── contracts           PSR-4 Contracts (ex.Interfaces)
    ├── controllers/        CI app controllers
    ├── core/               CI app level core extension
    ├── helpers/            PSR-4/CI helpers (Recommended to use PSR-4 only)
    ├── hooks/              CI app hooks
    ├── language/           CI app language
    ├── libraries/          CI app components (One time loading)
    ├── logs/               CI app logs
    ├── models/             CI app models (ORM/Active-Record entities)
    ├── presenters/         PSR-4 Presenters
    ├── services/           PSR-4 Services
    ├── third_party/        CI app third party
    ├── vender/             Composer vendor
    ├── views/              CI app views
        └── controller-name/    Each controller has it own view folder
            └── action.php      Each controller action has it own view file
    └── widgets/            PSR-4 Widgets
├── assets/                 Public assets
└── system/                 CI Framework system

codeigniter-pack's People

Contributors

yidas avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.