Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 711 Bytes

readme.md

File metadata and controls

27 lines (21 loc) · 711 Bytes

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