Andrei-Daniel Petrica.
WEb developer with 8 years of experience, trying to #BuildinPublic @LaraPlugins@phpc.social
Topics:
Php, Laravel, Javascript, Sql, Docker, Traefik, Japan, anime
Posts
One thing I learned the hard way after nuking my Mastodon instance: automated offsite backups are non-negotiable.
I updated my Docker Compose backup guide with the renamed nfrastack image, S3 streaming strategies, and a new configurator tool. You describe your databases, it writes the YAML and env file. Handy when you need to protect multiple projects at once.
https://danielpetrica.com/easy-database-backups-with-docker-compose/
Installing a New Relic agent takes 5 minutes. Configuring, calibrating, and testing the 5 alerts your SaaS actually needs takes 3 to 5 hours of focused work.
Most teams never get past the install step. They have data flowing but no real alerting. If your team is too busy shipping features, I handle the full setup in one week: danielpetrica.com/newrelic/
An expired certificate is never a complex failure. It's just a calendar problem nobody automated. Code is fine, servers are healthy, but every visitor gets a security warning.
Run a daily Synthetics Certificate Check in New Relic. Alert 14 days out if you use auto-renewals, 30 days out for manual setups. Takes 5 minutes, eliminates the dumbest kind of outage.
Free guide: danielpetrica.com/newrelic/
Server bills for LaraPlugins started creeping up. I did not want to put ads on the site or sell user data. So I added a curated tools section with things I personally used building the platform.
Every result is transparent about whether it is an affiliate link. Plugin health scores stay objective. The recommendations are my honest picks.
If you run a community project, how do you handle running costs?
Alerting on "error rate > 5%" sounds sensible. But 2% errors at 3 AM is noise. 2% at peak traffic is a system failure. Use anomaly detection. Let New Relic baseline your data for 48 hours. Moderate sensitivity avoids phantom alerts. Guide: danielpetrica.com/newrelic/ #NewRelic #DevOps #monitoring
Server costs for LaraPlugins are adding up. Domains, hosting, CDN. So I added a recommended tools section with things I actually used during development.
Every recommendation is clearly tagged when affiliate. Plugin health scores stay completely separate.
Keeping a community project sustainable without compromising trust.
One lesson from building the proxy: Storage::download() and streamDownload() buffer the entire file into memory. That gets expensive with large images. Switching to readStream() + response()->stream() sends the file directly from S3 to the client, no buffering. Small detail, big impact when you are serving media at scale.
DB pool exhaustion: connections climb for hours, everything looks fine, then max_connections hits and your app collapses. Check yours: SHOW VARIABLES LIKE 'max_connections'. Default 151? Warning at 70% (~105), critical at 85% (~128). Track threadsConnected in New Relic. Setup guide: danielpetrica.com/newrelic/ #NewRelic #DevOps #MySQL
The most embarrassing fix in my performance audit this week was a single-column index I forgot to add. The most impactful was a JSON column exclusion on a read-heavy table.
12 fixes total. Every Laravel dev running a busy app will find something relevant.
Wrote a detailed performance post about the LaraPlugins infrastructure audit I did this week.
An 8GB VPS at 90% memory. 12 Horizon supervisors with unlimited jobs. 50,000 Cloudflare purge jobs in one cycle.
The 12 fixes that brought it back under control, with real numbers:
https://danielpetrica.com/laraplugins-performance-audit/
If you run a Laravel app with Horizon, some of these might hit close to home.
Scaling a Laravel app brings fun challenges. Today, Laraplugins crossed 50,000 plugins!
This milestone highlighted some inefficiencies, causing FrankenPHP to exhaust its default 256MB memory limit and throw 500 errors.
Initially tried mounting a php .ini via docker compose volumes, but ultimately resolved it by properly copying the config directly in the Dockerfile.
Apologies for the 1-hour intermittent downtime while debugging, but we are back up and stronger than before
Over the last 7 days LaraPlugins Had more than 18k requests made to its MCP Server.
Let's help your app too with extended health information data
https://laraplugins.io/mcp
In the incoming wave of #AI dev, having a trustworthy directory is critical.
For agents to build reliable software, they need to be able to pick healthy packages.
If the data source is cluttered with abandon-ware, AI will produce broken implementations.
This is a motivation behind my work on https://LaraPlugins.io. We aren't just organizing packages for humans; we are organizing them for the next automated tools too.
"If you could wave a magic wand and improve one thing about the #Laravel ecosystem today, what would it be?"
I asked this to 200 #developer. The recurring theme was a desire for a centralized, standardized way to evaluate packages.
"Standardize package info ..."
"Reduce the number of duplicate packages."
This feedback was the inspiration for https://LaraPlugins.io. We need a directory that focuses on health, not just download counts.
Full report https://coz.jp/knr8Tr
My mcp server to search #Laravel packages is finally working correctly could you give it a try?
Find the instructions for it here: https://laraplugins.io/mcp
#programming #php #developer
I saw a direct debate in the survey responses regarding the frontend stack.
When asked what they would improve about the ecosystem, requests for "More #Livewire support" sat right next to simple demands to "Get rid of Livewire."
The community has strong, mixed feelings about the TALL stack versus other approaches.
Beyond the framework wars, the survey revealed deep insights into what #Laravel devs actually want from the ecosystem.
Read the community responses here https://coz.jp/knr8Tr
Where do #Laravel devs actually find their tools? I was curious if my personal habit of just Googling everything was normal.
It turns out, it is.
74% of developers rely on Web Search
51% use Packagist directly
49% trust Newsletters/Curated News
Interestingly, GitHub Search (42%) and Socials (19%) ranked significantly lower. We seem to trust curated editorial content and algorithms much more than raw repository searches or social feeds.
See the full data:
https://coz.jp/knr8Tr
#developer
When needing standard functionality like SEO or Media handling, what is your default reaction? Do you reinvent the wheel or look for existing solutions?
My recent survey shows a massive consensus: 96% of #Laravel devs immediately look for existing packages . Only a tiny fraction start by building from scratch.
This confirms that the modern dev is an integrator first. We focus on business logic and offload the plumbing to the ecosystem.
Read the analysis: https://coz.jp/knr8Tr
#programming
It is a statistical tie for the top frustration in the #Laravel ecosystem.
70% of developers cited lack of docs or usage examples as their biggest pain point. It ranks exactly as high as abandoned packages.
This sends a clear message to authors: You can write the cleanest, most performant #PHP code in the world, but if your Readme doesn't explain "how to," the community will view it as broken.
I dive into the full developer wishlist in my report: https://coz.jp/knr8Tr
#software #developer
The packagist search Api only returns up to 100 pages at 100 elements per page.
even if there are more results in the set, per their count.
The Italian term "grilletto facile" (quick trigger) perfectly describes how a modern #developer selects dependencies.
I asked 200 #Laravel devs how long they spend researching before typing "composer require".
61% spend between 5 and 30 minutes.
19% spend less than 5 minutes.
For the majority, the selection criteria must be scannable instantly: update recency, docs quality, and popularity. We rarely do deep code audits anymore.
See the full breakdown: https://coz.jp/knr8Tr
We have all experienced searching for functionality and finding 5 packages that haven't been updated since #Laravel 8
In my recent survey of the ecosystem, 70% of devs cited "abandoned or outdated packages" as their number 1 frustration. It is a statistical tie with poor docs.
The vibrancy of our community creates noise.
Filtering through that noise to find maintained tools is becoming a significant operational cost.
The full data here https://coz.jp/knr8Tr
How much "baggage" is currently in your composer.json file?
I surveyed 200 active developers to gauge the average weight of a modern Laravel application. The results highlighted a distinct split in the community regarding the "Build vs. Buy" mentality.
Over half of the respondents (54%) fall into the 6–15 package range. Given standard best practices today involving tools like PHPStan, Pint, and Debugbar, this feels like the industry standard.
#Laravel #PHP #developer #programming #technology
A very persistent LLM scraper just gave my website a free stress test: 10k+ requests to a non-existent endpoint in under 24 hours
The result? Zero downtime. Zero performance degradation. And if i did not check the analytics I wouldhave missed it.
This is why I advocate for modern stacks like Traefik paired with FrankenPHP. The ability to handle high concurrency with minimal resource usage is a game changer for #PHP applications.
#developer #programming #technology #business
decided to open an account for the #saas I'm trying to #buildinpublic find it here if you want to suport: @coz_jp@mastodon.social
My objectives for the weekend:
Finish API support for @coz_jp@mastodon.social
Study Japanese conversations
Finish an article on umami and Laravel.
Study MCP and Laravel again
A new chapter of my life has begun.
Hi everyone, since September I’ve decided to dedicate myself exclusively to freelance work. I know it will be a challenge, but I feel it’s the natural evolution of my career.
For the first time, I’m taking on clients for web development (Laravel, PHP, TypeScript, and Vue) as well as DevOps consulting (Docker, CI/CD, and Traefik).
I’ll also continue to offer freelance consulting on New Relic monitoring, something I’ve already done in the past.
If you have interesting projects or need targeted consulting, you can reach out to me here or through my website danielpetrica.com
Thank you all for your attention,
Have a great weekend
#freelance #webdev #developer #laravel #newrelic #vue_js