File tree Expand file tree Collapse file tree 1 file changed +9
-18
lines changed
Expand file tree Collapse file tree 1 file changed +9
-18
lines changed Original file line number Diff line number Diff line change 1- # Eloquent Wrapper for WordPress
1+ # ORM for WordPress
22
3- This is a fork of the ` wp-eloquent ` [ Laravel Eloquent] ( http://laravel.com/docs/5.0/eloquent ) wrapper for WordPress.
3+ Laravel Eloquent based ORM for WordPress
4+
5+ This is a fork of the original library written by [ Tareq Hasan] ( https://tareq.co ) with some more improvements and changes.
46
5- The aim of this fork is to add additional functionality and provide regular maintenance
6-
77
88## Package Installation
99
10- To install this package, edit your ` composer.json ` file :
10+ To install the library run :
1111
12- ``` js
13- {
14- " require" : {
15- " gdarko/wp-orm" : " dev-master"
16- }
17- }
12+ ```
13+ composer require gdarko/wp-orm
1814```
1915
20- Now run:
21-
22- ` $ composer install `
23-
24- # Usage Example
16+ ## Usage Example
2517
26- ## Basic Usage
18+ ### Basic Usage
2719
2820``` php
2921
@@ -161,4 +153,3 @@ var_dump(Post::type('page')->status('publish')->get()->toArray()); // get pages
161153
162154## Author
163155- [ Darko Gjorgjijoski] ( https://darkog.com )
164- - [ Tareq Hasan] ( https://tareq.co )
You can’t perform that action at this time.
0 commit comments