Feed Reader Centralv1

About the CLI

Feed Reader Central’s low-friction design includes having many administrative tasks run in a terminal or shell. “CLI” is short for “Command Line Interface”, and refers to commands that are run via PHP’s php-cli command. Ensure that the version of PHP installed also has that feature enabled. (If you are using the recommended FrankenPHP environment, it has PHP CLI support; use frankenphp php-cli instead of php-cli when following instructions here.)

Running CLI Commands

CLI commands should be run from the same directory with start.php; this will be one directory level up from /public, the web root directory. CLI utilities are in the /util directory, so an invocation will follow the pattern:

php-cli util/some-process.php command option1 option2