Skip to content

Commit

Permalink
Merge pull request #16 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 committed Aug 26, 2016
2 parents 969988d + 6b48bc2 commit a90ccce
Show file tree
Hide file tree
Showing 46 changed files with 296 additions and 338 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/_docs export-ignore
/tests export-ignore
/.editorconfig export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.scrutinizer.yml export-ignore
Expand Down
6 changes: 2 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/.idea/
/_arcanedev/
/build/
/vendor/
composer.lock
composer.phar
/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
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Feel free to check out the [releases](https://github.com/ARCANEDEV/SEO-Helper/re
* Easy setup & configuration.
* Well documented & IDE Friendly.
* Well tested with maximum code quality.
* Laravel `5.0 | 5.1 | 5.2` are supported.
* Laravel `5.0 | 5.1 | 5.2 | 5.3` are supported.
* Made with :heart: & :coffee:.

## Table of contents
Expand All @@ -38,10 +38,6 @@ Feel free to check out the [releases](https://github.com/ARCANEDEV/SEO-Helper/re
5. [API](_docs/5-API.md)
6. [Extras](_docs/6-Extras.md)

## TODO

- [ ] Laravel `5.3` support.

## Contribution

Any ideas are welcome. Feel free to submit any issues or pull requests, please check the [contribution guidelines](CONTRIBUTING.md).
Expand Down
2 changes: 1 addition & 1 deletion _docs/0-Home.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ SEO Helper is a package that provides tools and helpers for SEO (Search Engine O
* Easy setup & configuration.
* Well documented & IDE Friendly.
* Well tested with maximum code quality.
* Laravel `5.0 | 5.1 | 5.2` are supported.
* Laravel `5.0 | 5.1 | 5.2 | 5.3` are supported.
* Made with :heart: & :coffee:.

## Table of contents
Expand Down
2 changes: 1 addition & 1 deletion _docs/1-Requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
The SEO Helper package has a few system requirements:

```
- PHP >= 5.5.9
- PHP >= 5.6
```
2 changes: 1 addition & 1 deletion _docs/2-Installation-and-Setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Or by adding the package to your `composer.json`.
```json
{
"require": {
"arcanedev/seo-helper": "~0.15"
"arcanedev/seo-helper": "~1.0"
}
}
```
Expand Down
56 changes: 32 additions & 24 deletions _docs/5-API.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ interface Renderable

use Arcanedev\SeoHelper\Contracts\Renderable;

interface TitleInterface extends Renderable
interface Title extends Renderable
{
/* ------------------------------------------------------------------------------------------------
| Getters & Setters
Expand Down Expand Up @@ -182,7 +182,7 @@ interface TitleInterface extends Renderable

use Arcanedev\SeoHelper\Contracts\Renderable;

interface DescriptionInterface extends Renderable
interface Description extends Renderable
{
/* ------------------------------------------------------------------------------------------------
| Getters & Setters
Expand Down Expand Up @@ -250,7 +250,7 @@ interface DescriptionInterface extends Renderable

use Arcanedev\SeoHelper\Contracts\Renderable;

interface KeywordsInterface extends Renderable
interface Keywords extends Renderable
{
/* ------------------------------------------------------------------------------------------------
| Getters & Setters
Expand Down Expand Up @@ -312,7 +312,7 @@ interface KeywordsInterface extends Renderable

use Arcanedev\SeoHelper\Contracts\Renderable;

interface MiscTagsInterface extends Renderable
interface MiscTags extends Renderable
{
/* ------------------------------------------------------------------------------------------------
| Getters & Setters
Expand Down Expand Up @@ -391,7 +391,7 @@ interface MiscTagsInterface extends Renderable

use Arcanedev\SeoHelper\Contracts\Renderable;

interface WebmastersInterface extends Renderable
interface Webmasters extends Renderable
{
/* ------------------------------------------------------------------------------------------------
| Main Functions
Expand Down Expand Up @@ -432,7 +432,7 @@ interface WebmastersInterface extends Renderable

use Arcanedev\SeoHelper\Contracts\Renderable;

interface AnalyticsInterface extends Renderable
interface Analytics extends Renderable
{
/* ------------------------------------------------------------------------------------------------
| Getters & Setters
Expand All @@ -456,7 +456,7 @@ interface AnalyticsInterface extends Renderable

use Arcanedev\SeoHelper\Contracts\Renderable;

interface OpenGraphInterface extends Renderable
interface OpenGraph extends Renderable
{
/* ------------------------------------------------------------------------------------------------
| Getters & Setters
Expand Down Expand Up @@ -559,7 +559,7 @@ use Arcanedev\SeoHelper\Contracts\Renderable;
* @package Arcanedev\SeoHelper\Contracts\Entities\Twitter
* @author ARCANEDEV <arcanedev.maroc@gmail.com>
*/
interface TwitterCardInterface extends Renderable
interface TwitterCard extends Renderable
{
/* ------------------------------------------------------------------------------------------------
| Constants
Expand Down Expand Up @@ -670,7 +670,7 @@ interface TwitterCardInterface extends Renderable

use Arcanedev\SeoHelper\Contracts\Renderable;

interface MetaInterface extends Renderable
interface Meta extends Renderable
{
/* ------------------------------------------------------------------------------------------------
| Getters and Setters
Expand Down Expand Up @@ -733,6 +733,12 @@ interface MetaInterface extends Renderable
```php
<?php namespace Arcanedev\SeoHelper\Contracts;

use Arcanedev\SeoHelper\Contracts\Entities\Description as DescriptionContract;
use Arcanedev\SeoHelper\Contracts\Entities\Keywords as KeywordsContract;
use Arcanedev\SeoHelper\Contracts\Entities\MiscTags as MiscTagsContract;
use Arcanedev\SeoHelper\Contracts\Entities\Title as TitleContract;
use Arcanedev\SeoHelper\Contracts\Entities\Webmasters as WebmastersContract;

/**
* Interface SeoMeta
*
Expand All @@ -748,47 +754,47 @@ interface SeoMeta extends Renderable
/**
* Set the Title instance.
*
* @param \Arcanedev\SeoHelper\Contracts\Entities\TitleInterface $title
* @param \Arcanedev\SeoHelper\Contracts\Entities\Title $title
*
* @return self
*/
public function title(TitleInterface $title);
public function title(TitleContract $title);

/**
* Set the Description instance.
*
* @param \Arcanedev\SeoHelper\Contracts\Entities\DescriptionInterface $description
* @param \Arcanedev\SeoHelper\Contracts\Entities\Description $description
*
* @return self
*/
public function description(DescriptionInterface $description);
public function description(DescriptionContract $description);

/**
* Set the Keywords instance.
*
* @param \Arcanedev\SeoHelper\Contracts\Entities\KeywordsInterface $keywords
* @param \Arcanedev\SeoHelper\Contracts\Entities\Keywords $keywords
*
* @return self
*/
public function keywords(KeywordsInterface $keywords);
public function keywords(KeywordsContract $keywords);

/**
* Set the MiscTags instance.
*
* @param \Arcanedev\SeoHelper\Contracts\Entities\MiscTagsInterface $misc
* @param \Arcanedev\SeoHelper\Contracts\Entities\MiscTags $misc
*
* @return self
*/
public function misc(MiscTagsInterface $misc);
public function misc(MiscTagsContract $misc);

/**
* Set the Webmasters instance.
*
* @param \Arcanedev\SeoHelper\Contracts\Entities\WebmastersInterface $webmasters
* @param \Arcanedev\SeoHelper\Contracts\Entities\Webmasters $webmasters
*
* @return self
*/
public function webmasters(WebmastersInterface $webmasters);
public function webmasters(WebmastersContract $webmasters);

/**
* Set the title.
Expand Down Expand Up @@ -918,7 +924,7 @@ interface SeoMeta extends Renderable
```php
<?php namespace Arcanedev\SeoHelper\Contracts;

use Arcanedev\SeoHelper\Contracts\Entities\OpenGraphInterface;
use Arcanedev\SeoHelper\Contracts\Entities\OpenGraph as OpenGraphContract;

interface SeoOpenGraph extends Renderable
{
Expand All @@ -929,11 +935,11 @@ interface SeoOpenGraph extends Renderable
/**
* Set the Open Graph instance.
*
* @param OpenGraphInterface $openGraph
* @param \Arcanedev\SeoHelper\Contracts\Entities\OpenGraph $openGraph
*
* @return self
*/
public function setOpenGraph(OpenGraphInterface $openGraph);
public function setOpenGraph(OpenGraphContract $openGraph);

/**
* Set the open graph prefix.
Expand Down Expand Up @@ -1024,6 +1030,8 @@ interface SeoOpenGraph extends Renderable
```php
<?php namespace Arcanedev\SeoHelper\Contracts;

use Arcanedev\SeoHelper\Entities\Twitter\Card as CardContract;

interface SeoTwitter extends Renderable
{
/* ------------------------------------------------------------------------------------------------
Expand All @@ -1033,11 +1041,11 @@ interface SeoTwitter extends Renderable
/**
* Set the twitter card instance.
*
* @param TwitterCardInterface $card
* @param \Arcanedev\SeoHelper\Entities\Twitter\Card $card
*
* @return self
*/
public function setCard(TwitterCardInterface $card);
public function setCard(CardContract $card);

/**
* Set the card type.
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "arcanedev/seo-helper",
"description": "SEO Helper is a package for Laravel 5 that provides tools and helpers for SEO.",
"description": "SEO Helper is a framework agnostic package that provides tools & helpers for SEO (Laravel supported).",
"keywords": [
"laravel", "seo", "google", "bing", "alexa", "yandex", "webmaster",
"twitter", "opengraph", "og", "opengraph protocol", "helper"
"laravel", "seo", "google", "bing", "alexa", "yandex", "webmaster", "helper",
"title", "description", "keywords", "metas", "tags", "twitter", "opengraph", "og"
],
"homepage": "https://github.com/ARCANEDEV/SEO-Helper",
"authors": [
Expand All @@ -17,7 +17,7 @@
"type": "library",
"license": "MIT",
"require": {
"php": ">=5.5.9",
"php": ">=5.6",
"arcanedev/support": "~3.0"
},
"require-dev": {
Expand Down
Loading

0 comments on commit a90ccce

Please sign in to comment.