bnomei/kirby3-autoid

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
  "name": "bnomei/kirby3-autoid",
  "type": "kirby-plugin",
  "version": "2.8.2",
  "description": "Automatic unique ID for Pages, Files and nested Structures including performant helpers to retrieve them. Bonus: Tiny-URL.",
  "license": "MIT",
  "authors": [
    {
      "name": "Bruno Meilick",
      "email": "b@bnomei.com"
    }
  ],
  "keywords": [
    "kirby3",
    "kirby3-cms",
    "kirby3-plugin",
    "autoid",
    "pages",
    "files",
    "incremental",
    "random",
    "uuid",
    "token",
    "lookup",
    "cache",
    "performance",
    "tiny-url",
    "structures",
    "nested",
    "sqlite",
    "sqlite-database"
  ],
  "autoload": {
    "psr-4": {
      "Bnomei\\": "classes/"
    }
  },
  "config": {
    "optimize-autoloader": true,
    "sort-packages": true,
    "allow-plugins": {
      "getkirby/composer-installer": true
    }
  },
  "require": {
    "php": ">=8.0.0",
    "getkirby/composer-installer": "^1.2",
    "hidehalo/nanoid-php": "^1.1",
    "ramsey/uuid": "^4.1.1"
  },
  "require-dev": {
    "getkirby/cms": ">3.5 <3.8",
    "php-coveralls/php-coveralls": "^2.4",
    "phpunit/phpunit": "^9.5"
  },
  "scripts": {
    "analyze": "phpstan analyse",
    "fix": "php-cs-fixer fix",
    "test": [
      "mkdir -p tests/logs",
      "@putenv XDEBUG_MODE=coverage",
      "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"
    ]
  },
  "extra": {
    "kirby-cms-path": "tests/kirby"
  },
  "suggest": {
    "bnomei/kirby3-bolt": "For a faster page lookup even with big content trees"
  }
}