PHP code example of justinholtweb / craft-eat

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

sh
php craft eat/feeds                          # list feeds
php craft eat/feeds/generate <handle>        # generate one
php craft eat/feeds/generate --all           # generate everything
php craft eat/feeds/generate --due           # generate what the schedule says
php craft eat/feeds/generate <handle> --queue
php craft eat/feeds/preview <handle> --limit=5
php craft eat/feeds/export --file=feeds.json
php craft eat/feeds/import feeds.json
php craft eat/runs [handle] --limit=20
php craft eat/runs/prune --days=30