Laravel components for WordPress plugins and themes
Website
Documentation
Releases
Support
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.
Acorn is a way to use Laravel components inside of WordPress.
See the full installation docs for requirements.
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"
]
Keep track of development and community news.
- Join us on Discord by sponsoring us on GitHub
- Participate on the Roots Discourse
- Follow @rootswp on Twitter
- Read and subscribe to the Roots Blog
- Subscribe to the Roots Newsletter