PHP code example of lukashron / easy-messages

1. Go to this page and download the library: Download lukashron/easy-messages 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/ */

    

lukashron / easy-messages example snippets


    $flashMessage = new \LukasHron\EasyMessages\Messages();
    $flashMessage->add('My flash messages', 'error');
    $flashMessage->render();