HSNv2 adlı üyeden alıntı: mesajı görüntüle
Hocam for döngüsünün hemen üstüne count etmeyi unutmuşsunuz

$count = count($pins);
For döngüsünün üstüne bunu ekleyin.
şimdi bu şekilde denedim yine array sayfası açıldı



<?php

require __DIR__ . '/../vendor/autoload.php';

use seregazhuk\PinterestBot\Factories\PinterestBot;


$bot = PinterestBot::create();

$pins = $bot->pins
    ->search('cats')
    ->take(5)
    ->toArray();
print_r($pins[0]);


$count = count($pins);

for($i=0;$i<$count;$i++){
 
$img = $pins[$i]['image_large_url'];
echo '<img src="'.$img.'">';
}