PHP code example of amirardakani / mdtoast
1. Go to this page and download the library: Download amirardakani/mdtoast 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/ */
amirardakani / mdtoast example snippets
Amirardakani\\MaterialToast\\ToastServiceProvider::class,
'Toast' => Amirardakani\\MaterialToast\\Facades\\Toast::class,
Route::get('/', function () {
Toast::success('Messages in here');
return view('welcome');
});