Hey, need help with your Magento, WooCommerce or Laravel project? I have some availalility. Contact me.

Let's talk about code

Hi, I’m Michiel. I’m a professional programmer for more than a decade. I work mostly in PHP and javascript, mainly in Magento and Laravel. I write testable code and love to give testing workshops to you and your colleagues. You can hire me for freelance/consulting jobs.

Contact me Hire me

Blog

Control Alt Delete.nl

Control Alt Delete.nl is moving!

So a few months ago i was doubting about my freelance career. In the mean time things become more clear for me and i have found some new clients who gave me some freedom in my work, for which i'm very thankful. The last ~6 months i was working mostly from home. This is great and has some big benefits, but can be lonely at times. There are also a lot of distractions at times. So i decided it was time to look for an official office.
Magento 2

How to check if a user is logged in in Magento 2

Recently i had to do something very simple: Show a button in the product listing page of a Magento 2 depend if the use was logged in or not. Just do a $session->isLoggedIn() one would say, right? It turns out that this is way more from the truth than i initially though.
Magento, Quick Tip

Flush Magento Cache vs Flush Cache Storage

This is question is asked and answered on Stack Overflow before, but it always surprises me how many people still don't know the difference. The difference is quite simply though.
Code Sniffer, Composer, Magento, Open source, PHPStorm

Using the Magento Marketplace MEQP with PHPStorm

To get your extension in the Magento Marketplace you have to comply with there rules. One of these rules is that your code must pass their Magento Marketplace Extension Quality Program Coding Standard, or Marketplace EQP in short. This is a set of custom Code Sniffer tools which inspects your code on quite a few common mistakes. For example:
Magento, ngrok, Quick Tip, Tooling

Share your local Magento environment with the world

Sometimes you need to share your local Magento environment with the world. This may be to share it with someone, to test it on a real phone, or to test some kinds of api response for example.
Composer, Laravel, Magento, Valet Plus+, Quick Tip, Tooling

Install Magento 2 with one command (Valet+ only)

For my daily work as a freelancer i tend to use a lot of disposable environments: I use them to check a bug in that specific version for example, and them throw them away. Setting up Magento can be a lengthy process, but with this one liner i can bring it down to ~10 minutes, depending on you internet & cpu speed. It installs the required Magento version including sample data.
Database, Tooling

TablePlus review

I've been using Sequel Pro for a few years for all my database needs. But lately my relation with Sequel Pro got troubled. This is due to a nasty bug in the latest version: If you close a tab, the program crashes. You can download a nightly build, but i still had weird problems.
Composer, Laravel, Magento, Magento 2, Open source, Symfony

Introducing Shorty

In my day to day life i tend to switch between Magento, Laravel and Symfony on a regular basis. Each system has it's pros and cons, but Magento has one pro over the other two: If you are using Magerun you can run console commands from any directory inside your project. It always bugged me that there isn't such a thing for Laravel, Symfony or other frameworks. That's why i created Shorty
Magento 2, Quick Tip, Tooling

My Magento 2 workflow

When people share their workflow/tools i love to read them as it gives me the option to improve mine. I think i currently have a pretty decent workflow which allows me to develop faster than ever. I wanted to share this flow with you so everyone can use it.
Direct Admin, NGINX, Quick Tip

Redirect a domain to https with nginx in Direct Admin

I always forget how to redirect a domain from http -> https when i'm in Direct Admin.