PHP code example of intothesource / notification

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

    

intothesource / notification example snippets


IntoTheSource\Notification\NotificationServiceProvider::class,

'NotifyMessage' => IntoTheSource\Notification\Facade\NotifyMessage::class,

Notification::
    - success()
    - error()
    - warning()
    - info()
    - overlay() // Bootstrap modal

Notification::error('message', 'title')->important();

Notification::success([
                    'First success',
                    'Second success title' => [
                        'First success',
                        'Second success'
                    ],
                    'Third success'
                ]);

Notification::success('First success');

Notification::success('First success', 'Title success block');

Notification::success('First success');

Notification::overlay( 'Message', 'Title' );
bash
php artisan vendor:publish