Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <pre>
- $config = [
- 'path' => 'files/images/captcha',
- 'text' => 'My some text',
- 'expiration' => 60,
- 'font' => 'app/fonts/simple.ttf',
- 'angle' => 0,
- 'width' => 300,
- 'height' => 50,
- 'fontSize' => 18,
- 'colors' => [
- 'text' => [255, 200, 168],
- 'background' => [255, 255, 255]
- ]
- ];
- Captcha::create($config);
- </pre>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement