Logics Guru
Mustasim Ali

Mustasim Ali

Senior Software Engineer & Technical Lead

Full-stack engineer working in PHP and Laravel since 2019. I lead a development team building web and mobile products, and spend most of my time in Laravel, Node.js, Vue and React against MySQL and MongoDB. Logics Guru is where I write up the things I had to work out the hard way — the architecture decisions, the debugging sessions, and the small utilities I kept rebuilding until I put them somewhere permanent. Everything here is what I actually use.

19 published

Terms of Service

The terms under which this website and its tools may be used.

Mustasim Ali 4 min

Regular Expression Reference

Regex syntax in one page: characters, quantifiers, groups, lookaround and flags, plus the traps that make...

Mustasim Ali 3 min
Laravel

Build a REST API with Laravel

Create a JSON API in Laravel with routing, form request validation, API resources and pagination.

Mustasim Ali 2 min Intermediate
AWS

Deploy Laravel on AWS

Get a Laravel application onto EC2 with Nginx, PHP-FPM, a queue worker and the scheduler.

Mustasim Ali 1 min Advanced

Git Command Cheat Sheet

The Git commands that come up in real work, including the ones for undoing things safely and the differen...

Mustasim Ali 4 min
Laravel

Eloquent Relationships Explained

One-to-one, one-to-many, many-to-many and polymorphic relationships, and when each is the right choice.

Mustasim Ali 1 min Beginner
Redis

Configure Redis Caching in Laravel

Set Redis up as the cache and queue driver, and understand when tags help and when they do not.

Mustasim Ali 1 min Intermediate