定制 mapkyca/php-ogp 二次开发

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

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

mapkyca/php-ogp

最新稳定版本:1.1.0

Composer 安装命令:

composer require mapkyca/php-ogp

包简介

Simple PHP Open Graph Protocol parser library

关键字:

README 文档

README

This is a very very simple PHP open graph parser.

Pass it the contents of a web page, and it'll spit back an associated array of open graph tags and the value.

Usage

Include the library and call Parser's ::parse() function.

Example:

	require_once('ogp/Parser.php');

	$content = file_get_contents("https://www.youtube.com/watch?v=EIGGsZZWzZA");
	
	print_r(\ogp\Parser::parse($content));

Installation

To install this in your project:

composer require mapkyca/php-ogp

Author

See

统计信息

  • 总下载量: 20.17k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 26
  • 点击次数: 1
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 26
  • Watchers: 6
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-only
  • 更新时间: 2017-11-28