Laravel package to enable sending push notifications to devices

Overview

Laravel Push Notification

Package to enable sending push notifications to devices

Installation

Update your composer.json file to include this package as a dependency

Laravel 5 & Lumen

"davibennun/laravel-push-notification": "dev-laravel5"

Laravel 4.*

"davibennun/laravel-push-notification": "dev-master"

Register the PushNotification service provider by adding it to the providers array.

'providers' => array(
	...
	'Davibennun\LaravelPushNotification\LaravelPushNotificationServiceProvider'
)

Alias the PushNotification facade by adding it to the aliases array in the app/config/app.php file.

'aliases' => array(
	...
	'PushNotification' => 'Davibennun\LaravelPushNotification\Facades\PushNotification'
)

Configuration

Copy the config file into your project by running: (Lumen users skip this)

Laravel 5

php artisan vendor:publish --provider="Davibennun\LaravelPushNotification\LaravelPushNotificationServiceProvider" --tag="config"

Laravel 4.*

php artisan config:publish davibennun/laravel-push-notification

This will generate a config file like this

array(
    'appNameIOS'=>array(
		'environment' => 'development',
		'certificate' => '/path/to/certificate.pem',
		'passPhrase'  => 'password',
		'service'     => 'apns'
    ),
    'appNameAndroid'=>array(
		'environment' => 'production',
		'apiKey'      => 'yourAPIKey',
		'service'     => 'gcm'
    )
);

Where all first level keys corresponds to an service configuration, each service has its own properties, android for instance have apiKey and IOS uses certificate and passPhrase. You can set as many services configurations as you want, one for each app.

Dont forget to set service key to identify IOS 'service'=>'apns' and Android 'service'=>'gcm'
The certificate path must be an absolute path, so in the configuration file you can use these:
//Path to the 'app' folder
'certificate'=>app_path().'/myCert.pem'

Laravel functions are also available public_path() storage_path() base_path()

Usage

PushNotification::app('appNameIOS')
                ->to($deviceToken)
                ->send('Hello World, i`m a push message');

Where app argument appNameIOS refers to defined service in config file.

Dynamic configuration and Lumen users

You can set the app config array directly: (keep in mind the array schema)

//iOS app
PushNotification::app(['environment' => 'development',
		'certificate' => '/path/to/certificate.pem',
		'passPhrase'  => 'password',
		'service'     => 'apns']);
//Android app		
PushNotification::app(['environment' => 'production',
		'apiKey'      => 'yourAPIKey',
		'service'     => 'gcm']);

To multiple devices and optioned message:

$devices = PushNotification::DeviceCollection(array(
    PushNotification::Device('token', array('badge' => 5)),
    PushNotification::Device('token1', array('badge' => 1)),
    PushNotification::Device('token2')
));
$message = PushNotification::Message('Message Text',array(
    'badge' => 1,
    'sound' => 'example.aiff',
    
    'actionLocKey' => 'Action button title!',
    'locKey' => 'localized key',
    'locArgs' => array(
        'localized args',
        'localized args',
    ),
    'launchImage' => 'image.jpg',
    
    'custom' => array('custom data' => array(
        'we' => 'want', 'send to app'
    ))
));

$collection = PushNotification::app('appNameIOS')
    ->to($devices)
    ->send($message);

// get response for each device push
foreach ($collection->pushManager as $push) {
    $response = $push->getAdapter()->getResponse();
}

// access to adapter for advanced settings
$push = PushNotification::app('appNameAndroid');
$push->adapter->setAdapterParameters(['sslverifypeer' => false]);

This package is wrapps Notification Package and adds some flavor to it.

Usage advice

This package should be used with Laravel Queues, so pushes dont blocks the user and are processed in the background, meaning a better flow.

Comments
  • Laravel 5 Compatibility

    Laravel 5 Compatibility

    Hello,

    Me and my company are getting ready to integrate Push Notifications into our application. However, we are developing on Laravel 5. Is there an ETA on getting this updated to be compatible with L5?

    Cheers, Andrew

    opened by ellisio 19
  • Laravel 5 error

    Laravel 5 error

    I'm getting this error:

    {
        "exception": {
            "type": "Symfony\\Component\\Debug\\Exception\\FatalErrorException",
            "code": 1,
            "message": "Class 'Sly\\NotificationPusher\\Adapter\\' not found",
            "file": "/var/www/reverse-api/vendor/davibennun/laravel-push-notification/src/Davibennun/LaravelPushNotification/App.php",
            "line": 19,
            "stackTrace": []
        }
    }
    

    My composer.json:

    {
        "name": "plugapps/appname",
        "description": "Description here",
        "keywords": ["asdf", "asdf"],
        "license": "MIT",
        "type": "project",
        "require": {
            "laravel/framework": "5.0.*",
            "predis/predis": "~1.0",
                    "aws/aws-sdk-php-laravel": "~2.0",
            "barryvdh/laravel-ide-helper": "~2.0",
                    "barryvdh/laravel-cors": "0.5.x@dev",
                    "tymon/jwt-auth": "dev-laravel-5",
                    "davibennun/laravel-push-notification": "dev-laravel5"
        },
        "require-dev": {
            "phpunit/phpunit": "~4.0",
            "phpspec/phpspec": "~2.1"
        },
        "autoload": {
            "classmap": [
                "database"
            ],
            "psr-4": {
                "Reverse\\": "app/"
            }
        },
        "autoload-dev": {
            "classmap": [
                "tests/TestCase.php"
            ]
        },
        "scripts": {
            "post-install-cmd": [
                "php artisan clear-compiled",
                            "php artisan ide-helper:generate",
                "php artisan optimize"
            ],
            "post-update-cmd": [
                "php artisan clear-compiled",
                "php artisan ide-helper:generate",
                "php artisan optimize"
            ],
            "post-create-project-cmd": [
                "php -r \"copy('.env.example', '.env');\"",
                "php artisan key:generate"
            ]
        },
        "config": {
            "preferred-install": "dist"
        }
    }
    

    Whats happen?

    opened by Maykonn 8
  • Push notification is not being delivered to device

    Push notification is not being delivered to device

    I have followed all steps for configuring the package but I am unable to receive notification on apple device. Here is my server code to send notification; $pn = PushNotification::app('iOS')->to('b2ae8b68fff1fbbe957b8b8f703744794d89f09d45f69b2d847a26c3b064e268')->send('Hello'); dd($pn); // just printed out see whats going on with push manager Here is the dd() function output; screen shot 2016-08-22 at 4 26 43 pm I have added correct certificates for push as well in config file. I really don't get why it is not being delivered.

    opened by tahirwaseer 7
  • sslcafile and ssclapath issue

    sslcafile and ssclapath issue

    Hello!

    I am receiving this error only in Android (iOS is working well).

    'Zend\Http\Client\Adapter\Exception\RuntimeException' with message 'Unable to enable crypto on TCP connection android.googleapis.com: make sure the "sslcafile" or "sslcapath" option are properly set for the environment.' in /home/casper/development/vendor/zendframework/zend-http/Zend/Http/Client/Adapter/Socket.php:310

    Do you know how to solve it? I've been googling a little bit but I haven't found a proper solution.

    Thank you very much! :D

    opened by juanjolainez 7
  • Your four hours ago changes is giving me error during composer installation

    Your four hours ago changes is giving me error during composer installation

    I just try pushing my code base to my hosting provider and I got an error. That your package requires php version 5.4.0 but when I change my php version, the push command hangs and indicates it cannot find php command, Pagoda Box is my hosting provider, my request is can you give me the version number for the previous one before these changes today. I am using laravel 4.1

    opened by ghost 6
  • Question: Does this work for Laravel 4.1.x?

    Question: Does this work for Laravel 4.1.x?

    I get an issue when trying to install for Laravel 4.1.x:

    Problem 1
    - zendframework/zend-json dev-develop requires zendframework/zend-stdlib dev-develop -> no matching package found.
    - sly/notification-pusher v2.2.4 requires zendframework/zendservice-google-gcm 1.* -> satisfiable by zendframework/zendservice-google-gcm[1.0.1].
    - zendframework/zendservice-google-gcm 1.0.1 requires zendframework/zend-json >=2.0.0 -> satisfiable by zendframework/zend-json[2.3.x-dev].
    - davibennun/laravel-push-notification dev-master requires sly/notification-pusher 2.* -> satisfiable by sly/notification-pusher[v2.2.4].
    - remove zendframework/zend-json 2.3.x-dev|keep zendframework/zend-json dev-develop

    • Installation request for davibennun/laravel-push-notification dev-master -> satisfiable by davibennun/laravel-push-notification[dev-master].
    opened by domtancredi 6
  • Adapter Apns does not support XXXX token's device

    Adapter Apns does not support XXXX token's device

    Hi, I am trying to send push notification to iOS Device. certificate.pem file is correct. I have created a route to send out a notification to IOS device. But when i am trying to call the function, its throwing me: - local.ERROR: exception 'Sly\NotificationPusher\Exception\AdapterException' with message 'Adapter Apns does not support XXXX token's device' in /private/var/www/pattypets/vendor/sly/notification-pusher/src/Sly/NotificationPusher/Model/Push.php:90

    Please see:- Its working well and good in android.

    opened by abhijeetnaik 5
  • can not use push-notification 'Failed to enable crypto'

    can not use push-notification 'Failed to enable crypto'

    ErrorException in AbstractClient.php line 102: Failed to enable crypto

    in AbstractClient.php line 102 at HandleExceptions->handleError('2', 'Failed to enable crypto', '/home/vagrant/Code/PersonalInfoPushCenter/vendor/zendframework/zendservice-apple-apns/library/ZendService/Apple/Apns/Client/AbstractClient.php', '102', array('errno' => '0', 'errstr' => '', 'host' => 'tls://gateway.sandbox.push.apple.com:2195', 'ssl' => array('local_cert' => '/home/vagrant/Code/PersonalInfoPushCenter/ck.pem', 'passphrase' => '')))

    my environment is Laravel 5.1 + Homestead + HHVM

    And i found Same question here.

    Appears the HHVM devs are aware of it and have added it to their TODO list.. facebook/hhvm#1647

    opened by LiangJianle 5
  • how to set optional parameters in Android GCM

    how to set optional parameters in Android GCM

    I am trying to set keys like "collapseKey" and "delayWhileIdle" in GCM . I have no idea how to set those keys . This is how I set keys .

    $message = PushNotification::Message($msg,array(
                'msgcnt'=> 1,
                'title'=>$event->title,
                'collapseKey' => 'invited' 
    ));
    
    

    According to this collaposeKey is not working . And it is also inside payload of GCM instead . any idea ? thanks

    opened by sannysinghs 5
  • push notifications do not sent after certificate renew

    push notifications do not sent after certificate renew

    Hi there, I have problem with push notifications. After certificate renew the push notifications do not sent. Could you please advise a solution for that issue.

    Thanks in advance.

    opened by snoooopx 4
  • Device token must be mask

    Device token must be mask "/[^0-9a-f]/". Token given: ".........."

    'iOS' => array( 'environment' =>'production', 'certificate' =>'storage/public/key/ios/APNS_cert.pem', 'passPhrase' =>'', 'service' =>'apns' )

    $os = "iOS"; $token = "1111111111111111111111111111111111111111111111111111111"; $string = "EURO MAX is scheduled to arrive at 2017-05-09 and is scheduled to depart on 2017-04-08"; PushNotification::app($os)->to($token)->send($string);

    So I want to know is passphrase mandatory in iOS Case ????

    opened by vibhorpg 4
  • No receiving push to ios device

    No receiving push to ios device

    When sending push from server it doesn't delivers to ios device but works in android, i tried via pushtry.com it went through it but not from server @davibennun

    opened by sarveshamrit 21
  • Laravel 6 Support

    Laravel 6 Support

    I am trying to install in laravel 6 but its showing below error.

    Your requirements could not be resolved to an installable set of packages.
    
      Problem 1
        - Conclusion: remove laravel/framework v6.0.3
        - Conclusion: don't install laravel/framework v6.0.3
        - Conclusion: don't install laravel/framework v6.0.2
        - Installation request for davibennun/laravel-push-notification dev-laravel5 -> satisfiable by davibennun/laravel-push-notification[dev-laravel5].
        - Conclusion: don't install laravel/framework v6.0.1
        - Conclusion: don't install laravel/framework v6.0.0
        - davibennun/laravel-push-notification dev-laravel5 requires illuminate/support 5.* -> satisfiable by illuminate/support[5.0.x-dev, 5.1.x-dev, 5.2.x-dev, 5.3.x-dev, 5.4.x-dev, 5.5.x-dev, 5.6.x-dev, 5.7.17, 5.7.18, 5.7.19, 5.7.x-dev, 5.8.x-dev, v5.0.0, v5.0.22, v5.0.25, v5.0.26, v5.0.28, v5.0.33, v5.0.4, v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8, v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7, v5.3.0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.27, v5.4.36, v5.4.9, v5.5.0, v5.5.16, v5.5.17, v5.5.2, v5.5.28, v5.5.33, v5.5.34, v5.5.35, v5.5.36, v5.5.37, v5.5.39, v5.5.40, v5.5.41, v5.5.43, v5.5.44, v5.6.0, v5.6.1, v5.6.10, v5.6.11, v5.6.12, v5.6.13, v5.6.14, v5.6.15, v5.6.16, v5.6.17, v5.6.19, v5.6.2, v5.6.20, v5.6.21, v5.6.22, v5.6.23, v5.6.24, v5.6.25, v5.6.26, v5.6.27, v5.6.28, v5.6.29, v5.6.3, v5.6.30, v5.6.31, v5.6.32, v5.6.33, v5.6.34, v5.6.35, v5.6.36, v5.6.37, v5.6.38, v5.6.39, v5.6.4, v5.6.5, v5.6.6, v5.6.7, v5.6.8, v5.6.9, v5.7.0, v5.7.1, v5.7.10, v5.7.11, v5.7.15, v5.7.2, v5.7.20, v5.7.21, v5.7.22, v5.7.23, v5.7.26, v5.7.27, v5.7.28, v5.7.3, v5.7.4, v5.7.5, v5.7.6, v5.7.7, v5.7.8, v5.7.9, v5.8.0, v5.8.11, v5.8.12, v5.8.14, v5.8.15, v5.8.17, v5.8.18, v5.8.19, v5.8.2, v5.8.20, v5.8.22, v5.8.24, v5.8.27, v5.8.28, v5.8.29, v5.8.3, v5.8.30, v5.8.31, v5.8.32, v5.8.33, v5.8.34, v5.8.35, v5.8.4, v5.8.8, v5.8.9].
        - don't install illuminate/support 5.5.x-dev|don't install laravel/framework 6.x-dev
        - don't install illuminate/support 5.6.x-dev|don't install laravel/framework 6.x-dev
        - don't install illuminate/support 5.7.17|don't install laravel/framework 6.x-dev
        - don't install illuminate/support 5.7.18|don't install laravel/framework 6.x-dev
        - don't install illuminate/support 5.7.19|don't install laravel/framework 6.x-dev
        - don't install illuminate/support 5.7.x-dev|don't install laravel/framework 6.x-dev
        - don't install illuminate/support 5.8.x-dev|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.5.0|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.5.16|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.5.17|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.5.2|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.5.28|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.5.33|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.5.34|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.5.35|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.5.36|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.5.37|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.5.39|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.5.40|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.5.41|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.5.43|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.5.44|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.0|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.1|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.10|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.11|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.12|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.13|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.14|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.15|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.16|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.17|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.19|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.2|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.20|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.21|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.22|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.23|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.24|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.25|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.26|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.27|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.28|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.29|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.3|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.30|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.31|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.32|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.33|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.34|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.35|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.36|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.37|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.38|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.39|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.4|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.5|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.6|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.7|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.8|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.6.9|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.7.0|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.7.1|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.7.10|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.7.11|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.7.15|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.7.2|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.7.20|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.7.21|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.7.22|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.7.23|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.7.26|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.7.27|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.7.28|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.7.3|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.7.4|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.7.5|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.7.6|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.7.7|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.7.8|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.7.9|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.8.0|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.8.11|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.8.12|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.8.14|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.8.15|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.8.17|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.8.18|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.8.19|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.8.2|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.8.20|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.8.22|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.8.24|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.8.27|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.8.28|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.8.29|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.8.3|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.8.30|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.8.31|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.8.32|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.8.33|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.8.34|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.8.35|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.8.4|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.8.8|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.8.9|don't install laravel/framework 6.x-dev
        - don't install illuminate/support 5.1.x-dev|don't install laravel/framework 6.x-dev
        - don't install illuminate/support 5.2.x-dev|don't install laravel/framework 6.x-dev
        - don't install illuminate/support 5.3.x-dev|don't install laravel/framework 6.x-dev
        - don't install illuminate/support 5.4.x-dev|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.1.1|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.1.13|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.1.16|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.1.2|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.1.20|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.1.22|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.1.25|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.1.28|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.1.30|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.1.31|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.1.41|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.1.6|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.1.8|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.2.0|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.2.19|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.2.21|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.2.24|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.2.25|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.2.26|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.2.27|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.2.28|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.2.31|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.2.32|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.2.37|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.2.43|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.2.45|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.2.6|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.2.7|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.3.0|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.3.16|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.3.23|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.3.4|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.4.0|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.4.13|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.4.17|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.4.19|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.4.27|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.4.36|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.4.9|don't install laravel/framework 6.x-dev
        - don't install illuminate/support 5.0.x-dev|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.0.0|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.0.22|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.0.25|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.0.26|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.0.28|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.0.33|don't install laravel/framework 6.x-dev
        - don't install illuminate/support v5.0.4|don't install laravel/framework 6.x-dev
        - Installation request for laravel/framework ^6.0 -> satisfiable by laravel/framework[6.x-dev, v6.0.0, v6.0.1, v6.0.2, v6.0.3].
    
    
    opened by umairali 1
  •  Unable to connect: tls://gateway.sandbox.push.apple.com:2195: 2 (stream_socket_client(): unable to connect to tls://gateway.sandbox.push.apple.com:2195 (Connection refused))

    Unable to connect: tls://gateway.sandbox.push.apple.com:2195: 2 (stream_socket_client(): unable to connect to tls://gateway.sandbox.push.apple.com:2195 (Connection refused))

    ZendService \ Apple \ Exception \ RuntimeException Unable to connect: tls://gateway.sandbox.push.apple.com:2195: 2 (stream_socket_client(): unable to connect to tls://gateway.sandbox.push.apple.com:2195 (Connection refused))

    opened by surjit-logiciel 0
  • Unable to connect: tls://gateway.push.apple.com:2195: 2

    Unable to connect: tls://gateway.push.apple.com:2195: 2

    Unable to connect: tls://gateway.push.apple.com:2195: 2 (stream_socket_client(): Unable to set local cert chain file `Certif/ainayatiPush12.p12'; Check that your cafile/capath settings include details of your certificate and its issuer)

    opened by AymenBouein 1
