PHPackages                             dappur/dapp - 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. [CLI &amp; Console](/categories/cli)
4. /
5. dappur/dapp

ActiveLibrary[CLI &amp; Console](/categories/cli)

dappur/dapp
===========

dApp || The Command line interface for the Dappur PHP Framework

0.7.4(7y ago)134[1 issues](https://github.com/dappur/dapp/issues)MITPHPPHP &gt;=5.6

Since Sep 15Pushed 7y ago1 watchersCompare

[ Source](https://github.com/dappur/dapp)[ Packagist](https://packagist.org/packages/dappur/dapp)[ Docs](https://dappur.io)[ RSS](/packages/dappur-dapp/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (7)Dependencies (4)Versions (7)Used By (0)

dApp
====

[](#dapp)

This is the command line interface for the [Dappur PHP Framework](https://github.com/dappur/framework)

Pre-Requisites
--------------

[](#pre-requisites)

[Composer](https://getcomposer.org/) - Dependency manager is required in order to use the Dappur PHP Framework. [Installation Instructions](https://getcomposer.org/doc/00-intro.md)

[Phinx](https://phinx.org/) - Phinx is required in order to utilize the database migrations. It is recommended that you install Phinx globally via composer by running:

```
$ composer global require robmorgan/phinx

```

Installation
------------

[](#installation)

```
$ composer global require dappur/dapp

```

Usage
-----

[](#usage)

### `new`

[](#new)

This command creates a new Dappur application in the specified folder using the composer `create-project` command.

- **name** - The folder name for your new appliciation.
- **--theme -t (Optional)** - Install a custom frontend theme from a git repo. Default: `git@github.com:dappur/theme-dappur.git`
- **--dashboard -d (Optional)** - Install a custom dashboard theme from a git repo. Default: `git@github.com:dappur/theme-AdminLTE.git`
- **--vagrant (Optional)** - If set, runs `vagrant up` when installation is complete. Default: `false`

```
$ dapp new name (--theme=THEME_REPO --dashboard=THEME_REPO --vagrant)

```

### `theme`

[](#theme)

This command allows you to install official and custom themes from git repositories.

- **url (Optional)** - Git repo url for the theme that you wish to install. If no url is set, you will be presented a list of official themes to install.
- **--download-only (Optional)** - If set, the theme will be copied into the view folder, but the database will not be updated.

```
$ dapp theme (url --download-only)

```

### `controller`

[](#controller)

This command generated a new controller class in `app/src/Controller` as well as having the controller automatically added to the container dependencies with an entry in `app/src/bootstrap/controllers.php`

- **name** - The name of your controller class in `PascalCase` format. This command also supports generating nested class names, i.e. `NewController\SubController`.

```
$ dapp controller name

```

### `app`

[](#app)

This command generated a new App class template in `app/src/App` using the class name that you specify.

- **name** - The name of your class in `PascalCase` format. This command also supports generating nested class names, i.e. `NewController\SubController`.

```
$ dapp app name

```

### `middleware`

[](#middleware)

This command generated a new App class template in `app/src/Middleware` using the class name that you specify.

- **name** - The name of your class in `PascalCase` format. This command also supports generating nested class names, i.e. `MyMiddleware\SubMiddleware`.

```
$ dapp middleware name

```

### `twigex`

[](#twigex)

This command generated a new App class template in `app/src/TwigExtensions` using the class name that you specify.

- **name** - The name of your class in `PascalCase` format. This command also supports generating nested class names, i.e. `MainExtension\SubExtension`.

```
$ dapp twigex name

```

### `server`

[](#server)

This command launches an instance of PHP's built-in web server, `php -S` defaulted to port 8181.

- **port (Optional)** - Port to run the web server on. Default is 8181.

```
$ dapp server (port=PORT)

```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

Total

6

Last Release

2772d ago

### Community

Maintainers

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

---

Top Contributors

[![edwardteach42](https://avatars.githubusercontent.com/u/491332?v=4)](https://github.com/edwardteach42 "edwardteach42 (54 commits)")

---

Tags

consolecommanddappur

### Embed Badge

![Health badge](/badges/dappur-dapp/health.svg)

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

###  Alternatives

[helhum/typo3-console

A reliable and powerful command line interface for TYPO3 CMS

2939.0M192](/packages/helhum-typo3-console)[laminas/laminas-cli

Command-line interface for Laminas projects

563.7M54](/packages/laminas-laminas-cli)[zenstruck/console-extra

A modular set of features to reduce configuration boilerplate for your Symfony commands.

8057.6k1](/packages/zenstruck-console-extra)

PHPackages © 2026

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