captcha.php 962 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. return [
  3. 'characters' => '234678910',
  4. 'default' => [
  5. 'length' => 4,
  6. 'width' => 120,
  7. 'height' => 45,
  8. 'quality' => 90,
  9. ],
  10. 'flat' => [
  11. 'length' => 6,
  12. 'width' => 160,
  13. 'height' => 46,
  14. 'quality' => 90,
  15. 'lines' => 6,
  16. 'bgImage' => false,
  17. 'bgColor' => '#ecf2f4',
  18. 'fontColors'=> ['#2c3e50', '#c0392b', '#16a085', '#c0392b', '#8e44ad', '#303f9f', '#f57c00', '#795548'],
  19. 'contrast' => -5,
  20. ],
  21. 'mini' => [
  22. 'length' => 3,
  23. 'width' => 60,
  24. 'height' => 32,
  25. ],
  26. 'inverse' => [
  27. 'length' => 5,
  28. 'width' => 120,
  29. 'height' => 36,
  30. 'quality' => 90,
  31. 'sensitive' => true,
  32. 'angle' => 12,
  33. 'sharpen' => 10,
  34. 'blur' => 2,
  35. 'invert' => true,
  36. 'contrast' => -5,
  37. ]
  38. ];