PHPackages                             rezkonline/laravel-meta-pixel - 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. rezkonline/laravel-meta-pixel

ActiveLibrary[API Development](/categories/api)

rezkonline/laravel-meta-pixel
=============================

Meta Pixel Integration for Laravel framework

v1.0.2(3y ago)084MITPHPPHP ^7.4|^8.0|^8.1

Since Mar 30Pushed 3y agoCompare

[ Source](https://github.com/rezkonline/laravel-meta-pixel)[ Packagist](https://packagist.org/packages/rezkonline/laravel-meta-pixel)[ RSS](/packages/rezkonline-laravel-meta-pixel/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

Meta Pixel Integration for Laravel Framework
============================================

[](#meta-pixel-integration-for-laravel-framework)

Install
-------

[](#install)

```
composer require rezkonline/laravel-meta-pixel
```

### In Laravel 5.5 and up

[](#in-laravel-55-and-up)

The package will be automatically registered it's Service Provider and Facade

### In Laravel 5.4 or below

[](#in-laravel-54-or-below)

```
// config/app.php

'providers' => [
    //
    \Rezkonline\LaravelMetaPixel\Providers\MetaPixelServiceProvider::class,
    //
],

'facades' => [
    //
    'LaravelMetaPixel' => \Rezkonline\LaravelMetaPixel\Facades\MetaPixelFacade::class,
    //
],
```

Next, publish the config file:

```
php artisan vendor:publish --provider="Rezkonline\LaravelMetaPixel\Providers\MetaPixelServiceProvider"
```

Configuration
-------------

[](#configuration)

```
return [
    /*
     * The Facebook Meta ID.
     */
    'meta_pixel_id' => env('META_PIXEL_ID', ''),
];
```

Usage
-----

[](#usage)

### Basic Usage

[](#basic-usage)

```
{{-- layout.blade.php --}}

    @include('meta-pixel::script')
    {{-- !!! --}}

    {{-- !!! --}}

```

### Send Event

[](#send-event)

Call a function based on Meta Pixel standarted events [Standard Event](https://developers.facebook.com/docs/facebook-pixel/reference#events) according to the following table:

EventMethodAddPaymentInfoaddPaymentInfoEventAddToCartaddToCartEventAddToWishlistaddToWishlistEventCompleteRegistrationcompleteRegistrationEventContactcontactEventCustomizeProductcustomizeProductEventDonatedonateEventFindLocationfindLocationEventLeadleadEventInitiateCheckoutinitiateCheckoutEventPurchasepurchaseEventSchedulescheduleEventSearchsearchEventStartTrialstartTrialEventSubmitApplicationsubmitApplicationEventSubscribesubscribeEventViewContentviewContentEvent#### Example

[](#example)

```
\LaravelMetaPixel::addToCartEvent([
    // List of event parameters
])
```

License
-------

[](#license)

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

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity54

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

Unknown

Total

1

Last Release

1190d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/97413564?v=4)[Rezkonline](/maintainers/rezkonline)[@rezkonline](https://github.com/rezkonline)

---

Top Contributors

[![AbdallaMohammed](https://avatars.githubusercontent.com/u/41541325?v=4)](https://github.com/AbdallaMohammed "AbdallaMohammed (4 commits)")

---

Tags

laravelmeta-pixelfacebook pixellaravel-meta-pixel

### Embed Badge

![Health badge](/badges/rezkonline-laravel-meta-pixel/health.svg)

```
[![Health](https://phpackages.com/badges/rezkonline-laravel-meta-pixel/health.svg)](https://phpackages.com/packages/rezkonline-laravel-meta-pixel)
```

###  Alternatives

[defstudio/telegraph

A laravel facade to interact with Telegram Bots

815320.5k3](/packages/defstudio-telegraph)[neuron-core/neuron-laravel

Official Neuron AI Laravel SDK.

11337.8k1](/packages/neuron-core-neuron-laravel)[riclep/laravel-storyblok

A Laravel wrapper around the Storyblok API to provide a familiar experience for Laravel devs

6279.6k5](/packages/riclep-laravel-storyblok)[simplestats-io/laravel-client

Analytics for Laravel. Track visitors, registrations, and payments. Discover which channels actually drive revenue, not just traffic. Server-side, GDPR compliant, ad-blocker proof.

5019.3k](/packages/simplestats-io-laravel-client)

PHPackages © 2026

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