roots/acorn

Framework for Roots WordPress projects built with Laravel components.

Fund package maintenance!
roots
Patreon

Installs: 393 670

Dependents: 29

Suggesters: 0

Security: 0

Stars: 479

Watchers: 34

Forks: 58

Open Issues: 16

Language:JavaScript

v3.0.0-alpha.3 2022-07-17 19:14 UTC

README

Trellis

MIT License Laravel v9 Release Build Status Follow Roots

Laravel components for WordPress plugins and themes

Website    Documentation    Releases    Support

Sponsors

Acorn is an open source project and completely free to use.

However, the amount of effort needed to maintain and develop new features and products within the Roots ecosystem is not sustainable without proper financial backing. If you have the capability, please consider sponsoring Roots.

Sponsor Roots

KM Digital Carrot WordPress.com Pantheon

Overview

Acorn is a way to use Laravel components inside of WordPress.

Acorn CLI output

Requirements

See the full installation docs for requirements.

Installation

The main branch currently tracks Acorn v3 which is in active development. Looking for Acorn v2 or the latest Acorn v3 beta release? See releases.

To install Acorn in a Bedrock environment, navigate to your Bedrock directory and run the following command:

$ composer require roots/acorn

To install the latest development version of Acorn, add dev-main to the end of the command:

$ composer require roots/acorn dev-main

We recommend adding Acorn's postAutoloadDump function to Composer's post-autoload-dump event in composer.json:

"post-autoload-dump": [
  "Roots\\Acorn\\ComposerScripts::postAutoloadDump"
]

Community

Keep track of development and community news.