Dragomir Țurcanu

Dragomir Țurcanu

Dragomir is passionate about technology and blogging. Having been developing software professionally since 2017, he can share the tricks he found along the way and document the technologies he is currently learning.

TIL: stdObject custom string keys

Hi there!For quite some time I’ve been using objects in a wrong way. Every time after a json_decode, I was by inertia casting the returned stdObject into an array to use with some more “special” keys. The ones with special…

Configuring XDebug for PHPStorm

Modern software development requires sophisticated and highly specialized tools to achieve the perfect balance between speed and accuracy when it comes to creating complex services and applications. Particular examples of such tools are the IDE, which guides the developer through…

TIL: strtotime function

While researching the `setcookie` function, another one caught my eye. Apparently, instead of writing the time of expiration in unix seconds, you can use human-readable format, neatly parsed by strtotime() ! It for sure improves the readability of the code,…

How to switch Node version on the fly

So you want to install Node JS? Or maybe you want to update, downgrade, or switch its version on demand. You are in the right place! Every developer at some point encounters some form of technical incompatibilities, which require extensive…

What is Vagrant?

“What even is this thing, Vagrant?”, you might have asked yourself, while searching for information before stumbling on this post.Strap yourself, and enjoy the ride, while I try to explain this amazing piece of tooling :D! What does it solve?…

Hello world!

It’s-a me, Dragomir!, a blog about daily findings, curiosities and struggles within the vast world of php development and beyond. The goal of this website is to, bit by bit, improve the speed and comfort of development of readers, by…

Make Laravel Homestead by yourself

So, after reading the previous post regarding Vagrant you are eager to find out what config will enable you to run most PHP-based projects locally, be it written on Laravel, WordPress, Drupal or whatever. Indeed there is already Laravel homestead,…