定制 hispavista/solve-media-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

hispavista/solve-media-bundle

Composer 安装命令:

composer require hispavista/solve-media-bundle

包简介

Symfony bundle for use the solve media api

README 文档

README

#SolveMediaBundle

Installation

Installation is quick and easy, 3 steps process

  1. Install SolveMediaBundle
  2. Enable the bundle
  3. Configure the bundle

Step 1: Install SolveMediaBundle

Add the following dependency to your composer.json file:

{
    "require": {
        "_some_packages": "...",

        "hispavista/solve-media-bundle": "dev-master"

    }
}

Step 2: Enable the bundle

Finally, enable the bundle in the kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Hispavista\SolveMediaBundle\HispavistaSolveMediaBundle(),
    );
}

Step 3: Configure the bundle

hispavista_solve_media:
    challenge_key: your_challenge_key
    verification_key: your_verification_key
    autenticathion_key: your authenticacion_key

Step 4: Use it!!

In your form type

...
$builder->add('captcha', 'hispavista_solvemediacaptcha',array(
    'label' => ' ', /* Label is included in the captcha, put a blank space to hide form label*/
    'mapped' => false,
    'config' => array('theme'=> 'white', 'lang' => 'es')
 ));
...

统计信息

  • 总下载量: 4.04k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2014-12-01