定制 paragraph/laravel-notifications 二次开发

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

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

paragraph/laravel-notifications

最新稳定版本:0.1

Composer 安装命令:

composer require paragraph/laravel-notifications

包简介

Automatically import and manage your Laravel notifications

README 文档

README

Paragraph official Laravel Notifications package

Installation

The easiest way to install Paragraph Laravel package is by using Composer:

$ composer require paragraph/laravel-notifications

It's almost ready, just copy & paste your Paragraph project ID and API key in your .env file:

PARAGRAPH_PROJECT_ID=XXX
PARAGRAPH_API_KEY=YYY

To get your API key and project ID simply create a new project on Paragraph: https://paragraph.ph/repos/import

Commands

To automatically discover all Laravel Notification classes run:

$ php artisan paragraph:submit [namespace]

By default, the namespace is "App". This command will send the list of notification classes as well as any collected data (rendered views, number of hits) to the Paragraph dashboard via API.

Class auto-discovery in PHP is an expensive process and takes quite some time, because of this we cache the list of classes using Laravel's Storage facade using the 'file' driver. If you just added a new notification class and want to make sure it's discovered you can pass an extra argument:

$ php artisan paragraph:submit --ignore-cache

Creating an account

Sign up for a free account on https://paragraph.ph

Tutorials

Detailed tutorials explaining how to manage your Laravel application in a better way are available in our blog https://paragraph.ph/blog

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-11-27