PHP code example of cenotia / yii2-remote-modal

1. Go to this page and download the library: Download cenotia/yii2-remote-modal 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/ */

    

cenotia / yii2-remote-modal example snippets

 RemoteModal::begin([
		"id"=>"XXXXXXXXXID",
		"options"=> [ "class"=>"fade slide-right "],
		"footer"=>"", // always need it for jquery plugin
		])
 RemoteModal::end();