PHPackages                             peal/ios-push-notification - 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. peal/ios-push-notification

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

peal/ios-push-notification
==========================

Ios push notification using aws sns(sort notification system)

03PHP

Since Aug 11Pushed 7y ago1 watchersCompare

[ Source](https://github.com/moin786/ios-push-notification)[ Packagist](https://packagist.org/packages/peal/ios-push-notification)[ RSS](/packages/peal-ios-push-notification/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

ios-push-notification
=====================

[](#ios-push-notification)

Ios push notification in Laravel using AWS sns
==============================================

[](#ios-push-notification-in-laravel-using-aws-sns)

 Amazon Simple Notification Service (SNS) is a flexible, fully managed pub/sub messaging and mobile notifications service for coordinating the delivery of messages to subscribing endpoints and clients. With SNS you can fan-out messages to a large number of subscribers, including distributed systems and services, and mobile devices. It is easy to set up, operate, and reliably send notifications to all your endpoints – at any scale. You can get started using SNS in a matter of minutes using the AWS Management Console, AWS Command Line Interface, or using the AWS SDK with just three simple APIs. SNS eliminates the complexity and overhead associated with managing and operating dedicated messaging software and infrastructure.

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

[](#installation)

Inside your project root directory, open your terminal

```
composer require peal/ios-push-notification
```

Composer will automatically download all dependencies.

#### For Laravel

[](#for-laravel)

After complete the installation, open your app.php from config folder, paste below line inside providers array

```
peal\iosnotification\IosServiceProvider::class,
```

For Facade support, paste below line inside aliases array

```
'IosPush' => peal\iosnotification\IosPush::class,
```

Then run this command

```
php artisan vendor:publish --provider="peal\iosnotification\IosServiceProvider"
```

After vendor published check your config folder aws-config.php is created.

```
/*
 * AWS config file
 *
 */

return [
    'SNS_ACCESS_KEY'  => 'YOUR-SNS-ACCESS-KEY',
    'SNS_SECRET_KEY'  => 'YOUR-SNS-SECRET-KEY',
    'SNS_APP_ARN'  => 'YOUR-SNS-APP-APN',
    'pushIos' => peal\iosnotification\IosPush::class,
];
```

### USAGES

[](#usages)

```
try {
    $ios = \App::make('IosPush');
        $data = [
                    'desc' => 'Ios push description',
                    'TargetArn' => "AWS ENPOINT(AFTER INSTALL APP IN YOUR MOBILE AN END POINT NUMBER IS GENERATED)",
                ];

        return $ios->notificationDescription($data['desc'])
                ->awsEndPoint($data['TargetArn'])
                ->customPayLoadData("type", "Ios Push")
                ->customPayLoadData("cityid", "170")
                ->payLoadData()
                ->iosNotifiction();
} catch(\Exception $e) {
    return $e->getMessage();
}
```

### Using Facades

[](#using-facades)

```
use IosPush;

try {
    $data = [
                'desc' => 'Ios push description',
                'TargetArn' => "AWS ENPOINT(AFTER INSTALL APP IN YOUR MOBILE AN END POINT NUMBER IS GENERATED)",
            ];

    return IosPush::notificationDescription($data['desc'])
            ->awsEndPoint($data['TargetArn'])
            ->customPayLoadData("type", "Ios Push")
            ->customPayLoadData("cityid", "170")
            ->payLoadData()
            ->iosNotifiction();
} catch(\Exception $e) {
    return $e->getMessage();
}
```

### For core php

[](#for-core-php)

```

    use peal\iosnotification\PushHandler\PushHandler;
    use peal\iosnotification\IosPush;
    use Aws\Credentials\Credentials;
    use Aws\Sns\SnsClient;
    try {

    $pios = new PushHandler(new IosPush(
                new SnsClient([
                        'version' => 'latest',
                        'region' => 'us-west-2',
                        'credentials' => new Credentials(
                            config('aws-config.SNS_ACCESS_KEY'),
                            config('aws-config.SNS_SECRET_KEY')
                        )
                ])
            ));
    $data = [
                'desc' => 'Ios push description',
                'TargetArn' => "AWS ENPOINT(AFTER INSTALL APP IN YOUR MOBILE AN END POINT NUMBER IS GENERATED)",
            ];
    return $pios->notificationDescription($data['desc'])
                ->awsEndPoint($data['TargetArn'])
                ->customPayLoadData("type", "Ios Push")
            	->customPayLoadData("cityid", "170")
            	->payLoadData()
                ->iosNotifiction();
} catch(\Exception $e) {
    return $e->getMessage();
}
```

### More tutorial from

[](#more-tutorial-from)

[AWS sns](https://docs.aws.amazon.com/sns/latest/dg/welcome.html)

### Author

[](#author)

[Mohammed Minuddin(Peal)](https://moinshareidea.wordpress.com)

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/171ff00d2636607267851b5600ddb93bdeb77b62dca6f1b6c031dd6f40a3753d?d=identicon)[moin786](/maintainers/moin786)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/peal-ios-push-notification/health.svg)

```
[![Health](https://phpackages.com/badges/peal-ios-push-notification/health.svg)](https://phpackages.com/packages/peal-ios-push-notification)
```

###  Alternatives

[mattketmo/email-checker

Throwaway email detection library

2752.1M5](/packages/mattketmo-email-checker)[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)
