Download the PHP package nguyenanhung/codeigniter-framework without Composer
On this page you can find all versions of the php package nguyenanhung/codeigniter-framework. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nguyenanhung/codeigniter-framework
More information about nguyenanhung/codeigniter-framework
Files in nguyenanhung/codeigniter-framework
Package codeigniter-framework
Short Description The CodeIgniter Framework - v3.2.0
License MIT
Homepage https://codeigniter.com
Informations about the package codeigniter-framework
CodeIgniter v3.2.x - vendor packages build
Repackaged version of CodeIgniter's system framework, compatible with Composer and PHP 7, PHP 8
Since version v3.2.0
- the framework is fully compatible with PHP 8.2
This package is constantly updated with new features from the original CodeIgniter3 branch. So it is always updated with bug fixes and added new features
Main features
Added some extension libraries, related helpers
- [x] Base Controllers with many available protected methods
- [x] Support HMVC model
- [x] Support RESTful Web Service
- [x] Support Queue Worker
- [x] Support MongoDB database
- [x] Support Elasticsearch: Use third party packages
"elasticsearch/elasticsearch": "^8.0 || ^7.0 || ^6.0 || ^5.0"
- [x] Support Base Model class with some basic functions enough for SQL
- [x] Support ORM Model class, providing a simpler and easier method to query
- [x] Support Output Response on CLI interface via function
ResponseOutput::writeLn($message)
- [x] Added
StatusCodes
class to declare standard HTTP codes (from Symfony framework), For example:StatusCodes::HTTP_OK
. For more details, please refer to classStatusCodes
- [x] Add many useful helpers with the built-in package
nguyenanhung/codeigniter-basic-helper
via Composer
Instructions for installing packages into the project
-
Install the package into the project with the following command
- Update the
index.php
file
Find the line
Edit as follows
- Delete the
system
folder in the project root folder for neatness
User guide
Instructions for writing a Controller that inherits a Base Controller
In the library, there is a built-in Base Controller, inherit as follows
- Build a new
Controller
according to the CodeIgniter 3 documentation - Inherit the class from
HungNG_CI_Base_Controllers
instead ofCI_Controller
, for example as follows
Instructions for writing a Controller that runs a Queue Worker
In the library, there is a built-in Base Queue Worker (built by yidas), inherit as follows
- Build a new
Controller
according to the CodeIgniter 3 documentation - Inherit the class from
HungNG_CI_Base_Queue_Worker
instead ofCI_Controller
, for example as follows
Learn more details in the documentation here: https://github.com/nguyenanhung/codeigniter-framework-sample/tree/main/codeigniter-queue-worker
Instructions for writing a Controller to run RESTful API Service
In the library, there is a pre-built RESTful Base (built by yidas), inherit as follows
- Build a new
Controller
according to the CodeIgniter 3 documentation - Inherit the class from
HungNG_CI_Base_REST
instead ofCI_Controller
, for example as follows
Learn more details in the documentation here: https://github.com/nguyenanhung/codeigniter-framework-sample/tree/main/codeigniter-rest
Instructions for writing a Model that inherits Base Model
- Build a model according to the CodeIgniter 3 documentation
- Inherit the class from
HungNG_Custom_Based_model
instead ofCI_Model
, for example as follows
How to write a Model that inherits the Base ORM Model
- This package adds a modern way to write models in ORM style with Elegant patterns like Laravel Eloquent ORM & Yii2 Active Record (built by yidas)
- Read detailed documentation on how to integrate and deploy here with visual and specific examples: https://github.com/nguyenanhung/codeigniter-framework-sample/tree/main/codeigniter-orm-model
Basic SEO Integration Guide
-
This package adds a simple SEO library and helper
- Read detailed documentation on how to integrate and deploy here with visual and specific examples: https://github.com/nguyenanhung/codeigniter-framework-sample/blob/main/codeigniter3-basic-seo/README.md
Instructions for using MongoDB database in the project
- By default, CodeIgniter v3 does not support MongoDB. However, that is not a limitation, CodeIgniter is an open framework, so I have added a library to support calling, interacting, and processing with MongoDB database, which is also quite similar to CodeIgniter 2's Query Builder. Read detailed documentation on how to integrate and deploy here with intuitive and specific examples: https://github.com/nguyenanhung/codeigniter-framework-sample/tree/main/codeigniter-mongodb
Instructions for using Elasticsearch in the project
- By default, CodeIgniter v3 does not support Elasticsearch. However, that does not limit it, CodeIgniter is an open framework, so I have added a library to support calling and interacting with Elasticsearch
- Read detailed documentation on how to integrate and deploy here with intuitive and specific examples: https://github.com/nguyenanhung/codeigniter-framework-sample/tree/main/codeigniter-elasticsearch
Instructions for integrating HMVC model into the project
-
Create folder:
modules
in theapplication
folder. Refer to themodules-samples
folder structure at https://github.com/nguyenanhung/codeigniter-framework-sample/tree/main/modules-sample -
Create file
hmvc.php
with the following content -
Load the
hmvc.php
file into theconfig.php
file -
Create file
MY_Loader.php
in folderapplication/core/
with following content -
Create file
MY_Router.php
in folderapplication/core/
with following content - Deploy the code in the new modules folder, similar to the following
How to check if the filenames in your project are up to CodeIgniter standards
-
This controller checks CodeIgniter 3.0 class filename.
- Read detailed documentation on how to integrate and deploy here with visual and specific examples: https://github.com/nguyenanhung/codeigniter-framework-sample/tree/main/codeigniter3-filename-checker
Instructions for logging all queries in CodeIgniter and recording the Execution Time of each Queries
-
By default, CodeIgniter v3 does not support logging the Execution Time of Queries. However, you can use Hooks to do this
- Read the detailed documentation on how to integrate and deploy here with visual and specific examples: https://github.com/nguyenanhung/codeigniter-framework-sample/tree/main/codeigniter-log-all-queries
CodeIgniter Basic Helper
- Over the years of programming with CodeIgniter, I have collected, built and written quite a few helpers, I have
packaged
them into the package
nguyenanhung/codeigniter-basic-helper
and integrated them into this package. - This helper package is still being operated and developed by me every day, the number of projects integrating the functions in this package has reached thousands
- More detailed information about this helper set https://github.com/nguyenanhung/codeigniter-basic-helper
Contact Information
Name | Skype | Website | ||
---|---|---|---|---|
Hung Nguyen | [email protected] | nguyenanhung5891 | @nguyenanhung | https://nguyenanhung.com |
All versions of codeigniter-framework with dependencies
ext-json Version *
nguyenanhung/codeigniter-basic-helper Version >=1.0
symfony/polyfill-mbstring Version >=1.0