PHPackages                             bluecloud/simple-apns - 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. bluecloud/simple-apns

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

bluecloud/simple-apns
=====================

Laravel package for sending notifications to ios devices via Apple Push Notification Service

v0.9.1(6y ago)116ISCPHP

Since May 6Pushed 6y ago2 watchersCompare

[ Source](https://github.com/bluecloudafrica/simple-apns)[ Packagist](https://packagist.org/packages/bluecloud/simple-apns)[ RSS](/packages/bluecloud-simple-apns/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Simple APNS
===========

[](#simple-apns)

Laravel package for sending notifications to ios devices via Apple Push Notification Service

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

[](#installation)

```
composer require bluecloud/simple-apns

```

Publish Config
--------------

[](#publish-config)

Next copy the apns.php configuration to your project. Run the following command to publish the vendor config

```
php artisan vendor:publish --provider="Vendor\Providers\PackageServiceProvider"

```

Set Environment Variables
-------------------------

[](#set-environment-variables)

Add the following lines to your .env file and set the necessary values. If your key file has password set the APNS\_KEY\_SECRET to the password

```
APNS_KEY_ID=SAMPLE_KEY_ID
APNS_TEAM_ID=SAMPLE_TEAM_ID
APNS_APP_BUNDLE_ID=com.example.app
APNS_KEY_SECRET=

```

Add Key File
------------

[](#add-key-file)

Copy your .p8 key file downloaded from apple developer account to the storage/app. Rename it to apns.p8 as indicated below

```
/storage/app/apns.p8

```

Usage
-----

[](#usage)

Token is a unique user device token generated by the iOS device. This should be captured from device and stored in the database through an API call for instance

```
$token = "";

$notifier = new APNSNotifier();

$message = new APNSMessage($token);
$message->setTitle("New Message");
$message->setMessage("This is a sample message");
$message->setContent(true);

$notifier->send($message);

```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity46

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

2249d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/bluecloud-simple-apns/health.svg)

```
[![Health](https://phpackages.com/badges/bluecloud-simple-apns/health.svg)](https://phpackages.com/packages/bluecloud-simple-apns)
```

###  Alternatives

[laravel-notification-channels/apn

Apple APN Push Notification Channel

2022.2M8](/packages/laravel-notification-channels-apn)[ricwein/push-notifications

Push Notifications for iOS (APNS), Android (FCM)

2626.6k](/packages/ricwein-push-notifications)[semyonchetvertnyh/laravel-apn-notification-channel

Apple Push Notification Service (APNs) notifications channel for Laravel 6 using the new APNs HTTP/2 protocol with token-based (JWT with p8 private key)

298.1k](/packages/semyonchetvertnyh-laravel-apn-notification-channel)[maize-tech/laravel-email-domain-rule

Laravel Email Domain Rule

612.0k](/packages/maize-tech-laravel-email-domain-rule)[sarfraznawaz2005/noty

Laravel package to incorporate noty flash notifications into laravel.

324.5k](/packages/sarfraznawaz2005-noty)

PHPackages © 2026

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