PHP code example of justinholtweb / craft-airwave

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

    

justinholtweb / craft-airwave example snippets

sh
php craft airwave/feeds/refresh --due
twig
{{ craft.airwave.renderMerged(['craft-news', 'php-weekly'], { limit: 10 }) }}