Owner
Davi Nunes
Davi Nunes
Send push notifications to apple devices (iPhone, iPad, iPod).

Apple Apn Push Send push notifications to apple devices (iPhone, iPad, iPod). Support authenticators: Certificate Json Web Token Supported protocols:

Vitaliy Zhuk 157 Dec 1, 2022
Standalone PHP library for easy devices notifications push.

NotificationPusher Standalone PHP library for easy devices message notifications push. Feel free to contribute! Thanks. Contributors Cédric Dugat (Aut

Cédric Dugat 1.2k Jan 3, 2023
Larafirebase is a package thats offers you to send push notifications or custom messages via Firebase in Laravel.

Introduction Larafirebase is a package thats offers you to send push notifications or custom messages via Firebase in Laravel. Firebase Cloud Messagin

Kutia Software Company 264 Jan 7, 2023
This package makes it easy to send web push notifications with Laravel.

Web push notifications channel for Laravel This package makes it easy to send web push notifications with Laravel. Installation You can install the pa

Laravel Notification Channels 564 Jan 3, 2023
Push Notifications using Laravel

laravel-push-notification Push Notifications using Laravel PushNotification::send(['deviceToken1', 'deviceToken2',..], 'Notification Message', 'Action

Webelight Solutions 26 Jul 22, 2022
Send Firebase push notifications with Laravel php framework.

FCM Notification Channel for Laravel Send Firebase push notifications with Laravel php framework. Installation You can install this package via compos

Ankur Kumar 23 Oct 31, 2022
Takes care of Apple push notifications (APNS) in your PHP projects.

Notificato Notificato takes care of push notifications in your PHP projects. Italian: notificato è: participio passato English: notified Why use Notif

Mathijs Kadijk 223 Sep 28, 2022
A PHP Library to easily send push notifications with the Pushwoosh REST Web Services.

php-pushwoosh A PHP Library to easily send push notifications with the Pushwoosh REST Web Services. First sample, creating a Pushwoosh message // Crea

gomoob 63 Sep 28, 2022
Push notifications Library for PHP

Push notifications Library for PHP Supported Protocols Protocol Supported Driver Options APNs (Token Based) ✓ APNs\Token APNs\Token\Option APNs (Certi

Norifumi SUNAOKA 3 Dec 14, 2022
Takes care of Apple push notifications (APNS) in your PHP projects.

Notificato Notificato takes care of push notifications in your PHP projects. Italian: notificato è: participio passato English: notified Why use Notif

Mathijs Kadijk 223 Sep 28, 2022
WebPush can be used to send notifications to endpoints which server delivers Web Push

WebPush can be used to send notifications to endpoints which server delivers Web Push notifications as described in the Web Push protocol. As it is standardized, you don't have to worry about what server type it relies on.

null 1.5k Jan 7, 2023
ApnsPHP: Apple Push Notification & Feedback Provider

ApnsPHP: Apple Push Notification & Feedback Provider A full set of open source PHP classes to interact with the Apple Push Notification service for th

Immobiliare Labs 1.4k Nov 16, 2022
Laravel package to launch toast notifications.

Laravel package to launch toast notifications. This package provides assistance when using toast notifications. Using the iziTOAST package, which allo

Anthony Medina 7 Nov 25, 2022
A package to simplify automating future notifications and reminders in Laravel

Laravel Snooze Schedule future notifications and reminders in Laravel Why use this package? Ever wanted to schedule a future notification to go out at

Thomas Kane 720 Jan 7, 2023
This package makes it easy to send notifications using RocketChat with Laravel 9.0+.

laravel-rocket-chat-notifications Introduction This package makes it easy to send notifications using RocketChat with Laravel 9.0+. Contents Installat

Team Nifty GmbH 25 Dec 1, 2022
This package allows you to send notifications to Microsoft Teams.

Teams connector This package allows you to send notifications to Microsoft Teams. Installation You can install the package using the Composer package

skrepr 20 Oct 4, 2022
Implementations for different SMS providers for EspoCRM. Can be used for 2-factor authentication or automatic SMS sending via Workflow and BPM tools.

SMS Providers for EspoCRM An installable extension. Supported SMS Providers Twilio Spryng sms77 Setting up Install the extension. At Administration >

EspoCRM - Open Source CRM 11 Nov 30, 2022
Laravel Security Notifications

This package adds security notifications to warn your users when significant security events occur so that they aren't the next victim of an attacker.

Anteris 5 Feb 8, 2022
Laravel Subscribable Notifications

Laravel Subscribable Notifications This package allows you to subscribe your app Users to your app Notifications and dispatch them without specifying

Andrés Santibáñez 132 Nov 10, 2022