{
  "name": "codelytv/php-bootstrap",
  "description": "Starting point if you want to bootstrap a project in PHP following best practices.",
  "type": "project",
  "keywords": ["bootstrap", "skeleton", "kata", "TDD", "boilerplate"],
  "homepage": "https://codely.tv",
  "license": "MIT",
  "authors": [
    {
      "name": "CodelyTV",
      "homepage": "https://codely.tv"
    }
  ],
  "require": {
    "php": ">=7.4"
  },
  "require-dev": {
    "squizlabs/php_codesniffer": "^3.5",
    "phpunit/phpunit": "^9.4"
  },
  "autoload": {
    "psr-4": {
      "CodelyTv\\": "src/"
    }
  },
  "autoload-dev": {
    "psr-4": {
      "CodelyTv\\Tests\\": "tests/"
    }
  },
  "minimum-stability": "stable",
  "config": {
    "optimize-autoloader": true
  },
  "prefer-stable": true,
  "scripts": {
    "style": "phpcs -p --standard=PSR2 src tests",
    "fix-style": "phpcbf -p --standard=PSR2 src tests",
    "phpunit": "phpunit --configuration phpunit.xml",
    "test": [
      "phpcs -p --standard=PSR2 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src tests",
      "phpunit --configuration phpunit.xml"
    ]
  }
}

{
  "name": "codelytv/php-bootstrap",
  "description": "Starting point if you want to bootstrap a project in PHP following best practices.",
  "type": "project",
  "keywords": ["bootstrap", "skeleton", "kata", "TDD", "boilerplate"],
  "homepage": "https://codely.tv",
  "license": "MIT",
  "authors": [
    {
      "name": "CodelyTV",
      "homepage": "https://codely.tv"
    }
  ],
  "require": {
    "php": "^7.4||^8.0"
  },
  "require-dev": {
    "squizlabs/php_codesniffer": "^3.5",
    "phpunit/phpunit": "^9.4"
  },
  "autoload": {
    "psr-4": {
      "CodelyTv\\": "src/"
    }
  },
  "autoload-dev": {
    "psr-4": {
      "CodelyTv\\Tests\\": "tests/"
    }
  },
  "minimum-stability": "stable",
  "config": {
    "optimize-autoloader": true
  },
  "prefer-stable": true,
  "scripts": {
    "style": "phpcs -p --standard=PSR2 src tests",
    "fix-style": "phpcbf -p --standard=PSR2 src tests",
    "phpunit": "phpunit --configuration phpunit.xml",
    "test": [
      "phpcs -p --standard=PSR2 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src tests",
      "phpunit --configuration phpunit.xml"
    ]
  }
}

Allow use this template with PHP 8.x
Allow use this template with PHP 8.x

With the current PHP version constraint it's not possible to use this template with a PHP 8 version.

With this PR, it's possible to use it.