for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
if ( ! function_exists('captcha')) {
/**
* @param string $config
* @return mixed
*/
function captcha($config = 'default')
{
return app('captcha')->create($config);
}
if ( ! function_exists('captcha_src')) {
* @return string
function captcha_src($config = 'default')
return app('captcha')->src($config);
if ( ! function_exists('captcha_img')) {
function captcha_img($config = 'default')
return app('captcha')->img($config);
if ( ! function_exists('captcha_check')) {
* @param $value
* @return bool
function captcha_check($value)
return app('captcha')->check($value);
if ( ! function_exists('captcha_api_check')) {
function captcha_api_check($value, $key)
return app('captcha')->check_api($value, $key);