Skip to content

Commit 1389080

Browse files
committed
Merge php8-support
2 parents 85f19a6 + 2d4b7ce commit 1389080

File tree

9 files changed

+1192
-254
lines changed

9 files changed

+1192
-254
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: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@
1010
],
1111
"homepage": "https://github.com/ignitekit/wp-orm",
1212
"require": {
13-
"php": "^5.6.4|^7.0",
13+
"php": "^7.3|^8.0",
1414
"ext-json": "*",
15-
"illuminate/database": "^5.4",
16-
"illuminate/pagination": "^5.4"
15+
"illuminate/database": "^v8.0",
16+
"illuminate/pagination": "^8.0",
17+
"illuminate/support": "^8.0"
1718
},
1819
"license": "GPL-2.0",
1920
"authors": [

0 commit comments

Comments
 (0)