Download the PHP package davmixcool/laravel-meta-manager without Composer
On this page you can find all versions of the php package davmixcool/laravel-meta-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download davmixcool/laravel-meta-manager
More information about davmixcool/laravel-meta-manager
Files in davmixcool/laravel-meta-manager
Package laravel-meta-manager
Short Description Laravel Meta Manager is an SEO tool that is used to improve SEO of a website or specific page by adding recommended meta tags to your application.
License MIT
Homepage https://github.com/davmixcool/laravel-meta-manager
Informations about the package laravel-meta-manager
Laravel Meta Manager
Laravel Meta Manager is an SEO tool that is used to improve the SEO of a website or specific page by adding recommended meta tags to your application.
SEO Features
- Standard Meta Tags
- Facebook OpenGraph Meta Tags
- Twitter Card Meta Tags
- Dublin Core Meta Tags
- Link Tags
Requirements
- PHP 5.4 and above
Steps:
- Install
- Configuration
- Usage
- Example
- Stargazers
- Forkers
- Maintainers
- License
Install
Composer
Run the following to include this package via Composer
Laravel 5.5+ uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.
Once the download is complete, the next thing you have to do is include the service provider within config/app.php
.
Then run;php artisan vendor:publish --provider="Davmixcool\MetaManager\MetaServiceProvider"
to get the config of Laravel Meta Manager.
Configuration
Setup default application meta inmeta.php
config. (Optional but recommended)
Available options:
Option | Description |
---|---|
robots |
Robots option tells search engines what to follow and what not to follow. |
revisit_after |
Here you may specify how search engines will re-visit and re-crawl your site. |
referrer |
Here you may specify how you want other sites to get referrer information from your site. |
type |
Here you may specify the structure type of your website or a specific page |
title |
Here you may provide the title of your website or a specific page to help search engines understand it better. |
description |
Here you may provide the description of your website or a specific page to help search engines understand it better. |
image |
Here you may provide the URL to the image you want search engines and crawlers to make use of when displaying your website or a specific page. |
author |
Here you may provide the author's name you want search engines to make use of when displaying your website or a specific page. |
geo_region |
Here you specify the region of your location. This is useful if you have a physical location that is important for your business. |
geo_position |
Here you specify the geo-coordinates of your physical location in longitude and latitude. |
twitter_site |
Here you may provide your Twitter @username of your account |
twitter_card |
Here you may specify the way you want crawlers to understand your Twitter share type. |
fb_app_id |
Here you may provide your Facebook app id |
keywords |
Here you may provide keywords relevant to your website and the specific page. |
Usage
Once the configuration is complete you can then add the below at the meta area of the page you want to include meta tags;
The above will use the predefined configurations to prefill the generated meta tags. However, if you chose to define certain options on the fly then you can use the code below.
Example
Stargazers
Forkers
Maintainers
This package is maintained by David Oti and you!
License
This package is licensed under the MIT license.