| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- {
- "name": "ramsey/uuid",
- "description": "A PHP library for generating and working with universally unique identifiers (UUIDs).",
- "license": "MIT",
- "type": "library",
- "keywords": [
- "uuid",
- "identifier",
- "guid"
- ],
- "require": {
- "php": "^8.0",
- "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11 || ^0.12 || ^0.13",
- "ramsey/collection": "^1.2 || ^2.0"
- },
- "require-dev": {
- "captainhook/captainhook": "^5.25",
- "captainhook/plugin-composer": "^5.3",
- "dealerdirect/phpcodesniffer-composer-installer": "^1.0",
- "ergebnis/composer-normalize": "^2.47",
- "mockery/mockery": "^1.6",
- "paragonie/random-lib": "^2",
- "php-mock/php-mock": "^2.6",
- "php-mock/php-mock-mockery": "^1.5",
- "php-parallel-lint/php-parallel-lint": "^1.4.0",
- "phpbench/phpbench": "^1.2.14",
- "phpstan/extension-installer": "^1.4",
- "phpstan/phpstan": "^2.1",
- "phpstan/phpstan-mockery": "^2.0",
- "phpstan/phpstan-phpunit": "^2.0",
- "phpunit/phpunit": "^9.6",
- "slevomat/coding-standard": "^8.18",
- "squizlabs/php_codesniffer": "^3.13"
- },
- "replace": {
- "rhumsaa/uuid": "self.version"
- },
- "suggest": {
- "ext-bcmath": "Enables faster math with arbitrary-precision integers using BCMath.",
- "ext-gmp": "Enables faster math with arbitrary-precision integers using GMP.",
- "ext-uuid": "Enables the use of PeclUuidTimeGenerator and PeclUuidRandomGenerator.",
- "paragonie/random-lib": "Provides RandomLib for use with the RandomLibAdapter",
- "ramsey/uuid-doctrine": "Allows the use of Ramsey\\Uuid\\Uuid as Doctrine field type."
- },
- "minimum-stability": "dev",
- "prefer-stable": true,
- "autoload": {
- "psr-4": {
- "Ramsey\\Uuid\\": "src/"
- },
- "files": [
- "src/functions.php"
- ]
- },
- "autoload-dev": {
- "psr-4": {
- "Ramsey\\Uuid\\Benchmark\\": "tests/benchmark/",
- "Ramsey\\Uuid\\StaticAnalysis\\": "tests/static-analysis/",
- "Ramsey\\Uuid\\Test\\": "tests/"
- }
- },
- "config": {
- "allow-plugins": {
- "captainhook/plugin-composer": true,
- "dealerdirect/phpcodesniffer-composer-installer": true,
- "ergebnis/composer-normalize": true,
- "phpstan/extension-installer": true
- },
- "sort-packages": true
- },
- "extra": {
- "captainhook": {
- "force-install": true
- }
- },
- "scripts": {
- "dev:analyze": "@dev:analyze:phpstan",
- "dev:analyze:phpstan": "phpstan analyse --ansi --memory-limit 1G",
- "dev:bench": "@php -d 'error_reporting=24575' vendor/bin/phpbench run",
- "dev:build:clean": "git clean -fX build/",
- "dev:lint": [
- "@dev:lint:syntax",
- "@dev:lint:style"
- ],
- "dev:lint:fix": "phpcbf --cache=build/cache/phpcs.cache",
- "dev:lint:style": "phpcs --cache=build/cache/phpcs.cache --colors",
- "dev:lint:syntax": "parallel-lint --colors src/ tests/",
- "dev:test": [
- "@dev:lint",
- "@dev:bench",
- "@dev:analyze",
- "@dev:test:unit"
- ],
- "dev:test:coverage:ci": "@php -d 'xdebug.mode=coverage' vendor/bin/phpunit --colors=always --coverage-text --coverage-clover build/coverage/clover.xml --coverage-cobertura build/coverage/cobertura.xml --coverage-crap4j build/coverage/crap4j.xml --coverage-xml build/coverage/coverage-xml --log-junit build/junit.xml",
- "dev:test:coverage:html": "@php -d 'xdebug.mode=coverage' vendor/bin/phpunit --colors=always --coverage-html build/coverage/coverage-html/",
- "dev:test:unit": "phpunit --colors=always",
- "test": "@dev:test"
- },
- "scripts-descriptions": {
- "dev:analyze": "Runs all static analysis checks.",
- "dev:analyze:phpstan": "Runs the PHPStan static analyzer.",
- "dev:bench": "Runs PHPBench benchmark tests.",
- "dev:build:clean": "Cleans the build/ directory.",
- "dev:lint": "Runs all linting checks.",
- "dev:lint:fix": "Auto-fixes coding standards issues, if possible.",
- "dev:lint:style": "Checks for coding standards issues.",
- "dev:lint:syntax": "Checks for syntax errors.",
- "dev:test": "Runs linting, static analysis, and unit tests.",
- "dev:test:coverage:ci": "Runs unit tests and generates CI coverage reports.",
- "dev:test:coverage:html": "Runs unit tests and generates HTML coverage report.",
- "dev:test:unit": "Runs unit tests.",
- "test": "Runs linting, static analysis, and unit tests."
- }
- }
|