Skip to content

yardinternet/skeleton-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0f22f9f · Feb 18, 2025
Dec 10, 2024
Nov 22, 2024
Dec 10, 2024
Dec 10, 2024
Dec 10, 2024
Nov 19, 2024
Nov 19, 2024
Jul 16, 2024
Nov 22, 2024
Nov 8, 2024
Dec 10, 2024
Feb 18, 2025
Feb 10, 2025
Nov 22, 2024
Nov 19, 2024
Nov 19, 2024

Repository files navigation

:package_name

Code Style PHPStan Tests Code Coverage Badge Lines of Code Badge


This repository provides a scaffold for creating an Acorn package. For more detailed information, please refer to the Acorn Package Development documentation.

Follow these steps to get started:

  1. Press the "Use this template" button at the top of this repo to create a new repo with the contents of this skeleton.
  2. Run "php ./configure.php" to run a script that will replace all placeholders throughout all the files.
  3. Have fun creating your package.

Requirements

Installation

To install this package using Composer, follow these steps:

  1. Add the following to the repositories section of your composer.json:

    {
      "type": "vcs",
      "url": "git@github.com:yardinternet/skeleton-package.git"
    }
  2. Install this package with Composer:

    composer require yard/skeleton-package
  3. Run the Acorn WP-CLI command to discover this package:

    wp acorn package:discover

You can publish the config file with:

wp acorn vendor:publish --provider="Yard\SkeletonPackage\SkeletonPackageServiceProvider"

Usage

From a Blade template:

@include('skeleton-package::example')

From WP-CLI:

wp acorn example

Releases

No releases published

Packages

No packages published