FakerPHP / Faker

Faker is a PHP library that generates fake data for you
https://fakerphp.github.io
Other
3.47k stars 331 forks source link

Faker images links are broken #797

Closed Carnicero90 closed 8 months ago

Carnicero90 commented 8 months ago

Summary

placeholder.com is no more: I guess they didn't renew their certs, so that now every fake image link doesn't work anymore.

Versions

Version
PHP 8.2.6
fakerphp/faker 1.23.0
pimjansen commented 8 months ago

It is deprecated see older issues. We are not patching this

Carnicero90 commented 8 months ago

I see, my apologies. Still in the docs, though? I guess I could send a pr to remove it.

artifex-media commented 6 months ago

Why won't this be patched? There are many alternatives to placeholder.com, such as https://picsum.photos/ - same concept.

pimjansen commented 6 months ago

Why won't this be patched? There are many alternatives to placeholder.com, such as https://picsum.photos/ - same concept.

Because it is deprecated

neoacevedo commented 1 month ago

@pimjansen at least you should set in the documentation about the deprecation on that method because it looks like can be used: https://fakerphp.github.io/formatters/image/#imageurl

bram-pkg commented 1 month ago

https://github.com/FakerPHP/fakerphp.github.io/pull/98 to document this