Elektrine lite

← Feed

Daniel

danielpetrica@infosec.exchange

<p>Andrei-Daniel Petrica.<br />WEb developer with 8 years of experience, trying to <a href="https://infosec.exchange/tags/BuildinPublic" class="mention hashtag" rel="tag">#<span>BuildinPublic</span></a> <span class="h-card" translate="no"><a href="https://phpc.social/@LaraPlugins" class="u-url mention">@<span>LaraPlugins</span></a></span><br />Topics:<br />Php, Laravel, Javascript, Sql, Docker, Traefik, Japan, anime</p>

Posts

  • Post #4412719

    Started a blog for LaraPlugins. First post: our 151.37 HackerNoon Proof of Usefulness score breakdown. I&#39;ll be writing openly about building a community tool. Architecture decisions, traffic numbers, things that break, things that work. One developer avoiding an abandoned package because of something here is enough. Coming: MCP deep dive, what broke, full survey results. https://laraplugins.io/blog/laraplugins-proof-of-usefulness-hackernoon-2026 #Laravel #PHP #OpenSource #buildinpublic

  • Post #4385545

    Finally managed to export my 2fa tokens hold captive on Authy and move them to an opensource tool. I was missing having the commodity of the app on the desktop.

  • Post #4100011

    You should try Linux container LXC for your AI agent boxes! Lightweight and faster to install. I am liking it! #Linux #AI #Agents

  • Post #3976045

    @LaraPlugins@phpc.social reached such a scale i want an automatic way to monitor its seo health so i cooked a new site. looking to test it this week to test technical on page seo

  • Post #3950350

    Gonna attend a php conference in Tokyo today without speaking enough Japanese. Wish me luck please.

  • Post #3667130

    One hour of downtime costs more than a professional monitoring setup. Lost signups, churned trials, support overhead, team scrambling through logs while the outage compounds. Full New Relic APM, database, logs, browser, and alerting configured and documented in one week: danielpetrica.com/newrelic/ #NewRelic #DevOps #SaaS

  • Post #3622800

    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. https://danielpetrica.com/laraplugins-performance-audit/ #PHP #programming #DevOps

  • Post #3622799

    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. #Laravel #PHP #DevOps

  • Post #3622798

    DB pool exhaustion: connections climb for hours, everything looks fine, then max_connections hits and your app collapses. Check yours: SHOW VARIABLES LIKE &#39;max_connections&#39;. Default 151? Warning at 70% (~105), critical at 85% (~128). Track threadsConnected in New Relic. Setup guide: danielpetrica.com/newrelic/ #NewRelic #DevOps #MySQL

  • Post #3622797

    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()-&amp;gt;stream() sends the file directly from S3 to the client, no buffering. Small detail, big impact when you are serving media at scale. #Laravel #PHP #programming https://danielpetrica.com/how-to-replace-raw-s3-urls-with-a-laravel-image-proxy-and-keep-your-cdn-cache

  • Post #3622796

    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. https://laraplugins.io/recommended-tools #Laravel #PHP #programming

  • Post #3622795

    Alerting on &quot;error rate &amp;gt; 5%&quot; 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

  • Post #3622794

    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? https://laraplugins.io/recommended-tools #Laravel #PHP #programming

  • Post #3622793

    An expired certificate is never a complex failure. It&#39;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/ #NewRelic #DevOps #SSL

  • Post #3622792

    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/ #NewRelic #DevOps #SaaS

  • Post #3622791

    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/ #Laravel #Backup #Docker

  • Post #3551423

    Updated my database backup guide for the first time since 2023. The tiredofit/db-backup image moved to nfrastack/container-db-backup, so the article now reflects the new name and the multi-job env variable format. I also built a small configurator tool that generates docker-compose and .env files on the fly. Point it at your databases, pick your settings, copy the output. Saves a lot of repetitive editing. https://danielpetrica.com/easy-database-backups-with-docker-compose/ #Laravel #DevOps #...

  • Post #3484983

    Quick reminder, remember to clear the image cache of docker if you do often deploys.

  • Post #969755

    Over the last 7 days LaraPlugins Had more than 18k requests made to its MCP Server. Let&#39;s help your app too with extended health information data https://laraplugins.io/mcp

  • Post #969754

    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 i...

  • Post #969753

    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

  • Post #631528

    My objectives for the weekend: Finish API support for @coz_jp Study Japanese conversations Finish an article on umami and Laravel. Study MCP and Laravel again

  • Post #631527

    decided to open an account for the #saas I&#39;m trying to #buildinpublic find it here if you want to suport: @coz_jp

  • Post #579067

    Per la mi prima volta ho tenuto un talk tecnico. E per di più era su #traefik e #Docker Compose. Se interessati lascio qui il video YouTube del talk. https://youtu.be/5fUe7xIEmdw?si=lUN-O08WKBjEhI94

  • Post #406156

    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

  • Post #406155

    How much &quot;baggage&quot; 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 &quot;Build vs. Buy&quot; 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 #progr...

  • Post #406154

    We have all experienced searching for functionality and finding 5 packages that haven&#39;t been updated since #Laravel 8 In my recent survey of the ecosystem, 70% of devs cited &quot;abandoned or outdated packages&quot; 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 #PHP #developer #progr...

  • Post #406153

    The Italian term &quot;grilletto facile&quot; (quick trigger) perfectly describes how a modern #developer selects dependencies. I asked 200 #Laravel devs how long they spend researching before typing &quot;composer require&quot;. 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...

  • Post #406152

    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.

  • Post #406151

    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&#39;t explain &quot;how to,&quot; the community will view it as broken. I dive into the full developer wishlist in my report: https://coz.jp/knr8Tr #softwar...