acorn-example-package
acorn-example-package copied to clipboard
A template for creating your own Acorn packages
Acorn Example Package
This repo can be used to scaffold an Acorn package. See the Acorn Package Development docs for further information.
Installation
You can install this package with Composer:
composer require vendor-name/example-package
You can publish the config file with:
$ wp acorn vendor:publish --provider="VendorName\ExamplePackage\Providers\ExampleServiceProvider"
Usage
From a Blade template:
@include('Example::example')
From WP-CLI:
$ wp acorn example