Coding
Running static analysis on updated files only
Hey all, this weekend (since I’m stuck at home anyway) I’d like to give a go to setting up static analysis on a project, but given that this project is quite big (about 10k classes), Read more…
Hey all, this weekend (since I’m stuck at home anyway) I’d like to give a go to setting up static analysis on a project, but given that this project is quite big (about 10k classes), Read more…
The 6.0.0 release basically brings PHP8 compatibility but also upgrades the underlying graphql-php to 14.0, bringing some breaking changes depending on your usage and thus the major version bump. OTOH for those still on 5.x, Read more…
I’m tackling quite a few APIs lately. Everything is REST, and there are various official and unofficial libraries for them. But I usually find the libraries are not as well documented as the service’s own Read more…
Hey there, PHP 8 introduced attributes – declarative meta-data which can get analyzed to control behaviour. Most PHP-Developers already know similar technique called annotations like doctrine annotations. I read some good articles to get a Read more…
Gsm Detector is a PHP package which allows to know the name of the GSM operator from phone number. Installation Usage Using the package remains quite simple, you have to create a new instance of Read more…
Say you have a class A that depends on B and C. You can either inject B and C into A and mock them during testing, or you can factor out the methods inside A Read more…
When working on large projects with one codebase you have to set up everything only once. But those of you who do a lot of small projects, how do you cope with it? Do you Read more…
During Christmas, i spent a few days working on a small project: https://meteoritedb.com/ Any feedback or ideas are appreciated !! (I think i’m not breaking the rules. It’s a small personal project and i honestly Read more…
Xdebug, not X-Debug. FWIW, I did a similar test with Xdebug 2, Xdebug 3, PCOV, and phpdbg : https://php.watch/articles/php-code-coverage-comparison Members Online source
Hello guys, I have tried to build a “ready to use” PHP developer box inside docker.The container comes with PHP developers tools pre-installed as well as a code editor. The code editor here is VS-code Read more…