PhpDev.App
roots/acorn

roots/acorn

Stars: 445

Forks: 54

Pull Requests: 171

Issues: 71

Watchers: 32

Last Updated: 2022-07-10 17:54:10

Laravel components for WordPress plugins and themes

License: MIT License

Languages: PHP, Shell, JavaScript, Blade

https://roots.io/acorn/

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 C21 Redwood Realty 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.