Skip to content

Commit

Permalink
Updating README.md and Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
arcanedev-maroc committed Aug 26, 2016
1 parent 50f5704 commit 6b48bc2
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 32 deletions.
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

0 comments on commit 6b48bc2

Please sign in to comment.