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)083MITPHPPHP ^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 1mo ago

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 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity53

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

1139d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7218249d6b1805fecac1b75687240a97d83cc3669aede7334024b7d88c50d64e?d=identicon)[rezkonline](/maintainers/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

[andreaselia/laravel-api-to-postman

Generate a Postman collection automatically from your Laravel API

1.0k586.2k3](/packages/andreaselia-laravel-api-to-postman)[mollie/laravel-mollie

Mollie API client wrapper for Laravel &amp; Mollie Connect provider for Laravel Socialite

3624.1M28](/packages/mollie-laravel-mollie)[api-ecosystem-for-laravel/dingo-api

A RESTful API package for the Laravel and Lumen frameworks.

3121.5M10](/packages/api-ecosystem-for-laravel-dingo-api)[essa/api-tool-kit

set of tools to build an api with laravel

52680.5k](/packages/essa-api-tool-kit)[mll-lab/laravel-graphiql

Easily integrate GraphiQL into your Laravel project

683.2M9](/packages/mll-lab-laravel-graphiql)[kirschbaum-development/laravel-openapi-validator

Automatic OpenAPI validation for Laravel HTTP tests

581.1M5](/packages/kirschbaum-development-laravel-openapi-validator)

PHPackages © 2026

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