2017 © Pedro PelĂĄez
 

command-line-tool scaffolder

A terminal command to generate php package boilerplate

image

jncampbell/scaffolder

A terminal command to generate php package boilerplate

  • Thursday, March 31, 2016
  • by jncampbell
  • Repository
  • 1 Watchers
  • 1 Stars
  • 26 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 4 % Grown

The README.md

Scaffolder

The Scaffolder package generates the boilerplate for a php package. Running the command creates the following directory structure:, (*1)

  packageName/    
   |–composer.json (w/ boilerplate)
   |–phpunit.xml   (w/ boilerplate)
   |–src/ 
   |–tests/
   |–public/ (optional w/ --playground option)
      |–index.php

Requirements

  • PHP

Installation

Globally (Composer)

$ composer global require jncampbell/scaffolder, (*2)

Locally (Composer)

$ composer require jncampbell/scaffolder, (*3)

Usage

The command will be stored in your vendor/bin directory, (*4)

The scaffolder new command generates the boilerplate. A name is required., (*5)

$ vendor/bin/scaffolder new nameOfYourPackage

The --playground option creates a public folder with an index.php page, (*6)

$ vendor/bin/scaffolder new nameOfYourPackage --playground

Once the boilerplate is generated, fill in the composer.json with your package's information, cd into your package directory and run a composer install. Then begin building your package., (*7)

Screenshots

These are the templates that will be generated:
composer.json file phpunit.xml file, (*8)

License

MIT, (*9)

The Versions

31/03 2016

dev-add-build-frontend-command

dev-add-build-frontend-command https://github.com/JNCampbell/scaffolder

A terminal command to generate php package boilerplate

  Sources   Download

MIT

The Requires

 

by James Campbell

31/03 2016

dev-master

9999999-dev https://github.com/JNCampbell/scaffolder

A terminal command to generate php package boilerplate

  Sources   Download

MIT

The Requires

 

by James Campbell

04/02 2016

v1.0.1

1.0.1.0 https://github.com/JNCampbell/scaffolder

A terminal command to generate php package boilerplate

  Sources   Download

MIT

The Requires

 

by James Campbell

16/12 2015

dev-develop

dev-develop https://github.com/JNCampbell/scaffolder

A terminal command to generate php package boilerplate

  Sources   Download

MIT

The Requires

 

by James Campbell

16/12 2015

v1.0.0

1.0.0.0 https://github.com/JNCampbell/scaffolder

A terminal command to generate php package boilerplate

  Sources   Download

MIT

The Requires

 

by James Campbell