~/talk

Getting Wordpress OOP by using Corcel

Talkat PHPConf.Asia 2018 · 2018-09-27..09-28· [php]
slides:none on file

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

  1. 0:00Intro
  2. 0:42Research
  3. 1:50Issues
  4. 2:19Solution
  5. 3:12Get Started
  6. 4:13Slug
  7. 4:39Events
  8. 5:10Nav Menu
  9. 5:34WordPress Loop
  10. 6:00Other Features
  11. 6:16Pros and Cons
  12. 6:51About me
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.