src/Recaptcha.php
public function render($options = [ ])
    {
        $mergedOptions = array_merge($this->config['options'], $options);

        $data = [
            'public_key' => value($this->config['public_key']),
            'options'    => $mergedOptions,
            'dataParams' => $this->extractDataParams($mergedOptions),
        ];

        if (array_key_exists('lang', $mergedOptions) && "" !== trim($mergedOptions['lang'])) {
            $data['lang'] = $mergedOptions['lang'];
        }

        $view = $this->getView($options);

        return app('view')->make($view, $data);
    }
public function render($options = [ ])
    {
        $mergedOptions = array_merge($this->config['options'], $options);

        $data = [
            'public_key' => value($this->config['public_key']),
            'options'    => $mergedOptions,
            'dataParams' => $this->extractDataParams($mergedOptions),
        ];

        if (array_key_exists('lang', $mergedOptions) && "" !== trim($mergedOptions['lang'])) {
            $data['lang'] = $mergedOptions['lang'];
        }

        $view = $this->getView($options);

        return app('view')->make($view, $data);
    }
public function render ( $ options = [ ] ) { $ mergedOptions = array_merge ( $ this -> config [ 'options' ] , $ options ) ; $ data = [ 'public_key' => value ( $ this -> config [ 'public_key' ] ) , 'options' => $ mergedOptions , 'dataParams' => $ this -> extractDataParams ( $ mergedOptions ) , ] ; if ( array_key_exists ( 'lang' , $ mergedOptions ) && "" !== trim ( $ mergedOptions [ 'lang' ] ) ) { $ data [ 'lang' ] = $ mergedOptions [ 'lang' ] ; } $ view = $ this -> getView ( $ options ) ; return app ( 'view' ) -> make ( $ view , $ data ) ; }
Render the recaptcha

@param array $options

@return view
Render the recaptcha