bnomei/kirby3-bolt

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
  "name": "bnomei/kirby3-bolt",
  "type": "kirby-plugin",
  "version": "1.2.4",
  "description": "Kirby 3 Plugin for a fast Page lookup even in big content trees",
  "license": "MIT",
  "authors": [
    {
      "name": "Bruno Meilick",
      "email": "b@bnomei.com"
    }
  ],
  "keywords": [
    "kirby3",
    "kirby3-cms",
    "kirby3-plugin",
    "page",
    "fast",
    "lookup",
    "findByID"
  ],
  "autoload": {
    "psr-4": {
      "Bnomei\\": "classes/"
    }
  },
  "config": {
    "optimize-autoloader": true
  },
  "require": {
    "php": ">=7.3.0",
    "getkirby/composer-installer": "^1.1"
  },
  "scripts": {
    "analyze": "phpstan analyse classes",
    "fix": "php-cs-fixer fix",
    "test": [
      "mkdir -p tests/logs",
      "@putenv XDEBUG_MODE=coverage",
      "phpunit --configuration ./phpunit.xml --group CreatePagesForNextRun",
      "phpunit --configuration ./phpunit.xml"
    ],
    "dist": [
      "composer install --no-dev --optimize-autoloader",
      "git rm -rf --cached .; git add .;"
    ],
    "kirby": [
      "composer install",
      "composer update",
      "composer install --working-dir=tests/kirby --no-dev --optimize-autoloader",
      "composer update --working-dir=tests/kirby"
    ]
  },
  "require-dev": {
    "getkirby/cms": "^3.2",
    "php-coveralls/php-coveralls": "^2.1",
    "phpunit/phpunit": "^9.5"
  },
  "extra": {
    "kirby-cms-path": "tests/kirby"
  },
  "suggest": {
    "bnomei/kirby3-autoid": "AutoID has build in support for Bolt which makes it incredibly fast.",
    "lukaskleinschmidt/kirby-resolve": "In using the same idea but applied routes using paths (not ids) and thus even faster."
  }
}