PHP code example of numencode / wn-widgets-plugin

1. Go to this page and download the library: Download numencode/wn-widgets-plugin 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/ */

    

numencode / wn-widgets-plugin example snippets


   class Plugin extends PluginBase
   {
       public function boot()
       {
           \NumenCode\Widgets\Components\Promotions::$overrideLayout = true;
       }
   }
   
bash
php artisan winter:up