Skip to content

grohiro/laravel-html-alert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

laravel-html-alert

Usage

use Grohiro\Laravel\Alert\Alert;

// Controller
public function index()
{
  return view('index')->withAlert(Alert::success('Done.'));
}
{!! Html::alert() !!}

Install

Add the repository to composer.json

    "repositories": [
        {
            "type": "vcs",
            "url": "git@github.com:grohiro/laravel-html-alert.git"
        }
    ],
$ composer require grohiro/laravel-html-alert 'dev-master'

Add the service provider to `config/app.php'

providers = [
  //...
  Grohiro\Laravel\Alert\AlertServiceProvider::class
];

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages