Skip to content

Commit

Permalink
Merge pull request corcel#88 from leocaseiro/patch-1
Browse files Browse the repository at this point in the history
Update REAMDE with Capitalize P for WordPress
  • Loading branch information
jgrossi committed Mar 8, 2016
2 parents b9f8997 + e667160 commit 8dc6092
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Wordpress Corcel
WordPress Corcel
================

> This package allows you to use Wordpress as backend (admin panel) and retrieve its data using Eloquent, with any PHP project or even framework.
> This package allows you to use WordPress as backend (admin panel) and retrieve its data using Eloquent, with any PHP project or even framework.
Corcel is a class collection created to retrieve Wordpress database data using a better syntax. It uses the [Eloquent ORM](https://github.com/illuminate/database) developed for the Laravel Framework, but you can use Corcel in any type of PHP project, with any framework, including Laravel.
Corcel is a class collection created to retrieve WordPress database data using a better syntax. It uses the [Eloquent ORM](https://github.com/illuminate/database) developed for the Laravel Framework, but you can use Corcel in any type of PHP project, with any framework, including Laravel.

This way, you can use Wordpress as the backend (admin panel), to insert posts, custom types, etc, and you can use whatever you want in the frontend, like Silex, Slim Framework, Laravel, Zend, or even pure PHP (why not?). So, just use Corcel to retrieve data from Wordpress.
This way, you can use WordPress as the backend (admin panel), to insert posts, custom types, etc, and you can use whatever you want in the frontend, like Silex, Slim Framework, Laravel, Zend, or even pure PHP (why not?). So, just use Corcel to retrieve data from WordPress.

## Installation

Expand Down Expand Up @@ -47,7 +47,7 @@ If you are using Laravel you **do not need** to configure database again. It's a
'engine' => null,
],

'wordpress' => [ // this is your Corcel database connection, where Wordpress tables are
'wordpress' => [ // this is your Corcel database connection, where WordPress tables are
'driver' => 'mysql',
'host' => 'localhost',
'database' => 'corcel',
Expand Down Expand Up @@ -93,7 +93,7 @@ Here you have to configure the database to fit the Corcel requirements. First, y
require __DIR__ . '/vendor/autoload.php';
```

Now you must set your Wordpress database params:
Now you must set your WordPress database params:

```php
$params = array(
Expand Down

0 comments on commit 8dc6092

Please sign in to comment.