# laravel-captcha **Repository Path**: larvatech/laravel-captcha ## Basic Information - **Project Name**: laravel-captcha - **Description**: Graphic verification code extension for Laravel. 适用于 Laravel 的验证码服务。 - **Primary Language**: PHP - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-05-18 - **Last Updated**: 2022-01-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # laravel-captcha 适用于 Laravel 的验证码服务。
## 环境需求 - PHP >= 7.3.0 ## Installation ```bash composer require larva/laravel-captcha -vv ``` ## 使用 路由 ```php GET /captcha ``` 该路由输出的是图片,自行在表单组织。 表单中验证 ```php $validatedData = $request->validate([ 'captcha' => 'required|string|min:6|max:7', ]); ```