Lara-Izitoast : Laravel Notification Package

Overview

Lara-Izitoast : Laravel Notification Package

Latest Version on Packagist Total Downloads

Demo Image

This is a laravel notification wrapper build with http://izitoast.marcelodolce.com javascript library.

How to use this package

Config

  • Change the configuration on lara-izitoast.php config dir.

  • Get the package via composer

composer require appslabke/lara-izitoast
  • if you are not using Laravel 5.5 or higher add the service provider in your app.php under providers, in config dir.
'providers' => [
    LaraIzitoast\LaraIzitoastServiceProvider::class,
]

If you are using Laravel 5.5 and above, the package will be auto-discovered by laravel

  • Publish Lara-Izitoast package

php artisan vendor:publish --provider="LaraIzitoast\LaraIzitoastServiceProvider"

  • http://izitoast.marcelodolza.com CSS and JS files will be published in your public dir.

  • This will also create a config file. You can change the notification size from config

  • On your layout blade add the files

..... ">

   .....
   
   
   .....

..... ">
    
    .....
    
    .....
    
    
  • Include the package view file in Layout blade below the iziToast js

@include('vendor.lara-izitoast.toast')

Let's make a toast

  • Quick way to make a toast (notification)

notify("Quick notification");

or

notify("Let's make a toast","Toast","info","topRight");

  • Notification Methods

notify()->success("Message","Title","position", "icon);

notify()->success("Success notification test","Success","topRight");

notify()->error("Error notification test","Error","topLeft");

notify()->warning("Warning notification test","Warning","bottomLeft");

notify()->info("Info notification test","Info","bottomRight");

return view('welcome');

  • And that's it.

Contributing & License

Lara-Izitoast is distributed under the MIT license.

About Apps:Lab

https://appslab.co.ke

You might also like...
An SMS notification channel for the PHP framework Laravel.

Laravel SMS notification channel An SMS notification channel for the PHP framework Laravel. Supported SMS gateways: 46elks Cellsynt Telenor SMS Pro Tw

Laravel notification manager

Easily manage notifications and notification subscriptions in your Laravel application.

Laravel FCM (Firebase Cloud Messaging) Notification Channel

Laravel FCM Notification Laravel FCM (Firebase Cloud Messaging) Notification Channel Use this package to send push notifications via Laravel to Fireba

ApnsPHP: Apple Push Notification & Feedback Provider
ApnsPHP: Apple Push Notification & Feedback Provider

ApnsPHP: Apple Push Notification & Feedback Provider A full set of open source PHP classes to interact with the Apple Push Notification service for th

A filterable git commit summary notification mailer
A filterable git commit summary notification mailer

Git commit notification A symfony application to allow receiving commit notification for all commits in a certain time period. Features: Receive one m

Bootstrap 4 & 5 replacement for jGrowl notification
Bootstrap 4 & 5 replacement for jGrowl notification

XoopsGrowl module for XOOPS CMS 2.5.11+ XoopsGrowl is a module for XOOPS CMS to configure an alternative to the jGrowl notification using Bootstrap Al

Bootstrap 4 & 5 replacement for jGrowl notification
Bootstrap 4 & 5 replacement for jGrowl notification

XoopsGrowl module for XOOPS CMS 2.5.11+ XoopsGrowl is a module for XOOPS CMS to configure an alternative to the jGrowl notification using Bootstrap Al

WordPress Notification plugin
WordPress Notification plugin

Notification This is the public repository for Notification - the WordPress plugin. This plugin allow you to send custom notifications about various e

Laravel package to launch toast notifications.
Laravel package to launch toast notifications.

Laravel package to launch toast notifications. This package provides assistance when using toast notifications. Using the iziTOAST package, which allo

Comments
  • Call to undefined function App\Http\Controllers\notify()

    Call to undefined function App\Http\Controllers\notify()

    Call to undefined function App\Http\Controllers\notify() I am calling this in controller. notify()->success("Success notification test","Success","topRight"); How can we pass the notification through controller to view @marvinhosea @manuelgeek

    opened by ateequrrahman97 1
  • Provider Class Not Found

    Provider Class Not Found

    Class 'LaraIzitoast\LaraIzitoastServiceProvider' not found

    Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1

    opened by marvinhosea 1
Owner
Apps:Lab KE
Appslab co open source
Apps:Lab KE
Notification package for Laravel

Package is looking for maintainers Please contact me if interested. Notification package for Laravel4 / Laravel5 A simple notification management pack

Edvinas Kručas 531 Oct 12, 2022
Livewire Package to display Toast Notification based on TALL Stack.

livewire-toast Livewire Package to display Toast Notification based on TALL Stack. Requirements Make sure that Livewire is installed properly on your

AscSoftwares 35 Nov 12, 2022
Multiple channels of laravel exception notification(DingTalk、FeiShu、ServerChan、WeWork、XiZhi). - 多种通道的 laravel 异常通知(钉钉群机器人、飞书群机器人、Server 酱、企业微信群机器人、息知)。

laravel-exception-notify 简体中文 | ENGLISH Multiple channels of laravel exception notification(DingTalk、FeiShu、ServerChan、WeWork、XiZhi). - 多种通道的 laravel

guanguans 61 Dec 8, 2022
@Authy notification channel for @Laravel, with the ability to send in-app, sms, and call verification tokens.

Authy Notification Channel for Laravel Authy notification channel for Laravel, with the ability to send in-app, sms, and call verification tokens. Tab

Laravel Notification Channels 57 Dec 19, 2022
Google Chat - Laravel Notification Channel

Google Chat - Laravel Notification Channel This package makes it easy to send notifications using Google Chat , (formerly known as Hangouts Chat) with

Laravel Notification Channels 36 Dec 6, 2022
Laravel SMS Notification Channel

Laravel SMS Notification Channel Installation composer require guangda/laravel-sms-notification-channel env 配置 SMS_PROVIDER=yunpian SMS_SIGNATURE=【签名

Guangda 6 Dec 29, 2021
A Toast notification library for the Laravel TALL stack.

A Toast notification library for the Laravel TALL stack. You can push notifications from the backend or frontend to render customizable toasts with almost zero footprint on the published CSS/JS ????

John F 365 Jan 7, 2023
Slack notification for Laravel as it should be. Easy, fast, simple and highly testable.

Based on illuminate/mail About Laravel Slack Slack notification for Laravel as it should be. Easy, fast, simple and highly testable. Since it uses On-

Guilherme Pressutto 284 Aug 24, 2022
Lark Notification Channel for laravel.

Lark notifications channel for Laravel This package makes it easy to send Lark using the Laravel notification system. Supports 5.5+, 6.x, 7.x and 8.x.

null 1 Nov 3, 2021
AmaranJS stylish notification for your laravel application.

AmaranJS Laravel 5 Package AmaranJS L5 package is a Laravel wrapper for my jquery plugin AmaranJS.You can create easy and stylish notifications with A

Hakan ERSU 24 Oct 3, 2019