---
title: "corcel/corcel: Use WordPress backend with Laravel or any PHP application"
url: https://daily.dev/posts/corcel-corcel-use-wordpress-backend-with-laravel-or-any-php-application-qtifrjkqu
source_url: https://github.com/corcel/corcel
type: article
source: "Hacker News"
published: 2024-06-27T07:48:23.396Z
updated: 2024-10-05T17:15:28.349Z
tags: ["webdev", "wordpress", "php", "laravel"]
reading_time: 16
upvotes: 39
comments: 3
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# corcel/corcel: Use WordPress backend with Laravel or any PHP application

**[Hacker News](https://daily.dev/sources/hn)** · 16 min read · 39 upvotes · 3 comments

## Summary

Corcel is a set of PHP classes built on top of Laravel's Eloquent ORM, enabling the extraction of data directly from a WordPress database. It allows the use of WordPress as a backend, facilitating integration with any PHP application that uses Composer. Corcel is compatible with multiple Laravel versions and offers robust functionalities for post and meta data management, custom post types, taxonomies, and shortcodes. Installation is straightforward via Composer, followed by database configuration. It supports various scopes to filter and retrieve data flexibly, as well as extensions for handling custom fields and taxonomies.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://github.com/corcel/corcel>

## Community discussion

Top comments from developers on daily.dev.

**@wpspeeddoctor** · 1 upvotes

> I've downloaded it as an example of how NOT to write code if you care about performance and maintainability.

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#webdev](https://daily.dev/tags/webdev), [#wordpress](https://daily.dev/tags/wordpress), [#php](https://daily.dev/tags/php), [#laravel](https://daily.dev/tags/laravel)

[View this post on daily.dev](https://daily.dev/posts/corcel-corcel-use-wordpress-backend-with-laravel-or-any-php-application-qtifrjkqu)
