HN user

danielpetrica

41 karma

Software Developer

Visit my personal site at https://danielpetrica.com

Talk to me on mastodon at https://infosec.exchange/@danielpetrica

Building https://laraplugins.io/

Posts11
Comments61
View on HN
[dead] 2 months ago

The short version: Someone exploited an outdated Livewire version on a dormant side project of mine. They stole my .env file, used the Mailcoach API keys to send 50,000 spam emails, and I spent a panicked night tearing through every project I own trying to find the source.

[dead] 6 months ago

At the end of November, I shared a questionnaire to discover what the community thinks about the state of Laravel packages today.

I wanted to focus on the real-world pain points developers face.

To ensure I got busy developers to respond, I kept it short, under 3 minutes on average.

Without an established audience, I managed to reach around 200 responses.

This article illustrates what the community had to say.

[dead] 6 months ago

If you are building high-performance Laravel applications, you are likely already exploring the limits of what's possible with FrankenPHP and Laravel Octane. In my previous work designing a production-ready Laravel architecture with Traefik and FrankenPHP, I promoted this stack for its simplicity and raw power.

However, bleeding-edge tech often comes with bleeding-edge problems. Recently, I lost three hours debugging an issue that should have been obvious: The FrankenPHP binary installed by Laravel Octane is version-locked.

In my case, it was locked to PHP 8.4, despite my system running the latest stable PHP 8.5. If you are trying to upgrade your stack or build a high-performance directory like I did for LaraPlugins.io, you need your environment to match your expectations.

Here is how to force FrankenPHP to use PHP 8.5 and stop chasing ghost bugs.

[dead] 6 months ago

Launching Laraplugins.io

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 the launching page here

I’ve built COZ.JP, and I’m now looking to promote it. However, I’ll admit, I’m not great at marketing or promoting. Could you please share some advice on how to effectively market my product? Any tips, personal experiences, or even harsh realities I should prepare for would be incredibly helpful! Thank you in advance for your help.

[dead] 9 months ago

Between Japanese lessons and a lot of coffee, I'm happy to launch API beta support for Coz.jp! To make automation easy, I've also built an n8n node and a Laravel plugin.

In this moments I think devs should invest in vendor independence if they can. While I'm not to that stage yet (cloudlfare dependence) using open technologies like docker (or Kubernetes), Traefik instead of managed services can help in this disaster situations by switching to a different provider in a faster way than having to rebuild from zero. as a disclosure I'm not still to that point on my infrastructure But I'm trying to slowly define one for my self

[dead] 9 months ago

Really enjoyed putting this system together — Laravel with FrankenPHP and Traefik makes a huge difference in real-world performance and maintainability. The full architecture and Docker setup are detailed here if you’d like to dive deeper

[dead] 1 year ago

I kept burning time manually recreating calendar blocks for routines like workouts and focus sessions, so I built a client-side solution to automate it. Key features: Generates complex recurring schedules directly in the browser Exports .ics files (tested with Google/Outlook/Apple) Shows time commitment upfront and handles exclusions (holidays/vacations) Zero dependencies beyond Vue 3 + vanilla JS Fully client-side – no data hits server! Tech stack is minimal: Vue 3 + Tailwind (with dark mode). No backend by design to guarantee privacy.

If you want to try dierectly without reading the post: https://danielpetrica.com/periodic-schedule-calendar-generat...

Would genuinely appreciate feedback on:

Edge cases with recurrence patterns (any weird schedules you’ve struggled with?) How it handles .ics exports for your calendar Whether you’d use this for work routines, fitness planning, etc.

[dead] 1 year ago

Hey HN! I never imagined my blog would land on the front page — and yet, here we are. The traffic spike (over 190k requests in a day) didn’t take my site down thanks to preparation I did last year, particularly with Cloudflare caching and Ghost CMS optimizations.

I wrote this to help other devs, indie hackers, and bloggers prepare for their “Hacker News moment” — with real config examples, traffic stats, and lessons learned from self-hosting.

Happy to answer any questions or hear how you all approach high-traffic resilience!

Thank you — that’s genuinely useful advice. You clearly have experience in this space, and I really appreciate the thoughtful insights. I’ll definitely share them with my team.

People will tell you whatever they think you want to hear. When interviewing them you need to understand how they solved the problem before and the actions they took to solve it. Actions speak much louder than words and you can understand how they think about solving the problem which picks up valuable contextual information as well as potential alternative solutions (competing solutions) they evaluated.

We tried to apply some of that in the limited time we had — for instance, we avoided presenting the idea directly and focused on questions that revealed whether people had faced similar problems before.

And then last, if I were you I would find AI use-cases in mid-size companies (20-200 employees). About 80% of early-stage investor money is flowing into AI right now. We're not actively seeking investment at the moment, but your point about AI in mid-size companies is very relevant — it's something we’ll keep in mind as we evolve.