PHP code example of webmaster-hm / laravel-notify81
1. Go to this page and download the library: Download webmaster-hm/laravel-notify81 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/ */
webmaster-hm / laravel-notify81 example snippets
Notify::debug("This is a debug message!");
Notify::info("This is a info message!");
Notify::notice("This is a notice message!");
Notify::warning("This is a warning message!");
Notify::error("This is a error message!");
Notify::critical("This is a critical message!");
Notify::alert("This is a alert message!");
Notify::emergency("This is a emergency message!");
# Add context
Notify::info("This is a info message with context!",['user'=>$user, 'data'=>$data]);