PackagistThe PHP Package Repositoryhttps://packagist.org/?query=captchamews/captcha - Packagist
安装命令:
composer require mews/captcha
config文件下面app.php里面增加 'providers' => [ // ... Mews\Captcha\CaptchaServiceProvider::class, ]
增加别名:
'aliases' => [ // ... 'Captcha' => Mews\Captcha\Facades\Captcha::class, ]
如果需要定义自己的配置,需要生成配置文件
php artisan vendor:publish