PHPackages                             donmbelembe/laravel-facebook-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. donmbelembe/laravel-facebook-catalog

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

donmbelembe/laravel-facebook-catalog
====================================

Laravel Facebook Catalog Package that exports formatted XML data feed

2.0.1(3y ago)21003[2 PRs](https://github.com/donmbelembe/laravel-facebook-catalog/pulls)MITPHPPHP ^8.1

Since Jan 14Pushed 2y ago1 watchersCompare

[ Source](https://github.com/donmbelembe/laravel-facebook-catalog)[ Packagist](https://packagist.org/packages/donmbelembe/laravel-facebook-catalog)[ Docs](https://github.com/donmbelembe/laravel-facebook-catalog)[ RSS](/packages/donmbelembe-laravel-facebook-catalog/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (15)Versions (7)Used By (0)

Laravel Facebook Catalog Package that exports formatted XML data feed
=====================================================================

[](#laravel-facebook-catalog-package-that-exports-formatted-xml-data-feed)

[![Latest Version on Packagist](https://camo.githubusercontent.com/a8a90c4103d98e7ac3444a93aba86145d22f8975fa3bfa0843fa19a2d9e28f26/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f646f6e6d62656c656d62652f6c61726176656c2d66616365626f6f6b2d636174616c6f672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/donmbelembe/laravel-facebook-catalog)[![GitHub Tests Action Status](https://camo.githubusercontent.com/ee645570118a6ff56e77975b7cfd8a1be24b2ca31a23c8af3fa8a0e798da0178/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f646f6e6d62656c656d62652f6c61726176656c2d66616365626f6f6b2d636174616c6f672f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/donmbelembe/laravel-facebook-catalog/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/4de5ee606849b8a24626c79dddb4c40e55509f4ea843a591dfcc0f6f22592287/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f646f6e6d62656c656d62652f6c61726176656c2d66616365626f6f6b2d636174616c6f672f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/donmbelembe/laravel-facebook-catalog/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/6b2fecc069c9e494a6ef80b2639a7efe2f880be19e33c0d3cd6574e249b575dd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f646f6e6d62656c656d62652f6c61726176656c2d66616365626f6f6b2d636174616c6f672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/donmbelembe/laravel-facebook-catalog)

Laravel Facebook Catalog Package that exports formatted XML data feed.

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

[](#installation)

You can install the package via composer:

```
composer require donmbelembe/laravel-facebook-catalog
```

Usage
-----

[](#usage)

```
use Donmbelembe\LaravelFacebookCatalog\LaravelFacebookCatalog;

LaravelFacebookCatalog::setTitle('Example feed');
LaravelFacebookCatalog::setDescription('Example feed of the Example shop');
LaravelFacebookCatalog::setLink('https://example.shop');

LaravelFacebookCatalog::addItem([
    'link' => 'https://example.shop/p/foo-bar',
    'id' => 'SKU123',
    'title' => 'Foo bar',
    'image_link' => 'https://example.shop/images/foo-bar.png',
    'description' => 'Foo bar best product',
    'availability' => 'new',
    "price" => 99.99,
    'brand' => 'Foo brand',
    'condition' => 'new',
]);

return LaravelFacebookCatalog::display();
```

An example of the expected array

```
[
    "id" 	            		    => "", // Unique Example SKU
    "title" 	            		    => "", // Max 150 Characters
    "description"            	    => "",
    "availability"           	    => "in stock", // values: in stock, available for order, out of stock
    "condition" 	            	    => "new", // values: new, refurbished, used
    "price" 		            	    => 0.00,
    "link"		                    => "",
    "image_link"		                => "",
    "brand" 		            	    => "",
    // required fileds for payments in USA only and optional everywhere else
    "quantity_to_sell_on_facebook"   => 10, // previously name "inventory"
    "google_product_category"        => "",
    "fb_product_category"            => null,
    "size"                           => null,
    // required in india and optional everywhere else
    "origin_country"                 => null, // Ex: US
    "importer_name"                  => null, // if the origin country is not INDIA
    "importer_address"               => null,
    "manufacturer_info"              => null,
    "wa_compliance_category"         => null,
    // Optional fields
    "sale_price"                     => null,
    "sale_price_effective_date"      => null,
    "item_group_id"                  => null,
    "status"                         => null, // Values: active, archived (or staging)
    "additional_image_link"          => null,
    "gender"                         => null,
    "color"                          => null,
    "age_group"                      => null, // Values: adult, all ages, teen, kids, todler, infant, newborn.
    "material" 	                    => null,
    "patern"	                        => null,
    "shipping"                       => null,
    "shipping_weight"                => null,
]
```

For more details =&gt;

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [don mbelembe](https://github.com/donmbelembe)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 61.5% 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 ~29 days

Total

4

Last Release

1127d ago

Major Versions

1.0.1 → 2.0.02023-04-12

### Community

Maintainers

![](https://www.gravatar.com/avatar/0b531dfc813790a7127eb490af777009f431679b4cc5bca31e264cac9e7a004a?d=identicon)[donmbelembe](/maintainers/donmbelembe)

---

Top Contributors

[![donmbelembe](https://avatars.githubusercontent.com/u/10473277?v=4)](https://github.com/donmbelembe "donmbelembe (16 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (5 commits)")

---

Tags

laravelfacebook-catalog

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/donmbelembe-laravel-facebook-catalog/health.svg)

```
[![Health](https://phpackages.com/badges/donmbelembe-laravel-facebook-catalog/health.svg)](https://phpackages.com/packages/donmbelembe-laravel-facebook-catalog)
```

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.7k28.9M627](/packages/spatie-laravel-data)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[hirethunk/verbs

An event sourcing package that feels nice.

513162.9k6](/packages/hirethunk-verbs)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)

PHPackages © 2026

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