Skip to content

Commit 3468fb5

Browse files
committed
Update Readme.md
1 parent d6725bf commit 3468fb5

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55
[![Latest Unstable Version](https://poser.pugx.org/agungsugiarto/codeigniter4-eloquent/v/unstable)](https://packagist.org/packages/agungsugiarto/codeigniter4-eloquent)
66
[![License](https://poser.pugx.org/agungsugiarto/codeigniter4-eloquent/license)](https://packagist.org/packages/agungsugiarto/codeigniter4-eloquent)
77

8+
## Update from v1.x to 2.x
9+
just simple publish config eloquent with command
10+
```php
11+
php spark eloquent:publish
12+
```
13+
814
## Instalation
915

1016
Include this package via Composer:
@@ -13,6 +19,15 @@ Include this package via Composer:
1319
composer require agungsugiarto/codeigniter4-eloquent
1420
```
1521

22+
## Publish config
23+
```php
24+
php spark eloquent:publish
25+
```
26+
27+
## Costuming view pagination
28+
The default view for pagination available with preset for bootstrap4 and basic html, if you want to costumize
29+
just copy from `\vendor\agungsugiarto\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`
30+
1631
## Setup services eloquent
1732
Open App\Controllers\BaseController.php
1833

0 commit comments

Comments
 (0)