Repolode
roots

roots/acorn

A Composer package that brings Laravel's components, Blade templates and packages into WordPress projects.

Stars
1,010
Forks
114
Open issues
17
Last commit
6 days ago

What is it?

Acorn lets WordPress projects use Laravel's framework components and tooling. It provides access to most core Laravel components such as routing, caching, events, validation, the database layer, queues and sessions, so developers can apply familiar Laravel patterns inside WordPress themes and plugins.

A key feature is Blade templating for WordPress views and blocks. Acorn also lets you install Laravel packages through Composer and use community packages built for Acorn, including integrations for WooCommerce and ACF.

Some Laravel components are not supported, including broadcasting, mail, notifications, Redis, and translation.

Key features

  • 01Blade templates for WordPress views and blocks
  • 02Access to most Laravel components, including routing, caching, events and validation
  • 03Install Laravel packages via Composer in WordPress projects
  • 04Community packages for WooCommerce and ACF integration

Use cases

  • Building WordPress themes with Blade templates
  • Writing plugins that reuse Laravel's validation, caching or queue utilities
  • Adding Laravel ecosystem packages to a WordPress site

Quick start

  1. 1

    Read the installation guide in the official docs

Things to know

  • Several Laravel components are unsupported, including broadcasting, mail, notifications, redis, and translation.

Topics

#wordpress#laravel#php#blade#templating#wordpress-plugin#acorn#wordpress-framework#wordpress-laravel#wordpress-plugin-library

FAQ

What is acorn?
A Composer package that brings Laravel's components, Blade templates and packages into WordPress projects. Acorn lets WordPress projects use Laravel's framework components and tooling. It provides access to most core Laravel components such as routing, caching, events, validation, the database layer, queues and sessions, so developers can apply familiar Laravel patterns inside WordPress themes and plugins.
Is acorn free to use? What license does it have?
acorn is open source under the MIT license. Check the license terms before using it in commercial products.
Is acorn still maintained?
Actively maintained. The last commit to acorn was on Nov 2, 2026.
What can I use acorn for?
Building WordPress themes with Blade templates Writing plugins that reuse Laravel's validation, caching or queue utilities Adding Laravel ecosystem packages to a WordPress site
How do I install acorn?
Read the installation guide in the official docs
Where can I get acorn?
The source code and installation instructions are on GitHub: https://github.com/roots/acorn

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects