PHPackages                             tuhin18003/php-push-notification-ios-android - 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. tuhin18003/php-push-notification-ios-android

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

tuhin18003/php-push-notification-ios-android
============================================

Custom push notification server for IOS, Android &amp; Windows phone APP with PHP. Instead of firebase you can use your own php server to create push notification.

00PHP

Since Dec 14Pushed 6y ago1 watchersCompare

[ Source](https://github.com/tuhin18003/PHP-Push-Notification-Server-For-IOS-Android-Windows-Phone-App)[ Packagist](https://packagist.org/packages/tuhin18003/php-push-notification-ios-android)[ RSS](/packages/tuhin18003-php-push-notification-ios-android/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

[![Hits](https://camo.githubusercontent.com/924b01b49ddfd7a2d074464223e6b86a151775ce20f004ba06442f97c5fd683f/68747470733a2f2f636f6465736f6c7a2e6e65742f7061636b616765732f75706c6f6164732f323031392f31322f707573682d6e6f74696669636174696f6e2e6a706567)](https://camo.githubusercontent.com/924b01b49ddfd7a2d074464223e6b86a151775ce20f004ba06442f97c5fd683f/68747470733a2f2f636f6465736f6c7a2e6e65742f7061636b616765732f75706c6f6164732f323031392f31322f707573682d6e6f74696669636174696f6e2e6a706567)

Custom push notification server for IOS, Android &amp; Windows phone APP with PHP
---------------------------------------------------------------------------------

[](#custom-push-notification-server-for-ios-android--windows-phone-app-with-php)

[![Hits](https://camo.githubusercontent.com/47b9735c3345eb316bfd26e4c6e1709a644b0deaa218c827e6b9cb2698aea54b/68747470733a2f2f686974636f756e7465722e707974686f6e616e7977686572652e636f6d2f636f756e742f7461672e7376673f75726c3d68747470732533412532462532466769746875622e636f6d253246747568696e31383030332532465048502d507573682d4e6f74696669636174696f6e2d5365727665722d466f722d494f532d416e64726f69642d57696e646f77732d50686f6e652d417070)](https://camo.githubusercontent.com/47b9735c3345eb316bfd26e4c6e1709a644b0deaa218c827e6b9cb2698aea54b/68747470733a2f2f686974636f756e7465722e707974686f6e616e7977686572652e636f6d2f636f756e742f7461672e7376673f75726c3d68747470732533412532462532466769746875622e636f6d253246747568696e31383030332532465048502d507573682d4e6f74696669636174696f6e2d5365727665722d466f722d494f532d416e64726f69642d57696e646f77732d50686f6e652d417070)

### What does it do?

[](#what-does-it-do)

- You can build your custom push notification service from your own php server.

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

[](#installation)

#### Bleeding Edge

[](#bleeding-edge)

```
{
   "require": {
      "tuhin18003/php-push-notification-ios-android": "dev-master"
   }
}
```

#### Via command line:

[](#via-command-line)

```
composer require tuhin18003/php-push-notification-ios-android
```

#### IOS Push Notification Example:

[](#ios-push-notification-example)

```
require './vendor/autoload.php';

$Push_Notification = new Push_Notification\Push_Notification( 'development' );
$Ios_Notification = $Push_Notification->Ios();

$res = $Ios_Notification->setConfig( array(
    'appBundleId' => 'com.test.com',
    'deviceToken' => 'your device token',
    'passPhrase' => 'your pass',
    'pemFileAbsolutePath' => '/pusher.pem'
) );

 $Ios_Notification->setPayload(
    array(
        'aps' => array(
            'alert' => array(
                'title' => 'test title',
                'body' => 'test body',
            ),
            'badge' => (int)10,
            'sound' => 'default',
            'mutable-content'=> 1,
            'content-available'=>1
       )
    )
);
try {

    $push_server_response = $Ios_Notification->send();
    throw new Exception( $push_server_response, 1);

} catch (\Throwable $th) {
    //throw $th;
    echo $th->getMessage();
}

```

### Credentials

[](#credentials)

- *Created by - [M.Tuhin](https://codesolz.net/)*
- *For any kind of web &amp; apps development contact us &amp; visit our website - [CodeSolz.net](https://codesolz.net/)*

[ ![codesolz.net](https://camo.githubusercontent.com/5749d3ae9168eb3950e883a285978e662e237e30aac770c4de8c72402b4ed412/68747470733a2f2f636f6465736f6c7a2e6e65742f7061636b616765732f75706c6f6164732f323031362f31312f6c6f676f342d686f7665722e706e67)](https://codesolz.net)

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 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/2d3ca97c3d8c9f5c5e46763ff130c96b5b5deafc3d2c41ce78d19ad50fda3b9c?d=identicon)[tuhin18003](/maintainers/tuhin18003)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[tijsverkoyen/css-to-inline-styles

CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.

5.8k505.3M227](/packages/tijsverkoyen-css-to-inline-styles)[minishlink/web-push

Web Push library for PHP

1.9k12.0M53](/packages/minishlink-web-push)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[spatie/url-signer

Generate a url with an expiration date and signature to prevent unauthorized access

4422.3M16](/packages/spatie-url-signer)[mattketmo/email-checker

Throwaway email detection library

2742.0M5](/packages/mattketmo-email-checker)[laravel-notification-channels/discord

Laravel notification driver for Discord.

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

PHPackages © 2026

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