org_heigl/devstructure

There is no license information available for the latest version (dev-master) of this package.

Installs: 21

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:org-heigl-devstructure

dev-master 2013-10-07 13:40 UTC

This package is auto-updated.

Last update: 2020-07-23 00:40:01 UTC


README

#DevStructure

This package will create a development structure and install all tools necessarry for easy development

During installation this package will create a complete folderstructure so that you can start coding right away.

The structure contains the following:

  • build - contains all your build artifacts
  • src - contains the sourcecode of your project
  • doc - contains the documentation of your project
  • doc/api - contains the output of phpDocumentor
  • doc/coverage - contains the code-coverage-report
  • vendor - contains all the additional libraries that you imported
  • dist - contains the distribution-files of your project
  • tests - containing your test-files

##Installation

Create your ' soon to be a project'-folder

mkdir MyNewProjectFolder

Move into your newly created project folder

cd MyNewProjectFolder

Create a composer.json-file in your newly created project-folder

Either install it by cloning the example-file into your project-folder

curl -o composer.json https://raw.github.com/heiglandreas/devstructure/master/example.composer.json
# OR
wget https://raw.github.com/heiglandreas/devstructure/master/example.composer.json > composer.json

Or you create the file with your favourite text-editor. Insert at least the following content

{
    "require-dev" : {
        "org_heigl/devpackages" : "dev-master"
    },
    "minimum-stability": "dev",
    "config" : {
        "bin-dir" : "bin"
    }
}

You can use the file example.composer.json as template.

Install composer

curl -sS https://getcomposer.org/installer | php

Run composer

php composer.phar install

Use your complete development infrastructure

Including all of the above tools including cool phing tasks that make your live easier