danielpetrica
danielpetrica

Andrei Daniel Petrica

@danielpetrica

I’m driven by curiosity, and the need to continuously learn new things. Some techs I liked working with the most are Typescript (with Vue.js and Nuxt.js); PHP: Laravel and Docker
216 Posts 934 Views
  • No matching results...
  • Searching...

/ 255

Pinned

Hello artisans!

I'm excited to launch Laraplugins.io — a Laravel-built directory that helps you discover healthy, maintained plugins faster. The platform features automated health scores for each plugin, so you can quickly assess quality and make confident decisions without spending hours researching.

Check it out: www.producthunt.com/products/laraplugins-io

77

Wrote up how I replaced all the ugly S3 URLs on my Laravel blog with clean /storage/media/... and /storage/og-images/... paths.
The setup: Laravel + Octane + Traefik + Cloudflare. Two buckets -- a private one for uploaded media and a public one for auto-generated OG images.
What's in the post:
- MediaUrlBusiness helper class that centralizes URL generation (replaced 6+ blade templates of raw Storage::url() calls)
- ObjectProxyController that streams files directly from S3 using readStream() + response()->stream() -- no memory buffering
- Cache-Control: public, max-age=86400, immutable so Cloudflare caches aggressively
- Route setup in routes/static.php with a middleware tweak that doesn't overwrite the proxy's own cache headers
One gotcha: Storage::download() and streamDownload() buffer the whole file into memory. Switching to readStream() sends it directly from S3 to the client.

danielpetrica.com/how-to-replace-raw-s3-urls-with-a-laravel-image-proxy-and-keep-your-cdn-cache

23

Hello,
for the last 5 months I've being building laraplugins
with the hope to turn it into something that empowers devs to choose packages more easily, but now I am in a bit of a pinch, as I do not know what could help make it more useful for you. Please send me any idea

36

Hey laravel developers!
I am trying to prepare a report on the state of plugins for the laravel ecosystem.
To do it i need the help of as many laravel developers as possible to have a better statistically significant image of the current state.
If you have less than 3 minutes while the test runs I would love it.
coz.jp/n1X1ar

81

You can't have nice things on the internet anymore. I removed the link and user, as this kind of content is against the terms of usage for Coz JP. Tomorrow, I will finish implementing a fully automated process scanning the URLs against public APIs of malicious known content.
Do any of you have experience with user moderation?
Do you have any advice on how to best implement it in this case?
image

23

Hi everyone,
Sorry to be like this but I am trying to promote my service: coz.jp/kRHQg7
Can you please help me by likeing and commenting this post?
with Cozjp you can create customized short links, and maintain full management capabilities by editing or deleting them whenever necessary. Its robust API is available now for instant integration, ensuring Coz.jp is a future-proof, scalable solution for your business processes (with MCP integration coming soon).

42