Skip to content

woren951/meta-tags

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Meta Tags

Installation

Add woren951/meta-tags to composer.json with a text editor:

"woren951/meta-tags": "dev-master"

Or via a console:

composer require woren951/meta-tags

This library requires PHP >=7.3.

Introduction

Example:

app('meta-tags')->title('Page title')
  ->description('Page description')
  ->canonical('https://github.com/woren951/meta-tags')
  ->robots('index,nofollow')
  ->image('https://picsum.photos/1200/630', 1200, 630, 'image/jpeg');

Render meta tags in a template as follows:

{!! app('meta-tags')->render() !!}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages