Recommend this page to a friend! |
Download .zip |
Info | Documentation | View files (256) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2022-05-11 (24 days ago) | Not yet rated by the users | Total: Not yet counted | Not yet ranked |
Version | License | PHP version | Categories | |||
codeigniter-eloquent 1.0 | The PHP License | 5 | PHP 5, Libraries, Design Patterns |
Description | Author | ||||||||||||||||
This package can store and retrieve CodeIgniter model objects using Eloquent ORM. Innovation Award
|
|
php: >=5.3.7
Install the Illuminate Database package with Composer:
$ composer install
Example:
Model
<?php
use \Illuminate\Database\Eloquent\Model as Eloquent;
class User extends Eloquent{
protected $table = 'users';
}
Controller
defined('BASEPATH') OR exit('No direct script access allowed');
class Home extends CI_Controller {
public function index()
{
$this->load->model('user');
$users = User::where('votes', '>', 1)->get();
$this->load->view('home/index', ['users' => $users]);
}
}
dd() Function is also implemented; Example:
class Home extends CI_Controller {
public function index()
{
$this->load->model('user');
$users = User::all();
dd($users);
}
}
Files |
File | Role | Description | ||
---|---|---|---|---|
application (2 files, 12 directories) | ||||
system (2 files, 7 directories) | ||||
.editorconfig | Data | Auxiliary data | ||
composer.json | Data | Auxiliary data | ||
index.php | Aux. | Auxiliary script | ||
readme.md | Doc. | Read me |
Files | / | application |
File | Role | Description | ||
---|---|---|---|---|
cache (1 file) | ||||
config (15 files) | ||||
controllers (2 files) | ||||
core (1 file) | ||||
helpers (1 file) | ||||
hooks (1 file) | ||||
language (1 file, 1 directory) | ||||
libraries (1 file) | ||||
logs (1 file) | ||||
models (2 files) | ||||
third_party (1 file) | ||||
views (1 file, 1 directory) | ||||
.htaccess | Data | Auxiliary data | ||
index.html | Doc. | Documentation |
Files | / | application | / | config |
File | Role | Description |
---|---|---|
autoload.php | Aux. | Auxiliary script |
config.php | Aux. | Auxiliary script |
constants.php | Aux. | Auxiliary script |
database.php | Example | Example script |
doctypes.php | Aux. | Auxiliary script |
foreign_chars.php | Aux. | Auxiliary script |
hooks.php | Aux. | Auxiliary script |
index.html | Doc. | Documentation |
memcached.php | Aux. | Auxiliary script |
migration.php | Aux. | Auxiliary script |
mimes.php | Aux. | Auxiliary script |
profiler.php | Aux. | Auxiliary script |
routes.php | Aux. | Auxiliary script |
smileys.php | Aux. | Auxiliary script |
user_agents.php | Aux. | Auxiliary script |
Files | / | application | / | controllers |
File | Role | Description |
---|---|---|
Home.php | Class | Class source |
index.html | Doc. | Documentation |
Files | / | application | / | models |
File | Role | Description |
---|---|---|
index.html | Doc. | Documentation |
User.php | Class | Class source |
Files | / | application | / | views |
File | Role | Description | ||
---|---|---|---|---|
errors (1 file, 2 directories) | ||||
index.html | Doc. | Documentation |
Files | / | application | / | views | / | errors |
File | Role | Description | ||
---|---|---|---|---|
cli (6 files) | ||||
html (6 files) | ||||
index.html | Doc. | Documentation |
Files | / | application | / | views | / | errors | / | cli |
File | Role | Description |
---|---|---|
error_404.php | Aux. | Auxiliary script |
error_db.php | Aux. | Auxiliary script |
error_exception.php | Example | Example script |
error_general.php | Aux. | Auxiliary script |
error_php.php | Aux. | Auxiliary script |
index.html | Doc. | Documentation |
Files | / | application | / | views | / | errors | / | html |
File | Role | Description |
---|---|---|
error_404.php | Aux. | Auxiliary script |
error_db.php | Aux. | Auxiliary script |
error_exception.php | Example | Example script |
error_general.php | Aux. | Auxiliary script |
error_php.php | Aux. | Auxiliary script |
index.html | Doc. | Documentation |
Files | / | system |
Files | / | system | / | core |
File | Role | Description | ||
---|---|---|---|---|
compat (5 files) | ||||
Benchmark.php | Class | Class source | ||
CodeIgniter.php | Example | Example script | ||
Common.php | Example | Example script | ||
Config.php | Class | Class source | ||
Controller.php | Class | Class source | ||
Exceptions.php | Class | Class source | ||
Hooks.php | Class | Class source | ||
index.html | Doc. | Documentation | ||
Input.php | Class | Class source | ||
Lang.php | Class | Class source | ||
Loader.php | Class | Class source | ||
Log.php | Class | Class source | ||
Model.php | Class | Class source | ||
Output.php | Class | Class source | ||
Router.php | Class | Class source | ||
Security.php | Class | Class source | ||
URI.php | Class | Class source | ||
Utf8.php | Class | Class source |
Files | / | system | / | core | / | compat |
File | Role | Description |
---|---|---|
hash.php | Aux. | Auxiliary script |
index.html | Doc. | Documentation |
mbstring.php | Aux. | Auxiliary script |
password.php | Example | Example script |
standard.php | Aux. | Auxiliary script |
Files | / | system | / | database |
File | Role | Description | ||
---|---|---|---|---|
drivers (1 file, 12 directories) | ||||
DB.php | Class | Class source | ||
DB_cache.php | Class | Class source | ||
DB_driver.php | Class | Class source | ||
DB_forge.php | Class | Class source | ||
DB_query_builder.php | Class | Class source | ||
DB_result.php | Class | Class source | ||
DB_utility.php | Class | Class source | ||
index.html | Doc. | Documentation |
Files | / | system | / | database | / | drivers | / | cubrid |
File | Role | Description |
---|---|---|
cubrid_driver.php | Class | Class source |
cubrid_forge.php | Class | Class source |
cubrid_result.php | Class | Class source |
cubrid_utility.php | Class | Class source |
index.html | Doc. | Documentation |
Files | / | system | / | database | / | drivers | / | ibase |
File | Role | Description |
---|---|---|
ibase_driver.php | Class | Class source |
ibase_forge.php | Class | Class source |
ibase_result.php | Class | Class source |
ibase_utility.php | Class | Class source |
index.html | Doc. | Documentation |
Files | / | system | / | database | / | drivers | / | mssql |
File | Role | Description |
---|---|---|
index.html | Doc. | Documentation |
mssql_driver.php | Class | Class source |
mssql_forge.php | Class | Class source |
mssql_result.php | Class | Class source |
mssql_utility.php | Class | Class source |
Files | / | system | / | database | / | drivers | / | mysql |
File | Role | Description |
---|---|---|
index.html | Doc. | Documentation |
mysql_driver.php | Class | Class source |
mysql_forge.php | Class | Class source |
mysql_result.php | Class | Class source |
mysql_utility.php | Class | Class source |
Files | / | system | / | database | / | drivers | / | mysqli |
File | Role | Description |
---|---|---|
index.html | Doc. | Documentation |
mysqli_driver.php | Class | Class source |
mysqli_forge.php | Class | Class source |
mysqli_result.php | Class | Class source |
mysqli_utility.php | Class | Class source |
Files | / | system | / | database | / | drivers | / | oci8 |
File | Role | Description |
---|---|---|
index.html | Doc. | Documentation |
oci8_driver.php | Class | Class source |
oci8_forge.php | Class | Class source |
oci8_result.php | Class | Class source |
oci8_utility.php | Class | Class source |
Files | / | system | / | database | / | drivers | / | odbc |
File | Role | Description |
---|---|---|
index.html | Doc. | Documentation |
odbc_driver.php | Class | Class source |
odbc_forge.php | Class | Class source |
odbc_result.php | Class | Class source |
odbc_utility.php | Class | Class source |
Files | / | system | / | database | / | drivers | / | pdo |
File | Role | Description | ||
---|---|---|---|---|
subdrivers (25 files) | ||||
index.html | Doc. | Documentation | ||
pdo_driver.php | Class | Class source | ||
pdo_forge.php | Class | Class source | ||
pdo_result.php | Class | Class source | ||
pdo_utility.php | Class | Class source |
Files | / | system | / | database | / | drivers | / | pdo | / | subdrivers |
File | Role | Description |
---|---|---|
index.html | Doc. | Documentation |
pdo_4d_driver.php | Class | Class source |
pdo_4d_forge.php | Class | Class source |
pdo_cubrid_driver.php | Class | Class source |
pdo_cubrid_forge.php | Class | Class source |
pdo_dblib_driver.php | Class | Class source |
pdo_dblib_forge.php | Class | Class source |
pdo_firebird_driver.php | Class | Class source |
pdo_firebird_forge.php | Class | Class source |
pdo_ibm_driver.php | Class | Class source |
pdo_ibm_forge.php | Class | Class source |
pdo_informix_driver.php | Class | Class source |
pdo_informix_forge.php | Class | Class source |
pdo_mysql_driver.php | Class | Class source |
pdo_mysql_forge.php | Class | Class source |
pdo_oci_driver.php | Class | Class source |
pdo_oci_forge.php | Class | Class source |
pdo_odbc_driver.php | Class | Class source |
pdo_odbc_forge.php | Class | Class source |
pdo_pgsql_driver.php | Class | Class source |
pdo_pgsql_forge.php | Class | Class source |
pdo_sqlite_driver.php | Class | Class source |
pdo_sqlite_forge.php | Class | Class source |
pdo_sqlsrv_driver.php | Class | Class source |
pdo_sqlsrv_forge.php | Class | Class source |
Files | / | system | / | database | / | drivers | / | postgre |
File | Role | Description |
---|---|---|
index.html | Doc. | Documentation |
postgre_driver.php | Class | Class source |
postgre_forge.php | Class | Class source |
postgre_result.php | Class | Class source |
postgre_utility.php | Class | Class source |
Files | / | system | / | database | / | drivers | / | sqlite |
File | Role | Description |
---|---|---|
index.html | Doc. | Documentation |
sqlite_driver.php | Class | Class source |
sqlite_forge.php | Class | Class source |
sqlite_result.php | Class | Class source |
sqlite_utility.php | Class | Class source |
Files | / | system | / | database | / | drivers | / | sqlite3 |
File | Role | Description |
---|---|---|
index.html | Doc. | Documentation |
sqlite3_driver.php | Class | Class source |
sqlite3_forge.php | Class | Class source |
sqlite3_result.php | Class | Class source |
sqlite3_utility.php | Class | Class source |
Files | / | system | / | database | / | drivers | / | sqlsrv |
File | Role | Description |
---|---|---|
index.html | Doc. | Documentation |
sqlsrv_driver.php | Class | Class source |
sqlsrv_forge.php | Class | Class source |
sqlsrv_result.php | Class | Class source |
sqlsrv_utility.php | Class | Class source |
Files | / | system | / | helpers |
File | Role | Description |
---|---|---|
array_helper.php | Aux. | Auxiliary script |
captcha_helper.php | Example | Example script |
cookie_helper.php | Example | Example script |
date_helper.php | Example | Example script |
directory_helper.php | Aux. | Auxiliary script |
download_helper.php | Aux. | Auxiliary script |
email_helper.php | Aux. | Auxiliary script |
file_helper.php | Aux. | Auxiliary script |
form_helper.php | Example | Example script |
html_helper.php | Example | Example script |
index.html | Doc. | Documentation |
inflector_helper.php | Aux. | Auxiliary script |
language_helper.php | Example | Example script |
number_helper.php | Example | Example script |
path_helper.php | Aux. | Auxiliary script |
security_helper.php | Example | Example script |
smiley_helper.php | Aux. | Auxiliary script |
string_helper.php | Aux. | Auxiliary script |
text_helper.php | Aux. | Auxiliary script |
typography_helper.php | Example | Example script |
url_helper.php | Example | Example script |
xml_helper.php | Aux. | Auxiliary script |
Files | / | system | / | language | / | english |
File | Role | Description |
---|---|---|
calendar_lang.php | Aux. | Auxiliary script |
date_lang.php | Aux. | Auxiliary script |
db_lang.php | Aux. | Auxiliary script |
email_lang.php | Aux. | Auxiliary script |
form_validation_lang.php | Aux. | Auxiliary script |
ftp_lang.php | Aux. | Auxiliary script |
imglib_lang.php | Aux. | Auxiliary script |
index.html | Doc. | Documentation |
migration_lang.php | Aux. | Auxiliary script |
number_lang.php | Aux. | Auxiliary script |
pagination_lang.php | Aux. | Auxiliary script |
profiler_lang.php | Aux. | Auxiliary script |
unit_test_lang.php | Aux. | Auxiliary script |
upload_lang.php | Aux. | Auxiliary script |
Files | / | system | / | libraries |
File | Role | Description | ||
---|---|---|---|---|
Cache (2 files, 1 directory) | ||||
Javascript (2 files) | ||||
Session (8 files, 1 directory) | ||||
Calendar.php | Class | Class source | ||
Cart.php | Class | Class source | ||
Driver.php | Class | Class source | ||
Email.php | Class | Class source | ||
Encrypt.php | Class | Class source | ||
Encryption.php | Class | Class source | ||
Form_validation.php | Class | Class source | ||
Ftp.php | Class | Class source | ||
Image_lib.php | Class | Class source | ||
index.html | Doc. | Documentation | ||
Javascript.php | Class | Class source | ||
Migration.php | Class | Class source | ||
Pagination.php | Class | Class source | ||
Parser.php | Class | Class source | ||
Profiler.php | Class | Class source | ||
Table.php | Class | Class source | ||
Trackback.php | Class | Class source | ||
Typography.php | Class | Class source | ||
Unit_test.php | Class | Class source | ||
Upload.php | Class | Class source | ||
User_agent.php | Class | Class source | ||
Xmlrpc.php | Class | Class source | ||
Xmlrpcs.php | Class | Class source | ||
Zip.php | Class | Class source |
Files | / | system | / | libraries | / | Cache |
File | Role | Description | ||
---|---|---|---|---|
drivers (7 files) | ||||
Cache.php | Class | Class source | ||
index.html | Doc. | Documentation |
Files | / | system | / | libraries | / | Cache | / | drivers |
File | Role | Description |
---|---|---|
Cache_apc.php | Class | Class source |
Cache_dummy.php | Class | Class source |
Cache_file.php | Class | Class source |
Cache_memcached.php | Class | Class source |
Cache_redis.php | Class | Class source |
Cache_wincache.php | Class | Class source |
index.html | Doc. | Documentation |
Files | / | system | / | libraries | / | Javascript |
File | Role | Description |
---|---|---|
index.html | Doc. | Documentation |
Jquery.php | Class | Class source |
Files | / | system | / | libraries | / | Session |
File | Role | Description | ||
---|---|---|---|---|
drivers (5 files) | ||||
CI_Session_driver_interface.php | Class | Class source | ||
index.html | Doc. | Documentation | ||
OldSessionWrapper.php | Class | Class source | ||
PHP8SessionWrapper.php | Class | Class source | ||
Session.php | Class | Class source | ||
SessionHandlerInterface.php | Class | Class source | ||
SessionUpdateTimes...andlerInterface.php | Class | Class source | ||
Session_driver.php | Class | Class source |
Files | / | system | / | libraries | / | Session | / | drivers |
File | Role | Description |
---|---|---|
index.html | Doc. | Documentation |
Session_database_driver.php | Class | Class source |
Session_files_driver.php | Class | Class source |
Session_memcached_driver.php | Class | Class source |
Session_redis_driver.php | Class | Class source |
Files | / | system | / | sessions |
File | Role | Description |
---|---|---|
ci_session30lds4v2...5eo5hpa03quihq62bj1 | Data | Auxiliary data |
ci_sessiongbchjcmn...cil6j5gvan0jbf485dd | Data | Auxiliary data |
ci_sessionlotns5t2...qk2prf6hj1d4doeecpt | Data | Auxiliary data |
codeigniter-eloquent-2022-05-11.zip 606KB | |
codeigniter-eloquent-2022-05-11.tar.gz 340KB | |
Install with Composer |
Version Control | Unique User Downloads | |||||||
100% |
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.