承接 signalert/laravel-package 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

signalert/laravel-package

最新稳定版本:1.0.6

Composer 安装命令:

composer require signalert/laravel-package

包简介

A Laravel package for Signalert

README 文档

README

Customisable & Extensible Notifications - Providing Alerts Exactly Where You Need Them

The following Readme details how to install, integrate and use this package within your Laravel installation. For more information on how Signalert works, please visit the Signalert site.

Installation

Include this package within your project's composer.json file:

{
    "require": {
        "signalert/laravel-package": "dev-master"
    }
}

Then run composer update signalert/laravel-package

Integration

To integrate this package with your Laravel project, first add the Service Provider to your config/app.php file under the providers array:

'providers' => [
    ...
    Signalert\ServiceProviders\SignalertServiceProvider::class,
];

Now add the Signalert Facade to your aliases, in the same file:

'aliases' => [
    ...
    'Signalert' => Signalert\Facades\Signalert::class,
];

Usage

Since this package works with Laravel Facades, you don't need to instantiate the object, as in the Signalert main package.

Signalert makes it simple to store messages:

Signalert::store('Notification Name', 'homepage');

Signalert makes it simple to render messages:

Signalert::render('homepage', 'error');

Signalert even makes it simple to retrieve messages as an array:

Signalert::fetch('homepage', 'error');

Customisation

Please refer to the Signalert site, for more information on how to extend and customise the package.

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2015-09-19