Getting Wordpress OOP by using Corcel
summary
Demonstrates that Corcel lets a Laravel app read and write a WordPress database with Eloquent so you can call Post::published() or Post::find(slug), read custom fields, pull nav menus, and save posts without building WP themes or many third‑party plugins. Shows the setup steps: install service provider, point a DB connection at WordPress, then use Corcel models. Notes tradeoff of running WordPress on a separate server for added obscurity and two deployments, and cites the Corcel repo with ~2,000+ stars.
AI-written summary · about
chapters (12)
- 0:00Intro
- 0:42Research
- 1:50Issues
- 2:19Solution
- 3:12Get Started
- 4:13Slug
- 4:39Events
- 5:10Nav Menu
- 5:34WordPress Loop
- 6:00Other Features
- 6:16Pros and Cons
- 6:51About me
related talks
40mWordPress for Modern Developers
30mcomposer require Wordpress
48mWordPress for the Modern PHP Developer
01h 02mHacking Wordpress, a Crash Course in Writing Plugins and Widgets
21mUsing WordPress as a Framework
34mPrepare(): Introducing Novel Exploitation Techniques in Wordpress
46mUnder the Hood of WordPress — Exploring the Engine and Tools
34mWP-CLI for PHP developers
