Skip to main content
Version: 2.x

← Previous · Back to README · Next →

List registered feeds

Starting with version 2.1.0, list feed registrations without generating files or changing their state:

php artisan feed:list

The command has no custom arguments or options. It displays a table with all registrations, including inactive and soft-deleted feeds.

ColumnMeaning
idRegistration ID.
slugRegistration slug used by feed:generate.
titleRegistration title.
expressionStored cron expression.
is_activeWhether the registration is enabled.
is_deletedWhether the registration is soft-deleted.
last_activityLast recorded generation time in ISO 8601; null in JSON when unset.

Non-deleted registrations appear first, followed by soft-deleted registrations. Within each group, active feeds appear first, then rows are sorted by title and ID. Boolean values appear as true or false in the console.

Use a non-deleted registration's slug to generate that feed:

php artisan feed:generate products

If no registrations exist, the console displays No feeds available.

AI agent listing​

Inside a recognized AI coding agent, feed:list automatically returns one compact JSON object on a single line. No extra option is required. Boolean fields remain JSON booleans:

{
"tool": "feed:list",
"result": "success",
"feeds": [
{
"id": 1,
"slug": "products",
"title": "Products",
"expression": "0 * * * *",
"is_active": true,
"is_deleted": false,
"last_activity": null
}
]
}

The example is formatted for readability. An empty listing returns the same envelope with "feeds": [].