2017 © Pedro Peláez
 

library larasweetalert

A package that provides a simple Alerts

image

rezaar/larasweetalert

A package that provides a simple Alerts

  • Monday, November 16, 2015
  • by julles
  • Repository
  • 1 Watchers
  • 1 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Pacakge Sweet Alert For Laravel 5

Cara install ?, (*1)

  1. ketik composer require rezaar/larasweetalert dev-master di command prompt
  2. register service provider dan facade nya rezaar\larasweetalert\LarasweetalertProvider::class (provider) ,'sweet' => rezaar\larasweetalert\LarasweetalertFacade::class (facade)
  3. tambah kan script berikut di autload psr4 di composer.json anda "rezaar\larasweetalert\" : "vendor/rezaar/larasweetalert/src", buka command prompt ketik composer dumpautoload
  4. download plugin sweetalert di sini
  5. import js dan css nya di layout anda <script src="/sweetalert/dist/sweetalert.min.js"></script> , <link rel="/sweetalert/stylesheet" type="text/css" href="dist/sweetalert.css">

cara penggunaan :, (*2)

basic : <?php echo sweet::alert(['title' => 'this title' , 'text' => 'Hello World' ,'type' => 'success']) ?> atau {!! sweet::alert(['title' => 'this title' , 'text' => 'Hello World' ,'type' => 'success']) !!}, (*3)

The Versions

16/11 2015

dev-master

9999999-dev

A package that provides a simple Alerts

  Sources   Download

MIT

by Muhamad Reza Abdul Rohim

16/11 2015

1.0.0

1.0.0.0

A package that provides a simple Alerts

  Sources   Download

MIT

by Muhamad Reza Abdul Rohim