wearepixel/laravel-facebook-feed 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

wearepixel/laravel-facebook-feed

最新稳定版本:2.0.0

Composer 安装命令:

composer require wearepixel/laravel-facebook-feed

包简介

Laravel Facebook Feed

README 文档

README

A simple package to easily create an XML feed for Facebooks Shipping API to parse and retrieve your products on a frequent basis.

We recommend adding this to an API controller and generating it on the fly each time so you can be sure your products are always up to date within your merchant center.

Installation

composer require wearepixel/laravel-facebook-feed

Example

use Wearepixel\LaravelFacebookFeed\LaravelFacebookFeed;

$feed = LaravelFacebookFeed::init(
	'Product Feed',
	'App product Feed',
	'https://mystore.com'
);

$feed->addItem([
	'id' => 'item_001',
	'title' => 'Blue Nikes',
	'link' => 'https://mystore.com/products/blue-nikes',
	'price' => 29.99,
	'image_link' => 'https://mystore.com/images/blue-nikes-001.jpg',
]);

return $feed->generate();

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-01-11