PHPackages                             beapi/composer-scaffold-theme - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. beapi/composer-scaffold-theme

ActiveComposer-plugin[Utility &amp; Helpers](/categories/utility)

beapi/composer-scaffold-theme
=============================

1.3.5(1mo ago)06.8k2MITPHPPHP &gt;=5.6

Since Sep 7Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/BeAPI/composer-scaffold-theme)[ Packagist](https://packagist.org/packages/beapi/composer-scaffold-theme)[ RSS](/packages/beapi-composer-scaffold-theme/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (7)Dependencies (8)Versions (12)Used By (0)

[![Be API Github Banner](banner-github.png)](https://beapi.fr)

Composer Scaffold Theme
=======================

[](#composer-scaffold-theme)

External composer command to scaffold a WordPress theme from a Be API boilerplate:

- [Be API Frontend Framework (BFF)](https://github.com/BeAPI/beapi-frontend-framework)
- [BeAPI Blocks Theme (BBT)](https://github.com/BeAPI/beapi-blocks-theme)

Increase your workflow when creating a new theme. By launching this composer command, you will easily and quickly choose the boilerplate, theme name, namespace and bootstrap your new theme.

What ?
======

[](#what-)

A simple command to generate a theme skeleton with all the cool features made by the Be API teams.

Two boilerplates are available:

KeyBoilerplateUse case`bff`Be API Frontend FrameworkClassic PHP theme starter`bbt`Be API Blocks ThemeBlock theme starterIf you do not pass the `--boilerplate` option, the command will ask you interactively which boilerplate to use.

How ?
=====

[](#how-)

1 - Add to [Composer](http://composer.rarst.net/)
-------------------------------------------------

[](#1---add-to-composer)

- `composer require beapi/composer-scaffold-theme`

2 - Run command
---------------

[](#2---run-command)

```
composer scaffold-theme [--boilerplate|-b bff|bbt] [--boilerplate-version [BOILERPLATE-VERSION]] [--no-autoload]
```

**Options:**

- `--boilerplate`, `-b` — Boilerplate to use: `bff` or `bbt` (interactive choice if omitted)
- `--boilerplate-version` — Git ref to download (branch, tag or commit). Defaults to `Latest`
- `--no-autoload` — Skip adding the theme namespace to `composer.json` autoload
- `` — Your theme's folder name (required)

**Examples:**

```
# Interactive boilerplate choice
composer scaffold-theme my-theme

# BFF boilerplate
composer scaffold-theme --boilerplate=bff my-theme

# BBT boilerplate, specific version
composer scaffold-theme -b bbt --boilerplate-version=1.0.0 my-blocks-theme
```

Who ?
=====

[](#who-)

Created by [Be API](https://beapi.fr), the French WordPress leader agency since 2009. Based in Paris, we are more than 30 people and always [hiring](https://beapi.workable.com) some fun and talented guys. So we will be pleased to work with you.

This plugin is only maintained, which means we do not guarantee some free support. If you identify any errors or have an idea for improving this script, feel free to open an [issue](../../issues/new). Please provide as much info as needed in order to help us resolving / approve your request. And .. be patient :)

If you really like what we do or want to thank us for our quick work, feel free to [donate](https://www.paypal.me/BeAPI) as much as you want / can, even 1€ is a great gift for buying cofee :)

License
-------

[](#license)

Composer Scaffold Theme is licensed under the [GPLv3 or later](LICENSE.md).

###  Health Score

51

—

FairBetter than 95% of packages

Maintenance92

Actively maintained with recent releases

Popularity23

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~317 days

Recently: every ~430 days

Total

10

Last Release

41d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2190273?v=4)[Be API](/maintainers/beapi)[@BeAPI](https://github.com/BeAPI)

---

Top Contributors

[![Rahe](https://avatars.githubusercontent.com/u/1007502?v=4)](https://github.com/Rahe "Rahe (15 commits)")[![petitphp](https://avatars.githubusercontent.com/u/158572?v=4)](https://github.com/petitphp "petitphp (12 commits)")[![iazema](https://avatars.githubusercontent.com/u/103131439?v=4)](https://github.com/iazema "iazema (7 commits)")[![julesfell](https://avatars.githubusercontent.com/u/133788677?v=4)](https://github.com/julesfell "julesfell (4 commits)")[![asadowski10](https://avatars.githubusercontent.com/u/2150735?v=4)](https://github.com/asadowski10 "asadowski10 (2 commits)")[![Mahjouba91](https://avatars.githubusercontent.com/u/8670083?v=4)](https://github.com/Mahjouba91 "Mahjouba91 (1 commits)")

---

Tags

composer-scripts

### Embed Badge

![Health badge](/badges/beapi-composer-scaffold-theme/health.svg)

```
[![Health](https://phpackages.com/badges/beapi-composer-scaffold-theme/health.svg)](https://phpackages.com/packages/beapi-composer-scaffold-theme)
```

###  Alternatives

[altis/core

Core module for Altis

19233.0k4](/packages/altis-core)[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.6k10](/packages/helsingborg-stad-municipio)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5346.5M600](/packages/drupal-core-composer-scaffold)[drupal/core-project-message

Adds a message after Composer installation.

2125.4M213](/packages/drupal-core-project-message)[mediawiki/maps

Adds various mapping features to MediaWiki

85155.1k3](/packages/mediawiki-maps)[phpro/grumphp-shim

GrumPHP Phar distribution

284.9M348](/packages/phpro-grumphp-shim)

PHPackages © 2026

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