2017 © Pedro Peláez
 

library uikit-notify

uikit notify for laravel

image

whossun/uikit-notify

uikit notify for laravel

  • Wednesday, February 1, 2017
  • by whossun
  • Repository
  • 1 Watchers
  • 2 Stars
  • 35 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

uikit-notify

install

In order to install uikit-notify, just add, (*1)

"whossun/uikit-notify": "dev-master", (*2)

to your composer.json. Then run composer install or composer update., (*3)

Add the service provider to config/app.php, (*4)

Whossun\Notify\NotifyServiceProvider::class,

Optionally include the Facade in config/app.php if you'd like., (*5)

'Notify'  => Whossun\Notify\Facades\Notify::class,

Options

You can set custom options for Reminder. Run:, (*6)

php artisan vendor:publish

to publish the config file for notify., (*7)

Basic

  • Notify::info('message', ['options']);, (*8)

  • Notify::success('message', ['options']);, (*9)

  • Notify::warning('message', ['options']);, (*10)

  • Notify::danger('message', ['options']);, (*11)

  • Notify()->info('message', ['options']);, (*12)

<?php

Route::get('/', function () {
    Notify::success('Messages in here', ['pos' => 'top-center']);

    return view('welcome');
});

Then, (*13)

You should add {!! Notify::render() !!} to your html., (*14)

MIT

The Versions

01/02 2017

dev-master

9999999-dev

uikit notify for laravel

  Sources   Download

MIT

The Requires

 

by Avatar whossun