PHP code example of tsfcorp / uifeedback

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

    

tsfcorp / uifeedback example snippets


UiFeedback::set(MessageFormat::SUCCESS, 'message');

UiFeedback::success('success message');
UiFeedback::danger('error message');

{!! \TsfCorp\UiFeedback\Facades\UiFeedback::get() !!}

{!! \TsfCorp\UiFeedback\Facades\UiFeedback::format(\TsfCorp\UiFeedback\MessageFormat::SUCCESS, 'message'); !!}
 
bash
php artisan vendor:publish --provider="TsfCorp\UiFeedback\UiFeedbackServiceProvider" --tag=config
bash
php artisan vendor:publish --provider="TsfCorp\UiFeedback\UiFeedbackServiceProvider" --tag=views