PHPackages                             softwarepunt/pinterest-xml-catalog - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. softwarepunt/pinterest-xml-catalog

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

softwarepunt/pinterest-xml-catalog
==================================

PHP Library for generating Pinterest Catalogs in XML (RSS 2.0) format

2161PHP

Since Mar 31Pushed 3y ago2 watchersCompare

[ Source](https://github.com/SoftwarePunt/pinterest-xml-catalog)[ Packagist](https://packagist.org/packages/softwarepunt/pinterest-xml-catalog)[ RSS](/packages/softwarepunt-pinterest-xml-catalog/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

pinterest-xml-catalog
=====================

[](#pinterest-xml-catalog)

**Unofficial PHP Library for generating Pinterest Catalogs in XML (RSS 2.0, ATOM 1.0) format**

This can be used to generate a [data source](https://help.pinterest.com/en/business/article/data-source-ingestion) for daily product ingestion by Pinterest. You must already have a [business account](https://help.pinterest.com/en/business/article/get-a-business-account) and a [claimed website](https://help.pinterest.com/en/business/article/claim-your-website) that meets their [merchant guidelines](https://policy.pinterest.com/en/merchant-guidelines).

You can use this to help convert product data to XML, but you'll have to serve the output yourself.

Installation
------------

[](#installation)

Add the library to your project via [Composer](https://getcomposer.org/download/):

```
composer require softwarepunt/pinterest-xml-catalog
```

### Requirements

[](#requirements)

- PHP 7.4+
- `ext-dom`

Usage
-----

[](#usage)

### Creating an XML catalog

[](#creating-an-xml-catalog)

Collect your product data, and then feed it into a `XmlCatalog` instance.

```
