Support paginating the output of visits commands to avoid out of memory errors

This commit is contained in:
Alejandro Celaya
2025-12-29 10:22:50 +01:00
parent faed7ae60b
commit c0edcd3cfd
13 changed files with 100 additions and 27 deletions

View File

@@ -101,7 +101,7 @@ class GetShortUrlVisitsCommandTest extends TestCase
| Referer | Date | User agent | Country | City |
+---------+---------------------------+------------+---------+--------+
| foo | {$visit->date->toAtomString()} | bar | Spain | Madrid |
+---------+---------------------------+------------+---------+--------+
+---------+------------------ Page 1 of 1 ---------+---------+--------+
OUTPUT,
$output,