Property | Type | Description | |
---|---|---|---|
$analytics | Arcanedev\SeoHelper\Contracts\Entities\Analytics | The Analytics instance. | |
$currentUrl | string | Current URL. | |
$description | Arcanedev\SeoHelper\Contracts\Entities\Description | The Description instance. | |
$keywords | Arcanedev\SeoHelper\Contracts\Entities\Keywords | The Keywords instance. | |
$misc | Arcanedev\SeoHelper\Contracts\Entities\MiscTags | The MiscTags instance. | |
$title | Arcanedev\SeoHelper\Contracts\Entities\Title | The Title instance. | |
$webmasters | Arcanedev\SeoHelper\Contracts\Entities\Webmasters | The Webmasters instance. |
Method | Description | |
---|---|---|
__construct ( array $configs ) | Make SeoMeta instance. | |
__toString ( ) : string | Render all seo tags. | |
addKeyword ( string $keyword ) : |
Add a keyword. | |
addKeywords ( array $keywords ) : |
Add many keywords. | |
addMeta ( string $name, string $content ) : |
Add a meta tag. | |
addMetas ( array $metas ) : |
Add many meta tags. | |
addWebmaster ( string $webmaster, string $content ) : |
Add a webmaster tool site verifier. | |
description ( Arcanedev\SeoHelper\Contracts\Entities\Description $description ) : |
Set the Description instance. | |
keywords ( Arcanedev\SeoHelper\Contracts\Entities\Keywords $keywords ) : |
Set the Keywords instance. | |
misc ( Arcanedev\SeoHelper\Contracts\Entities\MiscTags $misc ) : |
Set the MiscTags instance. | |
removeMeta ( string | array $names ) : |
Remove a meta from the meta collection by key. | |
render ( ) : string | Render all seo tags. | |
resetMetas ( ) : |
Reset the meta collection except the description and keywords metas. | |
resetWebmasters ( ) : |
Reset all webmaster tool site verifier metas. | |
setDescription ( string $content ) : |
Set the description content. | |
setGoogleAnalytics ( string $code ) : |
Set the Google Analytics code. | |
setKeywords ( array | string $content ) : |
Set the keywords content. | |
setSiteName ( string $siteName ) : self | Set the site name. | |
setTitle ( string $title, string $siteName = null, string $separator = null ) : |
Set the title. | |
setUrl ( string $url ) : |
Set the current URL. | |
title ( Arcanedev\SeoHelper\Contracts\Entities\Title $title ) : |
Set the Title instance. | |
webmasters ( Arcanedev\SeoHelper\Contracts\Entities\Webmasters $webmasters ) : |
Set the Webmasters instance. |
Method | Description | |
---|---|---|
analytics ( Arcanedev\SeoHelper\Contracts\Entities\Analytics $analytics ) : |
Set the Analytics instance. | |
init ( ) | Start the engine. |
public __construct ( array $configs ) | ||
$configs | array |
public addKeyword ( string $keyword ) : |
||
$keyword | string | |
return |
public addKeywords ( array $keywords ) : |
||
$keywords | array | |
return |
public addWebmaster ( string $webmaster, string $content ) : |
||
$webmaster | string | |
$content | string | |
return |
public description ( Arcanedev\SeoHelper\Contracts\Entities\Description $description ) : |
||
$description | Arcanedev\SeoHelper\Contracts\Entities\Description | |
return |
public keywords ( Arcanedev\SeoHelper\Contracts\Entities\Keywords $keywords ) : |
||
$keywords | Arcanedev\SeoHelper\Contracts\Entities\Keywords | |
return |
public misc ( Arcanedev\SeoHelper\Contracts\Entities\MiscTags $misc ) : |
||
$misc | Arcanedev\SeoHelper\Contracts\Entities\MiscTags | |
return |
public removeMeta ( string | array $names ) : |
||
$names | string | array | |
return |
public resetMetas ( ) : |
||
return |
public resetWebmasters ( ) : |
||
return |
public setDescription ( string $content ) : |
||
$content | string | |
return |
public setGoogleAnalytics ( string $code ) : |
||
$code | string | |
return |
public setKeywords ( array | string $content ) : |
||
$content | array | string | |
return |
public setSiteName ( string $siteName ) : self | ||
$siteName | string | |
return | self |
public title ( Arcanedev\SeoHelper\Contracts\Entities\Title $title ) : |
||
$title | Arcanedev\SeoHelper\Contracts\Entities\Title | |
return |
public webmasters ( Arcanedev\SeoHelper\Contracts\Entities\Webmasters $webmasters ) : |
||
$webmasters | Arcanedev\SeoHelper\Contracts\Entities\Webmasters | |
return |
protected Analytics,Arcanedev\SeoHelper\Contracts\Entities $analytics | ||
return | Arcanedev\SeoHelper\Contracts\Entities\Analytics |
protected Description,Arcanedev\SeoHelper\Contracts\Entities $description | ||
return | Arcanedev\SeoHelper\Contracts\Entities\Description |
protected Keywords,Arcanedev\SeoHelper\Contracts\Entities $keywords | ||
return | Arcanedev\SeoHelper\Contracts\Entities\Keywords |
protected MiscTags,Arcanedev\SeoHelper\Contracts\Entities $misc | ||
return | Arcanedev\SeoHelper\Contracts\Entities\MiscTags |
protected Title,Arcanedev\SeoHelper\Contracts\Entities $title | ||
return | Arcanedev\SeoHelper\Contracts\Entities\Title |