Symfony2: Using the Finder Component for S3
===

On http://symfony.com/doc/current/components/finder.html I read (scroll down) that you can use Symfony's Finder component to iterate through an S3 bucket like so:

    use Symfony\Component\Finder\Finder;

    $s3 = new \Zend_Service_Amazon_S3($key, $secret);
    $s3->registerStreamWrapper("s3");

    $finder = new Finder();
    $finder->name('photos*')->size('< 100K')->date('since 1 hour ago');
    foreach ($finder->in('s3://bucket-name') as $file) {
        // ... do something

        print $file->getFilename()."\n";
    }

But I don't know where to get \Zend_Service_Amazon_S3 class and how to make it work with Symfony since it's not using PHP 5.3 namespaces. I downloaded the new zend framework and found S3.php which inherits some other files. Where do I need to put it and how can I include it?

Sidemark: I found a class (Orchestra S3 Stream) that can also read through S3 buckets, but failed installing it since it uses a pear package where I had some path issues with the files. I think if I can use the Finder component that'd be great. THANKS!