composer.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. "name": "fidry/cpu-core-counter",
  3. "description": "Tiny utility to get the number of CPU cores.",
  4. "license": "MIT",
  5. "type": "library",
  6. "keywords": [
  7. "cpu",
  8. "core"
  9. ],
  10. "authors": [
  11. {
  12. "name": "Théo FIDRY",
  13. "email": "theo.fidry@gmail.com"
  14. }
  15. ],
  16. "require": {
  17. "php": "^7.2 || ^8.0"
  18. },
  19. "require-dev": {
  20. "fidry/makefile": "^0.2.0",
  21. "fidry/php-cs-fixer-config": "^1.1.2",
  22. "phpstan/extension-installer": "^1.2.0",
  23. "phpstan/phpstan": "^1.9.2",
  24. "phpstan/phpstan-deprecation-rules": "^1.0.0",
  25. "phpstan/phpstan-phpunit": "^1.2.2",
  26. "phpstan/phpstan-strict-rules": "^1.4.4",
  27. "phpunit/phpunit": "^8.5.31 || ^9.5.26",
  28. "webmozarts/strict-phpunit": "^7.5"
  29. },
  30. "autoload": {
  31. "psr-4": {
  32. "Fidry\\CpuCoreCounter\\": "src/"
  33. }
  34. },
  35. "autoload-dev": {
  36. "psr-4": {
  37. "Fidry\\CpuCoreCounter\\Test\\": "tests/"
  38. }
  39. },
  40. "config": {
  41. "allow-plugins": {
  42. "ergebnis/composer-normalize": true,
  43. "infection/extension-installer": true,
  44. "phpstan/extension-installer": true
  45. },
  46. "sort-packages": true
  47. }
  48. }