定制 xiebruce/php-notification 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

xiebruce/php-notification

Composer 安装命令:

composer require xiebruce/php-notification

包简介

Send notifications on Windows7/10 / macOS / Linux Desktop with php.

README 文档

README

Send notifications on Windows7/10 / macOS / Linux Desktop with php.

Install

composer require xiebruce/php-notification

Usage

require 'vendor/autoload.php';

use Notification\Notification;

// subtitle only supported on macOS.
$config = [
	'success' => [
		'title' => 'Upload succeed',
		'subtitle' => 'Upload succeed',
		'message' => 'You can paste url directly.',
	],
	'failed' => [
		'title' => 'Upload failed',
		'subtitle' => 'Upload failed',
		'message' => 'Sorry, Upload failed.',
	],
	'no_image' => [
		'title' => 'No image',
		'subtitle' => 'No image was dected on the clipboard',
		'message' => 'No image was detected on the clipboard, Please take a screenshot first.',
	],
];

$notify = new Notification($config);
$notify->send('success');

Demonstration

macOS: notification-macOS

Windows 10: notification-Win10

Windows 7: notification-Win7

Linux(Ubuntu 18.04): notification-Ubuntu

统计信息

  • 总下载量: 78
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-09-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固