Skip to content

ztbcms/bark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bark - A push service for iOS

Bark: https://bark.day.app

Getting Start

  1. Copy the bark/config/sample.env content into your .env
  2. change the config in .env. The details are in Bark documentation
  • device_keys must be set
  • By default, encrytion is enabled. And only support aes-256-cbc.
  • Request /bark/test/generateKeyAndIv to get the key and iv.Set both to your .env and Bark iOS App
  1. Request /bark/test/index to make a push test
  2. Example:
use app\bark\service\BarkService;

BarkService::pushMsg('This is title', 'It works!', 'https://baidu.com', [
    'url' => 'https://devonline.net/'
])

Requirement

  1. OpenSSL 扩展
php -m | grep openssl

About

Bark push service PHP SDK for ztbcms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages