Skip to content

Commit

Permalink
Merge pull request #41 from ARCANEDEV/feature-laravel_53
Browse files Browse the repository at this point in the history
Adding Laravel 5.3 support
  • Loading branch information
arcanedev-maroc authored Aug 27, 2016
2 parents e91b883 + 103a968 commit a074595
Show file tree
Hide file tree
Showing 9 changed files with 48 additions and 50 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
/.idea/
/_arcanedev/
/build/
/docs/
/vendor/
/composer.lock
/composer.phar
2 changes: 1 addition & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ checks:
tools:
external_code_coverage:
timeout: 600
runs: 12
runs: 8
php_code_sniffer:
enabled: true
config:
Expand Down
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ language: php
sudo: false

php:
- 5.5.9
- 5.5
- 5.6
- 7.0
- nightly
Expand All @@ -18,6 +16,7 @@ env:
- TESTBENCH_VERSION=3.0.*
- TESTBENCH_VERSION=3.1.*
- TESTBENCH_VERSION=3.2.*
- TESTBENCH_VERSION=3.3.*

before_script:
- travis_retry composer self-update
Expand Down
41 changes: 19 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,36 +14,33 @@
*By [ARCANEDEV©](http://www.arcanedev.net/)*

## What is reCAPTCHA?

> reCAPTCHA is a free service that protects your site from spam and abuse. It uses advanced risk analysis engine to tell humans and bots apart.
With the new API, a significant number of your valid human users will pass the reCAPTCHA challenge without having to solve a CAPTCHA.
reCAPTCHA comes in the form of a widget that you can easily add to your blog, forum, registration form, etc.
> - [Google RECAPTCHA](https://developers.google.com/recaptcha/)
![New Google reCAPTCHA](https://developers.google.com/recaptcha/images/newCaptchaAnchor.gif)

### Features

* Framework agnostic package.
* Easy setup & configuration.
* Well documented & IDE Friendly.
* Well tested with maximum code quality.
* Laravel `4.2 | 5.0 | 5.1 | 5.2 | 5.3` are supported.
* [x] PSR-7 Support (ServerRequest verification).
* Made with :heart: & :coffee:.

## Table of contents
1. [Requirements](_docs/1-Requirements.md)
2. [Version Compatibility](_docs/2-Version-Compatibility.md)
3. [Installation and Setup](_docs/3-Installation-and-Setup.md)
4. [Configuration](_docs/4-Configuration.md)
5. [Usage](_docs/5-Usage.md)
6. [Extras](_docs/6-Extras.md)
7. [FAQ](_docs/7-FAQ.md)

## DONE

- [x] Documentation
- [x] Examples
- [x] More tests and code coverage
- [x] PSR-7 Support (ServerRequest verification)
- [x] Laravel Supported (v5.2)
- [x] Laravel Supported (v5.1)
- [x] Laravel Supported (v5.0)
- [x] Laravel Supported (v4.2)

## TODOS

- [ ] What else ?

1. [Requirements](_docs/1-Requirements.md)
2. [Version Compatibility](_docs/2-Version-Compatibility.md)
3. [Installation and Setup](_docs/3-Installation-and-Setup.md)
4. [Configuration](_docs/4-Configuration.md)
5. [Usage](_docs/5-Usage.md)
6. [Extras](_docs/6-Extras.md)
7. [FAQ](_docs/7-FAQ.md)

## Contribution

Expand Down
25 changes: 18 additions & 7 deletions _docs/0-Home.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,22 @@ reCAPTCHA comes in the form of a widget that you can easily add to your blog, fo

> Source : [Google RECAPTCHA](https://developers.google.com/recaptcha/)
### Features

* Framework agnostic package.
* Easy setup & configuration.
* Well documented & IDE Friendly.
* Well tested with maximum code quality.
* Laravel `4.2 | 5.0 | 5.1 | 5.2 | 5.3` are supported.
* [x] PSR-7 Support (ServerRequest verification).
* Made with :heart: & :coffee:.

## Table of contents
1. [Requirements](1-Requirements.md)
2. [Version Compatibility](2-Version-Compatibility.md)
3. [Installation and Setup](3-Installation-and-Setup.md)
4. [Configuration](4-Configuration.md)
5. [Usage](5-Usage.md)
6. [Extras](6-Extras.md)
7. [FAQ](7-FAQ.md)

1. [Requirements](1-Requirements.md)
2. [Version Compatibility](2-Version-Compatibility.md)
3. [Installation and Setup](3-Installation-and-Setup.md)
4. [Configuration](4-Configuration.md)
5. [Usage](5-Usage.md)
6. [Extras](6-Extras.md)
7. [FAQ](7-FAQ.md)
2 changes: 1 addition & 1 deletion _docs/1-Requirements.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 1. Requirements

- PHP >= 5.5.9
- PHP >= 5.6
- ext-curl: *
- ext-json: *

Expand Down
13 changes: 7 additions & 6 deletions _docs/2-Version-Compatibility.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
# 2. Version Compatibility

| noCaptcha | Laravel |
|:----------------------------------|:---------------------------------------------------------------------------------------|
| ![noCaptcha v1.2][no_captcha_1_2] | ![Laravel v4.2][laravel_4_2] |
| ![noCaptcha v3.0][no_captcha_3_0] | ![Laravel v5.0][laravel_5_0] ![Laravel v5.1][laravel_5_1] ![Laravel v5.2][laravel_5_2] |
| noCaptcha | Laravel |
|:----------------------------------|:--------------------------------------------------------------------------------------------------------------------|
| ![noCaptcha v1.x][no_captcha_1_x] | ![Laravel v4.2][laravel_4_2] |
| ![noCaptcha v3.x][no_captcha_3_x] | ![Laravel v5.0][laravel_5_0] ![Laravel v5.1][laravel_5_1] ![Laravel v5.2][laravel_5_2] ![Laravel v5.3][laravel_5_3] |

> **Note :** This is a framework-agnostic package, so you can use any version of this package in your PHP project.
[laravel_4_2]: https://img.shields.io/badge/v4.2-supported-brightgreen.svg?style=flat-square "Laravel v4.2"
[no_captcha_1_2]: https://img.shields.io/badge/version-1.2-blue.svg?style=flat-square "noCaptcha v1.2"
[no_captcha_1_x]: https://img.shields.io/badge/version-1.*-blue.svg?style=flat-square "noCaptcha v1.*"

[laravel_5_0]: https://img.shields.io/badge/v5.0-supported-brightgreen.svg?style=flat-square "Laravel v5.0"
[laravel_5_1]: https://img.shields.io/badge/v5.1-supported-brightgreen.svg?style=flat-square "Laravel v5.1"
[laravel_5_2]: https://img.shields.io/badge/v5.2-supported-brightgreen.svg?style=flat-square "Laravel v5.2"
[no_captcha_3_0]: https://img.shields.io/badge/version-3.0-blue.svg?style=flat-square "noCaptcha v3.0"
[laravel_5_3]: https://img.shields.io/badge/v5.3-supported-brightgreen.svg?style=flat-square "Laravel v5.3"
[no_captcha_3_x]: https://img.shields.io/badge/version-3.*-blue.svg?style=flat-square "noCaptcha v3.*"
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"type": "library",
"license": "MIT",
"require": {
"php": ">=5.5.9",
"php": ">=5.6",
"ext-curl": "*",
"ext-json": "*",
"arcanedev/support": "~3.0",
Expand Down
7 changes: 0 additions & 7 deletions src/NoCaptchaServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@ class NoCaptchaServiceProvider extends ServiceProvider
| Properties
| ------------------------------------------------------------------------------------------------
*/
/**
* Vendor name.
*
* @var string
*/
protected $vendor = 'arcanedev';

/**
* Package name.
*
Expand Down

0 comments on commit a074595

Please sign in to comment.