Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
no-captcha
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
CENTER-TBI
no-captcha
Commits
22e87fde
Commit
22e87fde
authored
Jan 27, 2015
by
Nguyen Van Anh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
ef5af5ff
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
README.md
README.md
+8
-9
No files found.
README.md
View file @
22e87fde
...
@@ -3,6 +3,7 @@ No CAPTCHA reCAPTCHA [![Build Status](https://travis-ci.org/anhskohbo/no-captcha
...
@@ -3,6 +3,7 @@ No CAPTCHA reCAPTCHA [![Build Status](https://travis-ci.org/anhskohbo/no-captcha
![
recaptcha_anchor 2x
](
https://cloud.githubusercontent.com/assets/1529454/5291635/1c426412-7b88-11e4-8d16-46161a081ece.gif
)
![
recaptcha_anchor 2x
](
https://cloud.githubusercontent.com/assets/1529454/5291635/1c426412-7b88-11e4-8d16-46161a081ece.gif
)
> For Laravel 5, please use `master` brand.
## Installation
## Installation
...
@@ -11,14 +12,14 @@ Add the following line to the `require` section of `composer.json`:
...
@@ -11,14 +12,14 @@ Add the following line to the `require` section of `composer.json`:
```
json
```
json
{
{
"require"
:
{
"require"
:
{
"anhskohbo/no-captcha"
:
"*"
"anhskohbo/no-captcha"
:
"
1.
*"
}
}
}
}
```
```
Run
`composer update`
.
Run
`composer update`
.
## Laravel
## Laravel
4
### Setup
### Setup
...
@@ -29,6 +30,7 @@ Add ServiceProvider to the providers array in `app/config/app.php`.
...
@@ -29,6 +30,7 @@ Add ServiceProvider to the providers array in `app/config/app.php`.
```
```
### Configuration
### Configuration
Run
`php artisan config:publish anhskohbo/no-captcha`
.
Run
`php artisan config:publish anhskohbo/no-captcha`
.
Fill secret and sitekey config in
`app/config/packages/anhskohbo/no-captcha/config.php`
file:
Fill secret and sitekey config in
`app/config/packages/anhskohbo/no-captcha/config.php`
file:
...
@@ -50,14 +52,11 @@ return array(
...
@@ -50,14 +52,11 @@ return array(
Insert reCAPTCHA inside your form using one of this examples:
Insert reCAPTCHA inside your form using one of this examples:
For Laravel 4
```
php
<?php
echo
Form
::
captcha
()
?>
```
`
For Laravel 4 using Blade syntax
```
php
```
php
{{ Form::captcha() }}
{{
Form
::
open
()
}}
{{
Form
::
captcha
()
}}
{{
Form
::
submit
()
}}
{{
Form
::
close
()
}}
```
```
##### Validation
##### Validation
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment