定制 woren951/meta-tags 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-04-14