Besides web development and technology I'm interested in languages (I have a master's degree in Greek and Latin), cooking, gardening, science, and cycling. You can contact me for business inquiries, help with a web application, or technical advice.
Guardrails have always been an important aspect of software engineering.
At the beginning of my career, I was fully focused on developing new features and fixing bugs.
But when a new senior joined the team, they did not start by developing new features...
When you want to update a record and create it when it doesn't exist, you can use the updateOrCreate or updateOrInsert method in Laravel.
The so-called "upsert" methods....
In Laravel it is seen as good practice to dependency inject the Illuminuate\Http\Request object in your methods when possible, instead of using the request() helper.
One of...
In this post I just want to show a very small trick I came across recently.
You probably know the internal PHP function str_replace.
When looking at the documentation, we can see that...
WebP is a modern image format for the web that is developed by Google. It is based on the VP8 video format, and provides superior compression.
Because of these qualities, it is intended to replace...
When writing request validators in Laravel, it is useful to know which incoming data will lead to a validation error, and which data will pass.
A convenient way to test this, is to write unit tests...