2017 © Pedro Peláez
 

library dappur

Command line interface for the Dappur PHP Framework

image

dappur/dappur

Command line interface for the Dappur PHP Framework

  • Friday, April 28, 2017
  • by jeffmthomas
  • Repository
  • 1 Watchers
  • 0 Stars
  • 21 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

dApp

This is the command line interface for the Dappur PHP Framework, (*1)

Pre-Requisites

Composer - Dependency manager is required in order to use the Dappur PHP Framework. Installation Instructions, (*2)

Phinx - Phinx is required in order to utilize the database migrations. It is recommended that you install Phinx globally via composer by running:, (*3)

$ composer global require robmorgan/phinx

Installation

$ composer global require dappur/dapp

Usage

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, (*4)

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

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., (*5)

$ dapp theme (url --download-only)

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., (*6)

$ dapp controller name

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., (*7)

$ dapp app name

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., (*8)

$ dapp middleware name

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., (*9)

$ dapp twigex name

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., (*10)

$ dapp server (port=PORT)

The Versions

28/04 2017

dev-master

9999999-dev https://dappur.io

Command line interface for the Dappur PHP Framework

  Sources   Download

MIT

The Requires

 

command console dappur

28/04 2017

0.6.8

0.6.8.0 https://dappur.io

Command line interface for the Dappur PHP Framework

  Sources   Download

MIT

The Requires

 

command console dappur

28/04 2017

0.6.7

0.6.7.0 https://dappur.io

Command line interface for the Dappur PHP Framework

  Sources   Download

MIT

The Requires

 

command console dappur

28/04 2017

0.6.6

0.6.6.0 https://dappur.io

Command line interface for the Dappur PHP Framework

  Sources   Download

MIT

The Requires

 

command console dappur

28/04 2017

0.6.4

0.6.4.0 https://dappur.io

Command line interface for the Dappur PHP Framework

  Sources   Download

MIT

The Requires

 

command console dappur

27/04 2017

0.6.3

0.6.3.0 https://dappur.io

Command line interface for the Dappur PHP Framework

  Sources   Download

MIT

The Requires

 

command console dappur

27/04 2017

0.6.2

0.6.2.0 https://dappur.io

Command line interface for the Dappur PHP Framework

  Sources   Download

MIT

The Requires

 

command console dappur

24/04 2017

0.6.1

0.6.1.0 https://dappur.io

Command line interface for the Dappur PHP Framework

  Sources   Download

MIT

The Requires

 

command console dappur