factorial-io / phab-entity-scaffolder

Port of entity-scaffolder for D8 using phabalicious for scaffolding files

Home Page:https://factorial-io.github.io/phab-entity-scaffolder/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Phab Entity Scaffolder

factorial-io

Port of entity-scaffolder for D8 using phabalicious for scaffolding files and configuration.

Installation

As long as this project is not available at packagist.org, add this repo to your composer.json:

{
  "repositories": [
    {
      "type": "vcs",
      "url": "git@github.com:factorial-io/phab-entity-scaffolder.git"
    }
  ]
}

Then require this project via composer as dev dependency:

composer require --dev factorial-io/phab-entity-scaffolder:dev-master

This should download the project and install it into vendor.

Configuration

Add this to your yml-file which controls the scaffolding:

questions: []
assets: []

plugins:
  - vendor/factorial-io/phab-entity-scaffolder/src/transformers

scaffold:
  # transform yaml files using the ImageStyleTransformer.
  - transform(imagestyles, image_styles, config/sync)

Usage

Then you can scaffold the configuration via phabalicious:

phab scaffold <path-to-your-scaffold.yml>

Contribute

Contribution are more than welcome. Please fork the repo, add a test-case and an implementation and create a pull-request. Note that we are using github-flow as a merge-strategy.

About

Port of entity-scaffolder for D8 using phabalicious for scaffolding files

https://factorial-io.github.io/phab-entity-scaffolder/


Languages

Language:PHP 97.2%Language:JavaScript 2.1%Language:Shell 0.7%