title: AWS S3 SDK for PHP: how to get object key from its URL?
body: <p>Since I'm working on legacy code, I would prefer to keep storing objects' URL and not storing their keys. Is there any way to get a key from an URL or must I store keys when I upload files?</p>