PHP Classes

File: composer.json

Recommend this page to a friend!
  Classes of Francesco Danti  >  PHP Sun Position Calculator  >  composer.json  >  Download  
File: composer.json
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Sun Position Calculator
Calculate Sun position astronomical distance
Author: By
Last change: Merge pull request #10 from abbadon1334/renovate/phpmd-phpmd-2.x

Update dependency phpmd/phpmd to v2.6.1
Update dependency phpmd/phpmd to v2.6.1
Merge branch 'upgrade-to-unit-8' of
Merge branch 'upgrade-to-unit-8' of
upgrade to phpunit8
Update dependency phpunit/phpunit to v8
Pin dependency kint-php/kint to 2.2.0
Date: 3 years ago
Size: 2,373 bytes


Class file image Download
    "name": "abbadon1334/sun-position-spa-php",
    "description": "solar data calculation and sun position",
    "type": "library",
    "license": "MIT",
    "authors": [
            "name": "Francesco Danti",
            "email": ""
    "minimum-stability": "dev",
    "prefer-stable": true,
    "require": {
        "php": ">=7.2"
    "require-dev": {
        "codacy/coverage": "dev-master",
        "friendsofphp/php-cs-fixer": "dev-master@dev",
        "phpmd/phpmd": "2.6.1",
        "phpmetrics/phpmetrics": "dev-master@dev",
        "phpstan/phpstan": "0.11.12",
        "phpunit/phpunit": "*",
        "squizlabs/php_codesniffer": "3.4.2",
        "symfony/yaml": "~2.1|~3.0|~4.0"
    "config": {
        "sort-packages": true
    "autoload": {
        "psr-4": {
            "SolarData\\": "src/",
            "SolarData\\Tests\\": "tests/"
    "scripts": {
        "fix": "php-cs-fixer fix src",
        "stan": "phpstan analyse src",
        "stan1": "phpstan analyse --level 1 src",
        "stan2": "phpstan analyse --level 2 src",
        "stan3": "phpstan analyse --level 3 src",
        "stan4": "phpstan analyse --level 4 src",
        "stan5": "phpstan analyse --level 5 src",
        "stan6": "phpstan analyse --level 6 src",
        "stan7": "phpstan analyse --level 7 src",
        "metrics": [
            "mkdir -p ./build/report",
            "mv ./build/report ./build/report_$(date +\"%Y.%m.%d_%H%M%S\")",
            "phpmetrics --config=./.phpmetrics.json .",
            "firefox ./build/report/phpmetrics.html/index.html"
        "metrics-clear": [
            "rm -rf ./build/report_*",
            "rm -rf ./build/report"
        "unit": [
            "mkdir -p ./build/coverage",
            "mv ./build/coverage ./build/coverage_$(date +\"%Y.%m.%d_%H%M%S\")",
            "phpunit --configuration phpunit.xml"
        "unit-html": [
            "mkdir -p ./build/coverage",
            "mv ./build/coverage ./build/coverage_$(date +\"%Y.%m.%d_%H%M%S\")",
            "phpunit --configuration phpunit.xml --coverage-html ./build/coverage",
            "firefox ./build/coverage/index.html"
        "unit-clear": [
            "rm -rf ./build/coverage_*",
            "rm -rf ./build/coverage"
For more information send a message to info at phpclasses dot org.