PHP Classes
elePHPant
Icontem

File: composer.json

Recommend this page to a friend!
  Classes of Josantonius  >  PHP Skeleton  >  composer.json  >  Download  
File: composer.json
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Skeleton
Generate code and files for PHP project skeletons
Author: By
Last change:
Date: 2 months ago
Size: 2,195 bytes
 

Contents

Class file image Download
{
    "name": "josantonius/php-skeleton",
    "description": "Generic PHP project skeleton package",
    "keywords": [
        "Skeleton",
        "PSR"
    ],
    "homepage": "https://github.com/__Vendor__/__PREFIX____Package__",
    "license": "MIT",
    "authors": [
        {
            "name": "Akihito Koriyama",
            "email": "akihito.koriyama@gmail.com"
        },
        {
            "name": "Josantonius",
            "email": "hello@josantonius.com",
            "homepage": "https://josantonius.com",
            "role": "Developer"
        }
    ],
    "support": {
        "issues": "https://github.com/__vendor__/__prefix____package__/issues",
        "forum": "http://stackoverflow.com/tags/__vendor__/__prefix____package__",
        "source": "https://github.com/__vendor__/__prefix____package__"
    },
    "require": {
        "php": "^5.6 || ^7.0"
    },
    "require-dev": {
        "phpunit/phpunit": "^5.7 || ^6.0",
        "squizlabs/php_codesniffer": "^3.0",
        "friendsofphp/php-cs-fixer": "^2.3 || ^2.8",
        "phpmd/phpmd": "^2.6"
    },
    "autoload": {
        "psr-4": {
            "Josantonius\\Skeleton\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "__Vendor__\\__Package__\\": "tests/"
        }
    },
    "scripts": {
        "pre-install-cmd": [
            "Josantonius\\Skeleton\\Installer::preInstall"
        ],
        "pre-update-cmd": [
            "Josantonius\\Skeleton\\Installer::preInstall"
        ],
        "post-create-project-cmd": [
            "Josantonius\\Skeleton\\Installer::postInstall",
            "composer update"
        ],
        "phpunit": "vendor/bin/phpunit --colors=always;",
        "phpcs": "vendor/bin/phpcs --standard=phpcs.ruleset.xml $(find . -name '*.php');",
        "phpmd": "vendor/bin/phpmd src,tests text ./phpmd.xml",
        "fix": [
            "vendor/bin/php-cs-fixer fix -v",
            "vendor/bin/phpcbf src,tests"
        ],
        "tests": [
            "clear",
            "@phpmd",
            "@phpcs",
            "@phpunit"
        ]
    },
    "extra": {
        "branch-alias": {
            "dev-master": "1.0.x-dev"
        }
    }
}