Coding
How do you track a dead code?
I am working with some terrible written online system (Laravel framework), and I see some of the code that is highly possible to be dead one. The problem is that I cannot trust that much Read more…
I am working with some terrible written online system (Laravel framework), and I see some of the code that is highly possible to be dead one. The problem is that I cannot trust that much Read more…
If your coding standards takes 3 minutes to run in CI, then you’ve messed up your build configuration. We run php lint, cs, and phpstan in under 2 minutes on a big project and in Read more…
This is a follow-up to this post. I’ve decided that paying a few pounds for a Udemy course is looking like the best way forward for me, as it’s a balance between the inadequate free Read more…
Hello,we’re generating PDFs for our client. In that generated PDF there are some inputs plus two signatures. Our goal is when the user signs one of the signatures, then we want to lock All or Read more…
Hi all,I have one requirement where I have one form in Index.html and I want to display the data for the form on the next page i.e test.html. Here my requirement is to use PHP Read more…
Based on advice from past threads on this sub, I started learning PHP from the Laracasts PHP track. I’ve so far finished the first 15 videos, was just about to start Routing before I took Read more…
How does this compare to symfony var dump server (beyondcode/laravel-dump-server)? That thing sends debug/dd messages to your terminal instead of a separate app. The big advantage of using a separate window, is that things are Read more…
Even by the usual PHP reference problems, this one is funky! The real lesson here is that whenever you use a reference with foreach, always unset the reference variable afterwards, there’s too much potential pain Read more…
https://github.com/aeon-php/automation I made this tool to reduce manual work with keeping up to date, unified changelog files across all projects I’m working on. I wanted to follow the https://keepachangelog.com/ convention but also to detect https://www.conventionalcommits.org/ Read more…
All credit to the main repo on https://github.com/php-gnupg/php-gnupg which is working on the next version with full support for GPG2 and PHP8, but we need PHP8 support. We branched from version 1.4.0 to make this Read more…