PHPackages                             dhii/bootstrap - 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. dhii/bootstrap

ActiveTool[Utility &amp; Helpers](/categories/utility)

dhii/bootstrap
==============

Bootstraps a new Dhii project.

v0.2(8y ago)0228[3 issues](https://github.com/Dhii/bootstrap/issues)MITPHPPHP ^5.4 | ^7.0

Since Jul 7Pushed 7y ago3 watchersCompare

[ Source](https://github.com/Dhii/bootstrap)[ Packagist](https://packagist.org/packages/dhii/bootstrap)[ RSS](/packages/dhii-bootstrap/feed)WikiDiscussions develop Synced yesterday

READMEChangelog (2)Dependencies (1)Versions (6)Used By (0)

Bootstrap
=========

[](#bootstrap)

[![Latest Stable Version](https://camo.githubusercontent.com/8d942f6f9878d1accf637e89429918df3d1fb0524294531e443dbbc66e6e9eff/68747470733a2f2f706f7365722e707567782e6f72672f646869692f626f6f7473747261702f76657273696f6e)](https://packagist.org/packages/dhii/bootstrap)

A bootstrap tool for quickly creating standard Dhii packages.

Phing is used to build your project files, based on project information provided during the bootstrapping phase, either through command line prompts or arguments.

- Composer package info file
- CS Fixer configuration file
- PHPUnit configuration file
- Convenient composer scripts for testing and fixing code standards
- Travis configuration file
- CodeClimate configuration file
- Netbeans Project Info
- License file
- Changelog file
- Readme file
- Functional and unit test templates
- Git repository info

Usage
-----

[](#usage)

### Step 1. Cloning

[](#step-1-cloning)

#### Via Composer

[](#via-composer)

Use composer's built-in `create-project` command, as follows:

```
composer create-project dhii/bootstrap my-project

```

This will create the `my-project` directory and download the bootstrap files.

#### Via PHPStorm

[](#via-phpstorm)

Go to *File*, then *New Project*. On the left-hand side, under *PHP-Specific*, choose *Composer Project*.

Enter the location of the project, including the name of the project as a directory name. For example: `some/path/my-project`.

Under package, search for `dhii/bootstrap`, select the search result and click *Create*.

PHPStorm will download the bootstrap files and automatically install its dependencies.

### Step 2. Bootstrapping

[](#step-2-bootstrapping)

From the newly created project directory simply invoke Phing, which should be installed locally to the project.

```
cd my-project
vendor/bin/phing

```

This will run in interactive mode, which will prompt you to enter information about the project. Information regarding the prompts can be found below.

#### Quiet Mode

[](#quiet-mode)

You can invoke the bootstrapping process in quiet mode via the `-Dquiet=true` argument. This will make the script run silently without prompts but also requires you to pass the values of the prompts as command arguments, prefixed with `-D`. For example:

```
vendor/bin/phing -Dquiet=true -Dcomposer.vendor=dhii -Dcomposer.name=my-project -Dorganization="Dhii Team"...

```

#### Properties

[](#properties)

NameDescriptionDefault`project.name`The human-readable name of the project.A human-readable version of the project's directory name.`organization`The name of the organization that owns the package. Used in the license and readme files.`"Dhii"``composer.vendor`The vendor name of the Composer package.`"dhii"``composer.name`The key-like name of the Composer package.The project's directory name.`composer.desc`The description of the Composer package.None`composer.type`The Composer package type.`"library"``composer.author`The name of the author of the Composer package.`"Dhii Team"``composer.email`The email of the author of the Composer package.`"development@dhii.co"``composer.license`The license of the Composer package (currently only `MIT` and `GPL-3.0` are supported)`"MIT"``composer.minstab`The `"minimum-stability"` for the Composer package.`"dev"``composer.phpver`The PHP version constraint for the Composer package.`"^5.4 | ^7.0"``composer.autoload.dir`The directory from which to autoload classes.`"src"``autoload.ns`The namespace to use in autoloading.`A\B`, where A and B are the the camel-case versions of the `composer.vendor` and `project.name` respectively.`git.remote`The URL of the Git remote repository.`"https://github.com//"`For more information about these properties, take a peek inside the [`build.xml`](https://github.com/Dhii/bootstrap/blob/master/build.xml) file.

Known Issues
------------

[](#known-issues)

- Due to a [Composer bug](https://github.com/composer/composer/issues/3299) it is currently not possible to automatically invoke `phing` after project creation.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 78.8% 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 ~79 days

Total

2

Last Release

3153d ago

PHP version history (2 changes)v0.1PHP ^5.3 | ^7.0

v0.2PHP ^5.4 | ^7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/1894e91b32c9f80d8f30a42d360af6983a507f1cf2c621b7c9a0a0de14e011c5?d=identicon)[XedinUnknown](/maintainers/XedinUnknown)

![](https://www.gravatar.com/avatar/3a5e9c220209499fbe84cad3f5c6aac842e76bd9bf498445e0a317b94f461903?d=identicon)[mecha](/maintainers/mecha)

---

Top Contributors

[![mecha](https://avatars.githubusercontent.com/u/5425482?v=4)](https://github.com/mecha "mecha (115 commits)")[![XedinUnknown](https://avatars.githubusercontent.com/u/1428973?v=4)](https://github.com/XedinUnknown "XedinUnknown (31 commits)")

---

Tags

bootstrap

### Embed Badge

![Health badge](/badges/dhii-bootstrap/health.svg)

```
[![Health](https://phpackages.com/badges/dhii-bootstrap/health.svg)](https://phpackages.com/packages/dhii-bootstrap)
```

###  Alternatives

[hyperf/crontab

A crontab component for Hyperf.

131.6M62](/packages/hyperf-crontab)

PHPackages © 2026

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