PHPackages                             rohitrajv5/pimcore-bundle-google-facebook-feed - 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. [API Development](/categories/api)
4. /
5. rohitrajv5/pimcore-bundle-google-facebook-feed

ActivePimcore-bundle[API Development](/categories/api)

rohitrajv5/pimcore-bundle-google-facebook-feed
==============================================

Create Google Feed &amp; Facebook Product Catalogue Feed in Pimcore

v2.0(5y ago)1771GPL-3.0+PHP

Since Jul 7Pushed 5y ago1 watchersCompare

[ Source](https://github.com/rohitrajv5/pimcore-bundle-google-facebook-feed)[ Packagist](https://packagist.org/packages/rohitrajv5/pimcore-bundle-google-facebook-feed)[ RSS](/packages/rohitrajv5-pimcore-bundle-google-facebook-feed/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (3)Used By (0)

PimcoreFeedBundle
=================

[](#pimcorefeedbundle)

PimcoreFeedBundle use to generate feed from your product class

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

[](#installation)

#### Install with comporser

[](#install-with-comporser)

```
composer install rohitrajv5/pimcore-bundle-google-facebook-feed
```

#### Enable PimcoreFeedBundle bundle

[](#enable-pimcorefeedbundle-bundle)

```
bin/console pimcore:bundle:enable PimcoreFeedBundle
```

#### Install assets

[](#install-assets)

```
bin/console assets:install web
```

##### use following packages in your controller

[](#use-following-packages-in-your-controller)

```
use PimcoreFeedBundle\Service\Feed;
use PimcoreFeedBundle\Service\Item;
use PimcoreFeedBundle\Service\FacebookProductItem;
use PimcoreFeedBundle\Service\SimpleXMLElement;
use PimcoreFeedBundle\Service\Channel;
```

#### Add following actions in your controller

[](#add-following-actions-in-your-controller)

```
    const BASE_URL = "YOUR URL";
    const CHANNEL_TITLE = "YOUR TITLE";

    public function googleFeedAction(Request $request)
    {
        $products = new DataObject\Product\Listing(); // Search listing from your product class
        $products =  $products->load();
        header ("Content-Type:text/xml");
        $feed = new Feed();
        $channel = new Channel();
        $channel
            ->title(CHANNEL_TITLE)
            ->description(BASE_URL)
            ->url(BASE_URL.'/google-feed')
            ->appendTo($feed);
        $item = new Item();
        foreach($products as $product)
        {
            /**
            You can call your own getter to map the values in array
            */
            $item
                ->title($product->getTitle())
                ->description($product->getDescription())
                ->url($product->getImageUrl())
                ->enclosure($product->getImageUrl(), 4889, 'image/jpeg')
                ->appendTo($channel);
        }
        echo $feed;
    }
    public function facebookFeedAction()
    {
        header ("Content-Type:text/xml");
        $feed = new Feed();
        $channel = new Channel();
        $channel
            ->title(CHANNEL_TITLE)
            ->description(BASE_URL)
            ->url(BASE_URL.'/facebook-feed')
            ->appendTo($feed);

        // Product feed item
        $item = new FacebookProductItem();
        $products = new DataObject\Product\Listing();  // Search listing from your product class
        $products =  $products->load();
        foreach($products as $product)
        {
            /**
            You can call your own getter to map the values in array
            */
            $item
                ->id($product->getId())
                ->title($product->getTitle())
                ->description($product->getDescription())
                ->url(BASE_URL.$product->getHandle())
                ->availability('in stock')
                ->condition('new')
                ->googleProductCategory('Apparel & Accessories > Clothing > Underwear & Socks')
                ->imageLink($product->getImageUrl())
                ->brand($product->getBrand())
                ->appendTo($channel);
        }
        echo $feed;

    }
```

Document Changes!
=================

[](#document-changes)

Create 2 document as follows:

[![alt text](https://camo.githubusercontent.com/6e1cbae0dcc5e2e2b17dbbc1dacc757831a034ffd70ce6b011dd6e138bb31027/68747470733a2f2f692e706f7374696d672e63632f446d6b384e6651432f53637265656e73686f742d66726f6d2d323032302d30372d30372d31352d31332d32322e706e67)](https://camo.githubusercontent.com/6e1cbae0dcc5e2e2b17dbbc1dacc757831a034ffd70ce6b011dd6e138bb31027/68747470733a2f2f692e706f7374696d672e63632f446d6b384e6651432f53637265656e73686f742d66726f6d2d323032302d30372d30372d31352d31332d32322e706e67)

Set Controller &amp; Action. Respectively for both documents

[![alt text](https://camo.githubusercontent.com/c2612326f272e14c8d95300564865cf62c287c53f095450eb96f35eb5e5fbd90/68747470733a2f2f692e706f7374696d672e63632f70726e6d6b356a682f53637265656e73686f742d66726f6d2d323032302d30372d30372d31352d31342d31352e706e67)](https://camo.githubusercontent.com/c2612326f272e14c8d95300564865cf62c287c53f095450eb96f35eb5e5fbd90/68747470733a2f2f692e706f7374696d672e63632f70726e6d6b356a682f53637265656e73686f742d66726f6d2d323032302d30372d30372d31352d31342d31352e706e67)

Save &amp; Publish

You are done !

Navigate to Google &amp; Facebook Feed urls!
============================================

[](#navigate-to-google--facebook-feed-urls)

```
Google: http://[YOUR_APPLICATION_URL]/google-feed
Facebook: http://[YOUR_APPLICATION_URL]/facebook-feed

```

Facebook Feed:!
===============

[](#facebook-feed)

[![alt text](https://camo.githubusercontent.com/d5773c8a340388d954c8a7ae20f5c8fef6bbca9307313b36dbcbc955ca561d72/68747470733a2f2f692e706f7374696d672e63632f79593831565a78462f53637265656e73686f742d66726f6d2d323032302d30372d30372d31352d31372d34352e706e67)](https://camo.githubusercontent.com/d5773c8a340388d954c8a7ae20f5c8fef6bbca9307313b36dbcbc955ca561d72/68747470733a2f2f692e706f7374696d672e63632f79593831565a78462f53637265656e73686f742d66726f6d2d323032302d30372d30372d31352d31372d34352e706e67)

Google Feed:!
=============

[](#google-feed)

[![alt text](https://camo.githubusercontent.com/7db7b5a7f6cd8d29b14401f5a08c73abc65bf99819aaa753e1c262ba5dff21c3/68747470733a2f2f692e706f7374696d672e63632f37505650385648482f53637265656e73686f742d66726f6d2d323032302d30372d30372d31352d31382d30332e706e67)](https://camo.githubusercontent.com/7db7b5a7f6cd8d29b14401f5a08c73abc65bf99819aaa753e1c262ba5dff21c3/68747470733a2f2f692e706f7374696d672e63632f37505650385648482f53637265656e73686f742d66726f6d2d323032302d30372d30372d31352d31382d30332e706e67)

Features!
=========

[](#features)

- Plugin will generate Facebook &amp; Google Feeds
- Public url will be directly accessible by Google &amp; Facebook

License
-------

[](#license)

GPL-3.0+

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~21 days

Total

2

Last Release

2114d ago

Major Versions

v1.0 → v2.02020-07-28

### Community

Maintainers

![](https://www.gravatar.com/avatar/14f0454e0b58557e15cd349a425aad845269014257efa282f693757235004819?d=identicon)[rohitrajv5](/maintainers/rohitrajv5)

---

Top Contributors

[![rohit-raj-verma](https://avatars.githubusercontent.com/u/261393979?v=4)](https://github.com/rohit-raj-verma "rohit-raj-verma (8 commits)")

---

Tags

facebookgooglefeedpimcorecatalogue

### Embed Badge

![Health badge](/badges/rohitrajv5-pimcore-bundle-google-facebook-feed/health.svg)

```
[![Health](https://phpackages.com/badges/rohitrajv5-pimcore-bundle-google-facebook-feed/health.svg)](https://phpackages.com/packages/rohitrajv5-pimcore-bundle-google-facebook-feed)
```

###  Alternatives

[google/apiclient

Client library for Google APIs

9.8k191.4M997](/packages/google-apiclient)[google/apiclient-services

Client library for Google APIs

1.3k180.5M51](/packages/google-apiclient-services)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)[laminas/laminas-feed

provides functionality for creating and consuming RSS and Atom feeds

16749.2M47](/packages/laminas-laminas-feed)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
