Search

Free developer tools

Developer Tools

Laravel, PHP, SEO, and freelance utilities. Each tool has its own URL so you can bookmark it, share a result, and find it from search.

Laravel & PHP

SEO & servers

Money

Related reading

From the blog

Five-field cron in the Laravel scheduler (and why Quartz tokens fail)

Laravel schedule()->cron() uses Unix five-field expressions. Names, @daily, and Quartz tokens are not the same language.

From the blog

From an API JSON payload to $fillable and $casts

Infer fillable attributes and a first-pass $casts array from a vendor JSON sample, then edit relations by hand.

From the blog

Can you run Laravel 13 on PHP 8.2?

Each Laravel release supports a band of PHP versions. Check the matrix before composer update.

From the blog

preg_match versus preg_match_all, and how to test without hanging PHP

Same PCRE engine, different return shape. Cap the pattern and read preg_last_error_msg().

From the blog

What Laravel APP_KEY actually encrypts (and when not to rotate it)

Cookies, sessions, and Encrypted casts all sit on APP_KEY. A new key on an old database is ciphertext you cannot read.

From the blog

^10.0 is not ~10.0: Composer caret versus tilde

Composer semver is close to npm and not the same. Test a version against the constraint before you bump it in CI.

From the blog

PHP date format tokens worth memorising (Y-m-d is not ISO 8601)

Carbon::format() is date(). Y, m, d, H, i, s cover most logs. Mixing tokens produces timestamps nobody can parse.

From the blog

Use Str::slug before you write another regex

Illuminate Str helpers cover slugs, case, masking, and limits. They are easier to test than a one-off pattern.

From the blog

Moving Apache Redirect and RewriteRule lines to nginx

Redirect, RedirectMatch, and common RewriteRule flags have nginx equivalents. Anything you cannot map should stay skipped.

From the blog

Why Slack and iMessage show the wrong title for your post

og:title, og:description, og:image, and og:url are what unfurls read. The HTML title tag is not enough.

From the blog

Disallow before User-agent: the robots.txt mistake that blocks nothing

robots.txt is grouped by User-agent. Allow and Disallow only apply after a group starts.

From the blog

UTM parameters that do not split your reports into twelve campaigns

utm_source is the platform, utm_medium the channel, utm_campaign the name you will filter on.

From the blog

220 billable days: turning a day rate into take-home pay

Annual is day rate times billable days. Then run the annual figure through the tax calculator.

Also on this site: salary tax calculator for take-home pay after a day-rate or annual figure.

Your experience on this site will be improved by allowing cookies Cookie Policy