Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sokil/php-merchant-product-feed

Builder of Facebook and Google product feeds
https://github.com/sokil/php-merchant-product-feed

advertising facebook feed google merchant product-feed seo

Last synced: 2 months ago
JSON representation

Builder of Facebook and Google product feeds

Awesome Lists containing this project

README

        

# php-merchant-product-feed

Builder of Facebook and Google product feeds

[![Test](https://github.com/sokil/php-merchant-product-feed/workflows/Test/badge.svg?branch=main)](https://github.com/sokil/php-merchant-product-feed/actions?query=workflow%3ATest)
[![Latest Stable Version](https://poser.pugx.org/sokil/php-merchant-product-feed/v/stable.png)](https://packagist.org/packages/sokil/php-merchant-product-feed)
[![Coverage Status](https://coveralls.io/repos/sokil/php-merchant-product-feed/badge.png?1)](https://coveralls.io/r/sokil/php-merchant-product-feed)
[![Total Downloads](http://img.shields.io/packagist/dt/sokil/php-merchant-product-feed.svg?1)](https://packagist.org/packages/sokil/php-merchant-product-feed)
[![Daily Downloads](https://poser.pugx.org/sokil/php-merchant-product-feed/d/daily)](https://packagist.org/packages/sokil/php-merchant-product-feed/stats)

## Facebook

### Useful links

* [Marketing API / Product catalog ](https://developers.facebook.com/docs/marketing-api/catalog)
* [Commence platform / Catalog and Inventory](https://developers.facebook.com/docs/commerce-platform/catalog)
* [Feed Update API](https://developers.facebook.com/docs/marketing-api/catalog/guides/feed-api)

## Google

### Useful links

* [Google Merchant Center / Catalog](https://support.google.com/merchants/answer/7052112?visit_id=637475497990766300-2364174748&hl=ru&rd=1)

### Useage

```php
format($feed, 'facebook', 'csv');

// send feed to output
header('Content-type: text/csv');

foreach ($generator as $streamChunk) {
echo $streamChunk;
}

```