This plugin is marked as archived and no longer actively maintained
Bruno Meilick Bruno Meilick

Collect

Adds support for Laravel collections to Kirby

Manual

Download

… and extract the folder to site/plugins/collect

Composer

Git Submodule

Sponsor
$mostPopularPage = $kirbyCollection
    ->sortBy('viewcount')->last()
    ->viewcount()->toInt();

// with collect plugin
$mostPopularPage = $kirbyCollection
    ->collect()->max('content.viewcount');
Version
1.1.0
License
MIT
Stars
3
Supports
K4 K3
Latest releases
More