Mike Rockétt Software Developer + Designer, Megafreight

I design and develop web-apps that solve real-world problems, and are a joy to use.

My talents are best put to use in the fields of user interface and experience design and object-oriented data-driven development. My daily drivers are Laravel and Vue for development. I love Figma for illustrative and prototypal app design, but know my way around most Adobe products too. Bulma and Tailwind are my first-choice tools for building interfaces and experiences.


A clean approach to casting Eloquent Resources in Laravel 4 min read, 6 February 2021 #dev#laravel

Using helpers and scopes in a trait, make the model responsible for determining its resource class.

Avoiding repetition in Laravel Eloquent Resources 3 min read, 6 February 2021 #dev#laravel

Making resource classes just a bit easier to work with.

Elegant routing for Vue with Routisan 3 3 min read, 16 August 2020 #vue#package#announcements

Vue Routisan has a new life – a v3 alpha has been released for testing!

You really don’t need Vuex 11 min read, 20 April 2020 #vue#vuex#dev

Seriously, it’s overkill, and much of what goes on can be replaced with observable objects.

Artisan Console Input Validation 3 min read, 16 February 2020 #laravel#dev#tips

A cleaner way to validate console input.

Let’s Shorten those Shell Commands 3 min read, 14 February 2020 #bash#zsh#tips

Some useful shell aliases for your development pleasure.

To name, or not to name 6 min read, 14 February 2020 #javascript#ecma-script#modules

In the world of JavaScript modules, default exports are really a compatibility layer for CommonJS-of-old. Named exports solve problems may developers experience – this post explores them.

Component Factories for Vue 9 min read, 25 January 2020 #vue#dev#package

It’s not uncommon to follow the default approach and register global Vue components manually. But there’s a better way. Two of them, in fact. And we can do it for Vuex too, but that’s for another post.

New Decade, New Blog 2 min read, 12 January 2020 #announcements

Starting afresh in 2020, with a new blog, in a new decade.

State Helpers for Vuex 4 min read, 8 August 2018 #vue#vuex#dev

Shorter code is great. Even shorter code is even better. In this post, you’ll learn how to drastically shorten the length of your Vuex mutations, making for some really clean code.

Some quick and useful Laravel tips 8 min read, 7 July 2018 #laravel#dev#tips

Since November 2017, I’ve been working with a small web-dev firm that uses Laravel for all its clients’ API backends. Over time, we’ve been taking new approaches to solving problems, and simplifying our code to make life easier in the long run. Here are some quick and useful tips we’ve been following as part of this process.

Custom Messages in Laravel Form Requests 4 min read, 5 January 2018 #laravel#dev#tips

From Laravel 5.5, JSON responses are a little different. In particular, you’ll find that validation exceptions have changed, and it’s easy to miss what the upgrade guide says about it.

Macroify your Apache Virtual Hosts 4 min read, 28 December 2016 #apache#vhost#wildcard

If you’re on Windows, chances are you don’t have a handy package like Valet to make your development-workflow easier. If you’re using a standard Apache installation, this might go a long way in speeding things up.