PHPackages                             iqual/project-scaffold - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. iqual/project-scaffold

ActiveComposer-plugin[Templating &amp; Views](/categories/templating)

iqual/project-scaffold
======================

Interactive project scaffolding and initializing.

v1.1.2(6mo ago)220.7k↓35.2%1GPL-2.0-or-laterPHPPHP &gt;=7.3.0

Since Feb 2Pushed 6mo ago3 watchersCompare

[ Source](https://github.com/iqual-ch/project-scaffold)[ Packagist](https://packagist.org/packages/iqual/project-scaffold)[ Docs](https://www.iqual.ch)[ RSS](/packages/iqual-project-scaffold/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (4)Versions (6)Used By (1)

Composer Project Scaffold Plugin 🚧
==================================

[](#composer-project-scaffold-plugin-)

This Composer plugin provides the ability to add and update project scaffolding files in your project.

Using this plugin it is possible to manage scaffolding files in a composer project. The scaffolding files can be located in a separate composer package which can define assets to be added, replaced or merged into the project. When such a project asset package is added to a project interactively, including on project creation (with `composer create-project`) and during composer updates, the user can be prompted questions to fill in variables which can then be used for dynamically templated scaffolding assets.

The idea behind the plugin being, that git-commited project files which are essential to the development experience (e.g. `.lando.yml`, `.devcontainer`, `.ddev`, `.env`, etc.) or repository (e.g. `README.md`, `.gitignore`, `.github/workflows`, etc.) can be managed with composer. This allows centrally managing and codifying generic project templates. While composer allows creating new project from an existing package using `composer create-project` this adds the capability of making the bootstrapping interactive with support for templating and also adds the ability to update existing projects.

> This plugin is heavily inspired by Drupal's [`drupal/core-composer-scaffold`](https://github.com/drupal/core-composer-scaffold) reusing some of it's code for a more "general" approach to the scaffolding issue. Credit to the contributors on that project. Similar approaches that are standalone tools include [Phabalicious](https://github.com/factorial-io/phabalicious) or [Phint](https://github.com/adhocore/phint).

Quick Start 🚀
-------------

[](#quick-start-)

Require the Project Scaffold Plugin with composer in your project and allowing the plugin. It is recommended to only require the plugin as development dependency.

```
composer require iqual/project-scaffold --dev
```

To manage project scaffolding one (or more) composer package containing the assets has to be required. Once the plugin is required, the user will be prompted (if in an interactive CLI) for questions defined by the package. The answers will then be saved to the `extra.project-scaffold` section of the root project's `composer.json`. Once all required variables are available the assets will then be managed by the Project Scaffold Plugin according to the asset package's `assets` definition.

See [Creating a project asset package](./docs/asset-package.md) for a guide on how to create a project asset package.

Features ⭐
----------

[](#features-)

- Scaffolding new projects (i.e. initializing or bootstrapping)
- Interactive prompts during project creation or during updates
- Updating existing project assets or composer projects
- Managing project assets in separate versioned packages
- Managing your environment with copmoser
- Adding, replacing (including deletion) and merging of assets
- Templating assets based on variables using twig
- Saving project variables in `extra.project-scaffold` of the project's composer file
- Automating project scaffolding using composer (e.g. `composer update` in your CI)

Commands ⚡
----------

[](#commands-)

To initialize a new project (i.e. always prompting for package questions) use:

```
composer project:init
```

To update an existing project by prompting for the package questions again, and re-applying the scaffolding, use:

```
composer project:update
```

To (re-)apply the project scaffold from all asset packages use:

```
composer project:scaffold
```

Documentation 📕
---------------

[](#documentation-)

- [Creating a project asset package](./docs/asset-package.md)

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance66

Regular maintenance activity

Popularity29

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~248 days

Total

5

Last Release

208d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/90cd0a373720aba510d144cf310f4b036ae8d79f1f7385d663ae20b87a3fb017?d=identicon)[pvbergen](/maintainers/pvbergen)

![](https://www.gravatar.com/avatar/eb59715390ddb5e8d804e769ee3c1705073b18c39a0d0a7ad852c91c28be46c3?d=identicon)[martinstadelmann](/maintainers/martinstadelmann)

![](https://www.gravatar.com/avatar/43082de1b2e2b2b2d48b7ff7dbc7c60ff1d0a015123d4062ac0b49ea0b3b725f?d=identicon)[iqual](/maintainers/iqual)

---

Top Contributors

[![martinstadelmann](https://avatars.githubusercontent.com/u/25382761?v=4)](https://github.com/martinstadelmann "martinstadelmann (11 commits)")

---

Tags

composercomposer-pluginidpinit-projectphpphp-project-initplatformproject-templaterecipesscaffoldscaffoldingscaffoldtemplatebootstrapkickstartinit

### Embed Badge

![Health badge](/badges/iqual-project-scaffold/health.svg)

```
[![Health](https://phpackages.com/badges/iqual-project-scaffold/health.svg)](https://phpackages.com/packages/iqual-project-scaffold)
```

###  Alternatives

[mopa/bootstrap-bundle

Easy integration of twitters bootstrap into symfony2

7042.9M33](/packages/mopa-bootstrap-bundle)[acacha/admin-lte-template-laravel

AdminLTE template applied to Laravel Scaffolding

1.8k387.2k8](/packages/acacha-admin-lte-template-laravel)[mopa/bootstrap-sandbox-bundle

Seperate live docs from code

246.8k](/packages/mopa-bootstrap-sandbox-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
