Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

LaravelFreelancerNL's avatar

Silent fail in non-production environments for api calls?

I'm working on a small package to wrap the IndexNow api. This let's you notify certain search engines of webpage changes.

Now you don't want to submit anything in non-production environments, so I'm adding a feature to prevent that. Would you want a log notification when a submission is prevented in this way?

Right now I'm leaning to make it configurable and on by default.

0 likes
0 replies

Please or to participate in this conversation.