Skip to content

Commit 350c877

Browse files
Updating misc files
1 parent b3f29a3 commit 350c877

File tree

12 files changed

+101
-134
lines changed

12 files changed

+101
-134
lines changed

.gitattributes

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1+
* text=auto
2+
3+
/.github export-ignore
4+
/_docs export-ignore
15
/tests export-ignore
2-
/.editorconfig export-ignore
3-
/.gitattributes export-ignore
4-
/.gitignore export-ignore
5-
/.scrutinizer.yml export-ignore
6-
/.travis.yml export-ignore
7-
/phpunit.xml export-ignore
6+
.editorconfig export-ignore
7+
.gitattributes export-ignore
8+
.gitignore export-ignore
9+
.scrutinizer.yml export-ignore
10+
.travis.yml export-ignore
11+
phpunit.xml export-ignore
12+
CONTRIBUTING.md export-ignore

.github/ISSUE_TEMPLATE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
- Spam Blocker Version: #.#.#
2+
- Laravel Version: #.#.#
3+
- PHP Version: #.#.#
4+
5+
### Description:
6+
7+
### Steps To Reproduce:

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2016 ARCANEDEV - Spam Blocker
3+
Copyright (c) 2016-2017 ARCANEDEV - Spam Blocker
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@ Spam Blocker is a package that allows you to block referral spammers.
1616

1717
## Table of contents
1818

19-
1. [Requirements](_docs/1.Requirements.md)
20-
2. [Installation and Setup](_docs/2.Installation-and-Setup.md)
21-
3. [Configuration](_docs/3.Configuration.md)
22-
4. [Usage](_docs/4.Usage.md)
19+
1. [Installation and Setup](_docs/1.Installation-and-Setup.md)
20+
2. [Configuration](_docs/2.Configuration.md)
21+
3. [Usage](_docs/3.Usage.md)
2322

2423
### Features
2524

_docs/0.Home.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@ Spam Blocker is a package that allows you to block referral spammers.
77
* Easy setup & configuration.
88
* Well documented & IDE Friendly.
99
* Well tested with maximum code quality.
10-
* Laravel `5.1 | 5.2` are supported.
10+
* Laravel `5.1 | 5.2 | 5.3` are supported.
1111
* Made with :heart: & :coffee:.
1212

1313
## Table of contents
1414

15-
1. [Requirements](1-Requirements.md)
16-
2. [Installation and Setup](2-Installation-and-Setup.md)
17-
3. [Configuration](3-Configuration.md)
18-
4. [Usage](4-Usage.md)
15+
1. [Installation and Setup](1.Installation-and-Setup.md)
16+
2. [Configuration](2.Configuration.md)
17+
3. [Usage](3.Usage.md)

_docs/1.Installation-and-Setup.md

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# 1. Installation
2+
3+
## Table of contents
4+
5+
1. [Installation and Setup](1.Installation-and-Setup.md)
6+
2. [Configuration](2.Configuration.md)
7+
3. [Usage](3.Usage.md)
8+
9+
## Server Requirements
10+
11+
The Spam Blocker package has a few system requirements:
12+
13+
```
14+
- PHP >= 5.6.4
15+
```
16+
17+
## Version Compatibility
18+
19+
| Spam Blocker | Laravel |
20+
|:-------------------------------------------|:------------------------------------------------------------------------------------------------------------ |
21+
| ![Spam Blocker v1.1.x][spam_blocker_1_2_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] |
22+
| ![Spam Blocker v1.2.x][spam_blocker_1_3_x] | ![Laravel v5.4][laravel_5_4] |
23+
24+
[laravel_5_0]: https://img.shields.io/badge/v5.0-supported-brightgreen.svg?style=flat-square "Laravel v5.0"
25+
[laravel_5_1]: https://img.shields.io/badge/v5.1-supported-brightgreen.svg?style=flat-square "Laravel v5.1"
26+
[laravel_5_2]: https://img.shields.io/badge/v5.2-supported-brightgreen.svg?style=flat-square "Laravel v5.2"
27+
[laravel_5_3]: https://img.shields.io/badge/v5.3-supported-brightgreen.svg?style=flat-square "Laravel v5.3"
28+
[laravel_5_4]: https://img.shields.io/badge/v5.4-supported-brightgreen.svg?style=flat-square "Laravel v5.4"
29+
30+
[spam_blocker_1_2_x]: https://img.shields.io/badge/version-1.2.*-blue.svg?style=flat-square "Spam Blocker v1.2.*"
31+
[spam_blocker_1_3_x]: https://img.shields.io/badge/version-1.3.*-blue.svg?style=flat-square "Spam Blocker v1.3.*"
32+
33+
## Composer
34+
35+
You can install this package via [Composer](http://getcomposer.org/) by running this command: `composer require arcanedev/spam-blocker`.
36+
37+
## Laravel
38+
39+
### Setup
40+
41+
Once the package is installed, you can register the service provider in `config/app.php` in the `providers` array:
42+
43+
```php
44+
// config/app.php
45+
46+
'providers' => [
47+
...
48+
Arcanedev\SpamBlocker\SpamBlockerServiceProvider::class,
49+
],
50+
```
51+
52+
(**Optional**) And for the Facades:
53+
54+
```php
55+
// config/app.php
56+
57+
'aliases' => [
58+
...
59+
'SpamBlocker' => Arcanedev\SpamBlocker\Facades\SpamBlocker::class,
60+
];
61+
```
62+
63+
### Artisan commands
64+
65+
To publish the config file, run this command:
66+
67+
```bash
68+
php artisan vendor:publish --provider="Arcanedev\SpamBlocker\SpamBlockerServiceProvider"
69+
```

_docs/1.Requirements.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

_docs/2.Configuration.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# 2. Configuration
2+
3+
### Coming Soon…

_docs/2.Installation-and-Setup.md

Lines changed: 0 additions & 59 deletions
This file was deleted.

_docs/3.Configuration.md

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)