DEV Community

Four free browser tools for the Laravel problems I hit every week

Four things go wrong in almost every Laravel codebase I touch, and none of them need a paid service to catch:

  • An N+1 that only shows up when a page gets traffic.
  • A schema nobody can picture, because it lives in 40 migration files.
  • An upgrade where nobody knows what will break until composer resolves.
  • A package added because a blog post mentioned it, with no look at its health.

I built a small tool for each one. All four are plain HTML and JavaScript that run in your browser, with no account and no backend: whatever you paste stays on your machine.

Live: English ยท ุงู„ุนุฑุจูŠุฉ

1. N+1 detector and query explainer

Paste a query log, or the loop that you suspect, and it points at the repeated query pattern and shows the eager-loading shape that removes it.

The second tab takes any Eloquent line and shows the SQL it produces and the indexes that SQL would want.

The useful part is not "you have an N+1". It is seeing the with() you should have written, next to the code you did write.

2. Migration diagram and MySQL converter

Paste your migration files and get an ER diagram with Mermaid export, plus warnings about the things that will hurt later: missing foreign keys, string columns where an index will be needed, nullable columns that are never null.

It goes the other way too: paste a MySQL dump and get migrations as a starting point instead of retyping tables by hand.

3. Laravel 13 upgrade checker

Paste your composer.json. It reports the PHP constraint, the framework version you are on, and the packages pinned to exact versions that will hold the upgrade back.

It does not resolve your dependency tree. It reads one file and tells you where to look first, which is usually enough to know whether the upgrade is an afternoon or a week.

4. Package health checker

Latest version, last release date, download count, and whether Packagist marks the package abandoned.

The data is read live from Packagist when you check, so it is current, not a snapshot from a blog post.

What these are not

Heuristics, not a review. They show you where to look; they do not replace reading your code, your query log or the docs.

The upgrade checker reads composer.json only. Package health is only as accurate as Packagist. If a tool tells you everything is fine, that means it found nothing obvious, not that your app is correct.

Why the browser

Two reasons. Code and composer.json files do not leave the machine, which matters when the code is a client's. And there is no service to sign up for, so the tools work the same way in six months.

Everything is open source: github.com/mohamed-haroun/laravel-dev-tools.

If one of them saves you an hour, tell me which problem it caught, and if one of them is wrong about your code, that is more useful to hear.

Read on DEV Community ↗ ← Back to News

Comments

No comments yet. Start the discussion.