Skip to content

Commit 2d4b7ce

Browse files
committed
Update readme/composer config
1 parent cd5e785 commit 2d4b7ce

File tree

2 files changed

+34
-25
lines changed

2 files changed

+34
-25
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ Here `users` is the table name **without prefix**. The prefix will be applied au
9999

100100
#### Other Examples
101101

102-
- [Queries](http://laravel.com/docs/5.0/queries)
103-
- [Eloquent ORM](http://laravel.com/docs/5.0/eloquent)
102+
- [Queries](https://laravel.com/docs/8.x/queries)
103+
- [Eloquent ORM](https://laravel.com/docs/8.x/eloquent)
104104

105105
### Writing a Model
106106

@@ -142,19 +142,20 @@ var_dump(Post::type('page')->status('publish')->get()->toArray()); // get pages
142142
### How it Works
143143

144144
- Eloquent is mainly used here as the query builder
145-
- [WPDB](http://codex.wordpress.org/Class_Reference/wpdb) is used to run queries built by Eloquent
145+
- [WPDB](https://developer.wordpress.org/reference/classes/wpdb/) is used to run queries built by Eloquent
146146
- Hence, we have the benfit to use plugins like `debug-bar` or `query-monitor` to get SQL query reporting.
147147
- It doesn't create any extra MySQL connection
148148

149149

150150
### Minimum Requirement
151-
- PHP 5.6.4+
151+
- PHP 7.3+ (For support of older PHP version use wp-orm major v1.1 and minors within that version)
152152
- WordPress 4.0+
153153

154+
154155
### License
155156

156157
```
157-
Copyright (C) 2020 Darko Gjorgjijoski (https://darkog.com)
158+
Copyright (C) 2022 Darko Gjorgjijoski (https://darkog.com)
158159
159160
This file is part of wp-orm
160161

composer.json

Lines changed: 28 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,31 @@
11
{
2-
"name": "ignitekit/wp-orm",
3-
"description": "Laravel Eloquent inspired ORM package for WordPress",
4-
"keywords": ["wordpress", "plugin", "orm", "eloquent", "sql"],
5-
"homepage": "https://github.com/ignitekit/wp-orm",
6-
"require": {
7-
"illuminate/database": "^v8.0",
8-
"illuminate/pagination": "^8.0",
9-
"illuminate/support": "^8.0"
10-
},
11-
"license": "GPL-2.0",
12-
"authors": [
13-
{
14-
"name": "Darko Gjorgjijoski",
15-
"email": "dg@darkog.com"
16-
}
17-
],
18-
"autoload" : {
19-
"psr-4" : {
20-
"IgniteKit\\WP\\ORM\\": "src/"
21-
}
2+
"name": "ignitekit/wp-orm",
3+
"description": "Laravel Eloquent inspired ORM package for WordPress",
4+
"keywords": [
5+
"wordpress",
6+
"plugin",
7+
"orm",
8+
"eloquent",
9+
"sql"
10+
],
11+
"homepage": "https://github.com/ignitekit/wp-orm",
12+
"require": {
13+
"php": "^7.3|^8.0",
14+
"ext-json": "*",
15+
"illuminate/database": "^v8.0",
16+
"illuminate/pagination": "^8.0",
17+
"illuminate/support": "^8.0"
18+
},
19+
"license": "GPL-2.0",
20+
"authors": [
21+
{
22+
"name": "Darko Gjorgjijoski",
23+
"email": "dg@darkog.com"
2224
}
25+
],
26+
"autoload": {
27+
"psr-4": {
28+
"IgniteKit\\WP\\ORM\\": "src/"
29+
}
30+
}
2331
}

0 commit comments

Comments
 (0)