Download the PHP package nabcellent/codeigniter4-eloquent without Composer
On this page you can find all versions of the php package nabcellent/codeigniter4-eloquent. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nabcellent/codeigniter4-eloquent
More information about nabcellent/codeigniter4-eloquent
Files in nabcellent/codeigniter4-eloquent
Package codeigniter4-eloquent
Short Description The Illuminate/Eloquent package for CodeIgniter 4.
License MIT
Informations about the package codeigniter4-eloquent
The Illuminate Database package for CodeIgniter 4
Codeigniter Database package.
This started as a fork from agungsugiarto/codeigniter4-eloquent. Changes include:
- Support for PHP 7.4 and above.
- Updated illuminate/database to 8
- Updated illuminate/pagination to 8
Installation
Include this package via Composer: Add -W to downgrade psr/container package as Illuminate/container needs that version.
Publish config
publish the config file with following spark command
Customizing view pagination
The default view for pagination available with preset for bootstrap4 and basic html, if you want to customize
just copy from \vendor\nabcellent\codeigniter4-eloquent\src\Views\Bootstrap4.php
and modify with your style after that put on folder App\Views. Finnaly change your config in App\Config\Eloquent.php
Setup services eloquent
Open App\Controllers\BaseController.php
add service('eloquent');
on function initController
Usage
Example model
How to use in controller
More info usefull link docs laravel
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
License
This package is free software distributed under the terms of the MIT license.
All versions of codeigniter4-eloquent with dependencies
codeigniter4/framework Version ^4
illuminate/database Version ^8.64
illuminate/pagination Version ^8.64
illuminate/events Version ^8.65