woren951/meta-tags
最新稳定版本:1.0.1
Composer 安装命令:
composer require woren951/meta-tags
包简介
HTML meta tags generation by PHP
README 文档
README
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() !!}
统计信息
- 总下载量: 602
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-04-14