Download the PHP package jormin/laravel-geetest without Composer

On this page you can find all versions of the php package jormin/laravel-geetest. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-geetest

极验验证码 v3.0 Laravel 扩展包

安装

  1. 安装包文件

配置

如果 Laravel 版本大于等于 5.5, 可以直接跳过前两步,Laravel 会自动发现扩展包

  1. 注册 ServiceProvider:

  2. 添加 Alias

  3. 创建配置文件、视图级资源文件:

  4. .env 文件增加配置项 GEETEST_IDGEETEST_KEY

配置项

配置项 说明 选项 默认值
width 按钮宽度 单位可以是 px, %, em, rem, pt 300px
lang 语言,极验验证码免费版不支持多国语言 zh-cn, en, zh-tw, ja, ko, th zh-cn
product 验证码展示方式 popup, float popup
geetest_id 极验验证码ID
geetest_key 极验验证码KEY
client_fail_alert 客户端失败提示语 请完成验证码
server_fail_alert 服务端失败提示语 验证码校验失败

使用

  1. 前端使用

安装扩展后,在页面需要使用极验验证码的地方增加如下代码

  1. 服务端校验

在服务端使用 geetest 验证规则进行二次验证,示例代码:

参考图

参考项目

  1. Germey/LaravelGeetest

  2. GeeTeam/gt3-php-sdk

License

The MIT License (MIT). Please see License File for more information.


All versions of laravel-geetest with dependencies

PHP Build Version
Package Version
Requires illuminate/support Version ~5.1
php Version ~5.6|~7.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jormin/laravel-geetest contains the following files

Loading the files please wait ....