PHP code example of xililo / flash-popup-widget

1. Go to this page and download the library: Download xililo/flash-popup-widget 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/ */

    

xililo / flash-popup-widget example snippets


  Yii::$app->session->addFlash('danger', 'Log in to proceed with the operation.');

  use xililo\Popups\FlashPopupWidget;

  echo FlashPopupWidget::widget();