PHP code example of swordbros / sw-popup

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

    

swordbros / sw-popup example snippets


    "scripts": {
        "post-update-cmd": [
            ...
            "@php artisan migrate --path=vendor/swordbros/sw-popup/lib/custom/setup/____fix_popup_table.php"

        ]
    }



 $popup_data = \Aimeos\Shop\Facades\Shop::get('popup')->addData($this);