Skip to content

Commit f44bc0a

Browse files
author
Fredrick Peter
committed
Helpers added. Migration updated
1 parent d07d274 commit f44bc0a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Prior to installing `php-orm-database` get the [Composer](https://getcomposer.or
116116
**Step 1** — update your `composer.json`:
117117
```composer.json
118118
"require": {
119-
"peterson/php-orm-database": "^4.1.8"
119+
"peterson/php-orm-database": "^4.1.9"
120120
}
121121
```
122122

@@ -1445,6 +1445,9 @@ class PostClass extends DB{
14451445
| config_pagination() | Same as `$db->configPagination()` or `EnvAutoLoad::configPagination` |
14461446
| autoload_register() | Same as `AutoloadRegister::load()` |
14471447
| app_data() | Get `path\|database\|pagination` info |
1448+
| base_dir() | Get absolute base directory path. It accepts a param as `string` if given, will be appended to the path |
1449+
| directory() | Same as `base_dir()` just naming difference |
1450+
| domain() | Similar to `base_dir()` as it returns domain URI. Also accepts path given and this will append to the endpoint of URL. |
14481451
| env() | Same as `$db->env()` |
14491452
| env_orm() | Return instance of `(new EnvOrm)` class |
14501453
| env_start() | Same as `EnvAutoLoad::start()` |

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
},
4343
"extra": {
4444
"branch-alias": {
45-
"dev-main": "4.1.8-dev"
45+
"dev-main": "4.1.9-dev"
4646
}
4747
},
4848
"minimum-stability": "stable",

0 commit comments

Comments
 (0)