Download the PHP package maika-kanaka/ci3-eloquent without Composer

On this page you can find all versions of the php package maika-kanaka/ci3-eloquent. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package ci3-eloquent

CI3-ELOQUENT

A query builder++ on codeigniter3 for easier your life.

HOW TO USE

METHOD

table(alias)
| Param | Type | Required | Description | | --- | --- | --- | --- | | alias | String | No | Given alias to your table, it's usefull when you're using join statement | Example 1: a simple query to get data Example 2: a simple query with join statement to get data
find(where)
| Param | Type | Required | Description | | --- | --- | --- | --- | | where | Array or Integer or String | No | Get the first row with where clause | ~ Example 1: get the first row with primary key ~ Example 1: get the first row with other column
find_or_404(where)
This method is exactly same as the find() method but if the return value is null then it will appear 404 page
insert(data)
| Param | Type | Required | Description | | --- | --- | --- | --- | | data | Array | Yes | Data to insert | ~ Example 1: Insert one row ~ Example 2: Insert multiple row bulk
update(where, set)
| Param | Type | Required | Description | | --- | --- | --- | --- | | where | Array | Yes | Specific data to be updated | | set | Array | Yes | Column & value to be updated |
updateIncrement(where, field_name)
| Param | Type | Required | Description | | --- | --- | --- | --- | | where | Array | Yes | Specific data to be updated | | field_name | String | Yes | Column & value to be updated | If the value of field jumlah_stok is 10 then the new value is 11
updateDecrement(where, field_name)
| Param | Type | Required | Description | | --- | --- | --- | --- | | where | Array | Yes | Specific data to be updated | | field_name | String | Yes | Column & value to be updated | If the value of field jumlah_stok is 10 then the new value is 9
delete(where)
| Param | Type | Required | Description | | --- | --- | --- | --- | | where | Array or Integer or String | Yes | Specific data to be deleted | ~ Example 1: where clause on primary key ~ Example 2: where custom field clause
primaryKeyInc()
If you're using this method. You must define your field primary key on property model Then, you can using this method & get the increment
primaryKey([opts])
Firstly, The same as the primaryKeyInc() method, you must define your field primary key on property model | Param | Type | Required | Description | | --- | --- | --- | --- | | format | String | Yes | Prefix for generate code, take it for example: If you want the return value is INV/202010/0001 so the format is **INV** | | separator | String | No | Separator for generate code, take it for example: If you want the return value is INV-202010-0001 so the separator is **-** | | digit_inc | Integer | No | Digit increment, Default value: 4 | reset_monthly | Boolean | No | Fill yearmonth in return value & reset the increment every month changed. Default value: TRUE | ~ Example 1: Generate code & reset increment every month ~ Example 2: Generate code & non reset increment

LICENSE

Usage is provided under the MIT License. See LICENSE for the full details.


All versions of ci3-eloquent with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package maika-kanaka/ci3-eloquent contains the following files

Loading the files please wait ....