PHP code example of digitlimit / alert
1. Go to this page and download the library: Download digitlimit/alert library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
digitlimit / alert example snippets
composer
namespace App\Http\Controllers;
use Alert;
class DashboardController extends Controller
{
public function index()
{
Alert::message('Welcome! Please complete your profile')
->info()
->flash();
return view('home');
}
}