2017 © Pedro Peláez
 

library laravel-noty

Flash Messages for Laravel Aplication using Noty v3 library

image

rsmalc/laravel-noty

Flash Messages for Laravel Aplication using Noty v3 library

  • Tuesday, May 8, 2018
  • by rsmalc
  • Repository
  • 0 Watchers
  • 2 Stars
  • 458 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 2 Open issues
  • 6 Versions
  • 28 % Grown

The README.md

Flash Messages for Laravel Aplication using Noty v3 library

This is my first Laravel package, I got an inspiration from Jeffrey Way - Easy Flash Messages, (*1)

Installation

Package installation

Use composer to install a package., (*2)

Run composer require rsmalc/laravel-noty, (*3)

In Laravel 5 include the service provider within config/app.php., (*4)

'providers' => [
    RSmalc\Noty\NotyServiceProvider::class,
];

Noty library installation

Install via Bower, (*5)

$ bower install noty

Install via NPM or YARN, (*6)

$ npm install noty
$ yarn add noty

Install via Composer, (*7)

$ composer require needim/noty

Use gulp or webpack to compile it or just copy all file to public folder., (*8)

Use

<head>    
    <link rel="stylesheet" href="/noty.css"></script>
    <script type="text/javascript" src="/noty.js"></script>
</head>

Add in your layout view:, (*9)

@include('noty::message')

Use in a project

noty('Your message');

You can also chose type of the message (alert, success, error, warning, information):, (*10)

noty('Your message', 'alert'); // default 
noty('Your message', 'success');
noty('Your message', 'error');
noty('Your message', 'warning');
noty('Your message', 'information');

Config

You can set a global configuration for notification messages., (*11)

php artisan vendor:publish   

A file will be created in the folder config/laravel-noty.php, (*12)

License

The MIT License (MIT). Please see License File for more information., (*13)

The Versions

08/05 2018

2.0.0.x-dev

2.0.0.9999999-dev

Flash Messages for Laravel Aplication using Noty v3 library

  Sources   Download

MIT

The Requires

 

by Robert Smalc

19/08 2017

dev-master

9999999-dev

Flash Messages for Laravel Aplication using Noty v3 library

  Sources   Download

MIT

The Requires

 

by Robert Smalc

19/08 2017

1.0.3

1.0.3.0

Flash Messages for Laravel Aplication using Noty v3 library

  Sources   Download

MIT

The Requires

 

by Robert Smalc

18/04 2017

1.0.2

1.0.2.0

Flash Messages for Laravel Aplication using Noty v3 library

  Sources   Download

MIT

The Requires

 

by Robert Smalc

18/04 2017

1.0.1

1.0.1.0

Flash Messages for Laravel Aplication using Noty v3 library

  Sources   Download

MIT

The Requires

 

by Robert Smalc

18/04 2017

1.0.0

1.0.0.0

Flash Messages for Laravel Aplication using Noty v3 library

  Sources   Download

MIT

The Requires

 

by Robert Smalc