PHPackages                             superbalist/laravel-localytics-push - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. superbalist/laravel-localytics-push

AbandonedArchivedLibrary[Mail &amp; Notifications](/categories/mail)

superbalist/laravel-localytics-push
===================================

A Laravel library for sending push notifications via the Localytics Push Notification service

1.0.0(9y ago)065MITPHPPHP &gt;=5.6.0

Since Oct 19Pushed 9y ago36 watchersCompare

[ Source](https://github.com/Superbalist/laravel-localytics-push)[ Packagist](https://packagist.org/packages/superbalist/laravel-localytics-push)[ RSS](/packages/superbalist-laravel-localytics-push/feed)WikiDiscussions master Synced 2mo ago

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

laravel-localytics-push
=======================

[](#laravel-localytics-push)

A Laravel library for sending push notifications via the [Localytics Push Notification](https://www.localytics.com/features/push-messaging/) service

[![Author](https://camo.githubusercontent.com/abd4e3e2e71081ad01ef09a60c49d70c5e0677497f38918e740703cd02605078/687474703a2f2f696d672e736869656c64732e696f2f62616467652f617574686f722d40737570657262616c6973742d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/superbalist)[![Build Status](https://camo.githubusercontent.com/0992a6456be8aaccab8076d7883bb59cf8f047d5ba4355696adce305c53432ae/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f537570657262616c6973742f6c61726176656c2d6c6f63616c79746963732d707573682f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/Superbalist/laravel-localytics-push)[![StyleCI](https://camo.githubusercontent.com/7514657b89fe53b0b5bb0e87c0bba9ac0bca1311e50734235cebcf86261e54db/68747470733a2f2f7374796c6563692e696f2f7265706f732f37313333363036302f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/71336060)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Packagist Version](https://camo.githubusercontent.com/0a5391415e67dd0973515e49c4ace83c18aa2b7d6eea109c86b65f6d7f36b3db/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f737570657262616c6973742f6c61726176656c2d6c6f63616c79746963732d707573682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/superbalist/laravel-localytics-push)[![Total Downloads](https://camo.githubusercontent.com/47f1f5986fe4a7fa91780fd96d252f9691a72cd6289b25c28707225f48272653/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f737570657262616c6973742f6c61726176656c2d6c6f63616c79746963732d707573682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/superbalist/laravel-localytics-push)

This package is a wrapper bridging [php-localytics-push](https://github.com/Superbalist/php-localytics-push) into Laravel.

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

[](#installation)

```
composer require superbalist/laravel-localytics-push
```

The package has a default configuration which uses the following environment variables.

```
LOCALYTICS_APP_ID=null
LOCALYTICS_API_KEY=null
LOCALYTICS_API_SECRET=null

```

To customize the configuration file, publish the package configuration using Artisan.

```
php artisan vendor:publish --provider="Superbalist\LaravelLocalyticsPush\LocalyticsServiceProvider"
```

You can then edit the generated config at `app/config/localytics.php`.

Register the service provider in app.php

```
'providers' => [
    // ...
    Superbalist\LaravelLocalyticsPush\LocalyticsServiceProvider::class,
]
```

Register the facade in app.php

```
'aliases' => [
    // ...
    'Localytics' => Superbalist\LaravelLocalyticsPush\LocalyticsFacade::class,
]
```

Usage
-----

[](#usage)

```
$message = [
    'target' => [
        'profile' => [
            'criteria' => [
                [
                    'key' => '$email',
                    'scope' => 'Organization',
                    'type' => 'string',
                    'op' => 'in',
                    'values' => [
                        'matthew@superbalist.com',
                    ]
                ]
            ],
            'op' => 'and',
        ],
    ],
    'alert' => [
        'title' => 'Message Title',
        'body' => 'This is my message content!',
    ]
];
Localytics::pushMessage('profile', $message);
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity58

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

3492d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8b8f533cf5a84c29d3860ee32356f0554ead023247638ea952353fc2f01b2e5d?d=identicon)[superbalist](/maintainers/superbalist)

---

Top Contributors

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

---

Tags

laravellaravel-localytics-pushlaravel5laravel5-packagelocalyticsphpphp-localytics-pushpush-notificationssuperbalist

### Embed Badge

![Health badge](/badges/superbalist-laravel-localytics-push/health.svg)

```
[![Health](https://phpackages.com/badges/superbalist-laravel-localytics-push/health.svg)](https://phpackages.com/packages/superbalist-laravel-localytics-push)
```

###  Alternatives

[mckenziearts/laravel-notify

Flexible flash notifications for Laravel

1.7k1.1M5](/packages/mckenziearts-laravel-notify)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[laravel-notification-channels/apn

Apple APN Push Notification Channel

2021.9M4](/packages/laravel-notification-channels-apn)[laravel-notification-channels/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

1603.0M7](/packages/laravel-notification-channels-microsoft-teams)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[illuminate/mail

The Illuminate Mail package.

5910.1M391](/packages/illuminate-mail)

PHPackages © 2026

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