Registry / orm / jgrossi-corcel

jgrossi-corcel

JSON →
library9.0.0phppackagistunverified

Use WordPress backend with Laravel or any PHP framework

composer require jgrossi/corcel
INSTALL
IMPORT
SIG · JGROSSI-CORCEL
J
jgrossi-corcel
ormphpv9.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Post
use Corcel\Model\Post;

Fetch published WordPress posts

use Corcel\Model\Post; $posts = Post::published()->get(); foreach ($posts as $post) { echo $post->title; }
Debug
Known issues
gotchaRequires WordPress database connection configuration
fix
Set up WordPress database credentials in Laravel's config/database.php
affects: >=9.0
Upgrade
Version history
9.0.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
45 hits · last 30 days
node
42
Amazon
1
OpenAI (training)
1
Resources
jgrossi-corcel — pip install jgrossi-corcel · libregistry