factorial-io / phab-entity-scaffolder
Plugins for the phabalicious scaffolder to scaffold drupal 8 configuration
Installs: 1 408
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 5
Forks: 1
Open Issues: 10
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
- dev-master
- dev-snyk-fix-7b6f06769de2320a09e1b1c6aad5a442
- dev-feature/responsive-image-for-occ
- dev-dependabot/npm_and_yarn/vuepress/http-cache-semantics-4.1.1
- dev-dependabot/npm_and_yarn/vuepress/minimatch-3.1.2
- dev-dependabot/npm_and_yarn/vuepress/decode-uri-component-0.2.2
- dev-snyk-upgrade-9894e90d2c6c2cbea32578aa2a5fceea
- dev-feature/cleanup
- dev-field_name
- dev-feature/reference-group
- dev-feature/entit-view-export-fixes
This package is auto-updated.
Last update: 2025-01-30 02:36:50 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.