2017 © Pedro Peláez
 

package sweetalert

A Sweet Alert package for Laravel 5.2

image

moathdev/sweetalert

A Sweet Alert package for Laravel 5.2

  • Friday, November 11, 2016
  • by moathdev
  • Repository
  • 0 Watchers
  • 10 Stars
  • 121 Installations
  • CSS
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 10 % Grown

The README.md

Laravel 5.2 SweetAlert

all appreciation to laracasts.com i just can't sleep ! so i created package :), (*1)

Installation

composer require moathdev/sweetalert

After install this package you have to set the service provider on your config/app.php file, (*2)

Moathdev\Sweetalert\SweetalertServiceProvider::class,

Then you just need to publish files ! Copy and paste it, (*3)

php artisan vendor:publish --provider="Moathdev\Sweetalert\SweetalertServiceProvider"

Then in your master view add those styles and scripts. Put this style between the , (*4)

tags
 <head>
        <link href="/css/sweetalert.css" rel="stylesheet"/>

Add the JS script and include flash view before close your , (*5)

tag., (*6)

        <script src="/js/sweetalert.min.js"></script>
        @include('Flash')
    </body>

Usage

it's so Easy !, (*7)


flash('title','message','success',true); // there is 4 Types 1-warning 2-error 3-success 4-info // showConfirmButton yes = true no = false

Issues

If you have any questions or issues, please open an Issue ., (*8)

The Versions

11/11 2016

dev-master

9999999-dev

A Sweet Alert package for Laravel 5.2

  Sources   Download

MIT

The Requires

 

by Avatar moathdev

11/11 2016

1.0.3

1.0.3.0

A Sweet Alert package for Laravel 5.2

  Sources   Download

MIT

The Requires

 

by Avatar moathdev

11/11 2016

1.0.2

1.0.2.0

A Sweet Alert package for Laravel 5.2

  Sources   Download

MIT

The Requires

 

by Avatar moathdev

18/10 2016

1.0.1

1.0.1.0

A Sweet Alert package for Laravel 5.2

  Sources   Download

MIT

The Requires

 

by Avatar moathdev

15/09 2016

1.0.0

1.0.0.0

A Sweet Alert package for Laravel 5.2

  Sources   Download

MIT

The Requires

 

by Avatar moathdev