laravel-push-notification
發表於 : 2014-11-27 14:01:10
代碼: 選擇全部
https://github.com/davibennun/laravel-push-notification
代碼: 選擇全部
"davibennun/laravel-push-notification": "dev-master"
代碼: 選擇全部
'providers' => array(
Davibennun\LaravelPushNotification\LaravelPushNotificationServiceProvider
)
'aliases' => array(
'PushNotification' => 'Davibennun\LaravelPushNotification\Facades\PushNotification'
)
代碼: 選擇全部
php artisan config:publish davibennun/laravel-push-notification
app\config\packages\davibennun\laravel-push-notification\config.php
代碼: 選擇全部
array(
'appNameIOS'=>array(
'environment'=>'development',
'certificate'=>'/path/to/certificate.pem',
'passPhrase'=>'password',
'service'=>'apns'
),
'appNameAndroid'=>array(
'environment'=>'production',
'apiKey'=>'yourAPIKey',
'service'=>'gcm'
)
);