composer.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {
  2. "name": "godruoyi/php-snowflake",
  3. "description": "An ID Generator for PHP based on Snowflake Algorithm (Twitter announced).",
  4. "license": "MIT",
  5. "keywords": [
  6. "unique id",
  7. "snowflake algorithm",
  8. "php snowflake",
  9. "laravel snowflake",
  10. "order id",
  11. "unique order id",
  12. "php unique id",
  13. "sonyflake",
  14. "php sonyflake"
  15. ],
  16. "homepage": "https://github.com/godruoyi/php-snowflake",
  17. "authors": [{
  18. "name": "Godruoyi",
  19. "email": "g@godruoyi.com"
  20. }],
  21. "require": {
  22. "php-64bit": ">=8.1"
  23. },
  24. "require-dev": {
  25. "phpunit/phpunit": "^10",
  26. "laravel/pint": "^1.10",
  27. "phpstan/phpstan": "^1.10",
  28. "illuminate/contracts": "^10.0 || ^11.0",
  29. "predis/predis": "^2.0",
  30. "ext-redis": "*",
  31. "ext-swoole": "*"
  32. },
  33. "autoload-dev": {
  34. "psr-4": {
  35. "Tests\\": "tests"
  36. }
  37. },
  38. "autoload": {
  39. "psr-4": {
  40. "Godruoyi\\Snowflake\\": "src"
  41. }
  42. },
  43. "scripts": {
  44. "test": "vendor/bin/phpunit --display-incomplete --display-skipped --display-deprecations --display-errors --display-notices --display-warnings",
  45. "phpstan": "vendor/bin/phpstan",
  46. "pint": "vendor/bin/pint --config pint.json"
  47. },
  48. "config": {
  49. "allow-plugins": {
  50. "pestphp/pest-plugin": true
  51. }
  52. }
  53. }