nabcellent/codeigniter4-eloquent
Brings Laravel's Eloquent ORM to CodeIgniter 4, letting you use models, relationships, and fluent query building alongside CI4's database layer. A lightweight integration for developers who prefer Eloquent's expressive syntax.
composer require and, if the package exposes them, publish config and migrations:
php artisan vendor:publish --tag=configphp artisan vendor:publish --tag=migrations.env has a valid DB_CONNECTION and run php artisan migrate before exercising the package.database (or equivalent) and point it at a connection/table in config rather than relying on defaults.setUp() or via RefreshDatabase. Add at least one integration test that hits the real database driver.Cache::remember() and invalidate on writes. Do not assume the package handles caching automatically.composer why-not php and check the package’s composer.json platform constraints.php artisan config:clear after changing driver, connection, or table settings. Stale cached config is a common cause of “database driver not working” reports.DB::listen() or Laravel Telescope/query log temporarily to confirm the package is hitting the expected connection and table.^1.1.7 if you rely on database support on PHP 8.0 or below, and document that minimum in your project’s README.How can I help you explore Laravel packages today?