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.

Ultimate guide to Tesseract OCR on Laravel

Optical Character Recognition (OCR) is a technology that enables the extraction of text from images and scanned documents. It’s incredibly useful for automating data entry, text extraction, and more in Laravel applications. Tesseract OCR is an open-source OCR engine that’s…

How I use my Macbook

Hi! Often times I get approached by colleagues asking why and how do I use just one display, or why is everything so small on my screen. Ive come to use this setup by trial an error, but Ive happily…

Yoda conditions

Yoda conditions are a programming style, which goal is to prevent accidental assignments of variables within conditionals. Such as in the following situations. To prevent that, the constant is placed at the forefront of the statement, therefore raising an exception…

Laravel queue supervisor

A laravel queue is an useful tool for a variety of scenarios. It can be used for things ranging from email sending to video compression in background. It’s all in all a good experience, until you have to manage the…

PDF to plain text with OCR

Parsing a PDF document within a laravel application, is not really a problem nowadays. There are multiple packages already made just for that, which could help you achieve any desired functionality to a level of extent. My favourite, like for…

Composer memory limit

Have you ever encountered a situation, where while installing or updating composer packages, it failed? Some of us did, and it’s always frustrating. The reason for that can range from incompatible package versions, to outdated interpreter or lacking system dependencies.…

Homestead phpMyAdmin

Have you ever wondered how to install the trusty phpMyAdmin to your homestead development box? The steps are quite simple, you just have to do the following: Download phpMyAdmin Pull the latest zip of phpMyAdmin source from or directly…

What are Heredoc and Nowdoc?

Most of the time, using a regular string for large outputs is not the optimal solution, especially if the content is spread across multiple lines. There’re several tricks to achieve the desired result with different levels of cleanliness. Instead of…

PHP Variables in strings

There are several methods to write variables in strings in PHP, but one of the cleanest and apparently the fastest is by using the double-quotes notation. To achieve that wrap the desired variable within curly braces and place that inside…

Chrome inspect for virtual devices

Once in a while you have to debug your web project on a phone. But sometimes there is no device available and you have to use a simulator. Or there might be another situation, where you see a bug on…