factorial-io / phab-entity-scaffolder
Plugins for the phabalicious scaffolder to scaffold drupal 8 configuration
Package info
github.com/factorial-io/phab-entity-scaffolder
pkg:composer/factorial-io/phab-entity-scaffolder
Requires (Dev)
- factorial-io/phabalicious: ^3.5
- php-parallel-lint/php-parallel-lint: ^1.2
- phpro/grumphp: ^0.18.0
- phpstan/phpstan: ^0.12.14
- phpunit/phpunit: ^7.3
- squizlabs/php_codesniffer: ^3.5
This package is auto-updated.
Last update: 2026-05-29 00:47:46 UTC
README
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.