Logics Guru

PHP

The language that powers most of the web.

Tutorials, guides, snippets, resources and tools for working with PHP.

Tutorials

View all
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
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

Guides

View all
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

Articles

View all

Snippets

View all
Text

Base64 Decoder

Decode Base64 back to plain text in your browser.

Runs locally
Text

Base64 Encoder

Encode text to Base64 without sending it anywhere.

Runs locally
Text

Case Converter

Convert text between camelCase, snake_case, kebab-case and more.

Runs locally
Web

cURL Converter

Convert a curl command into fetch, axios, Python, PHP, Go or Laravel HTTP.

Runs locally
Security

Hash Generator

Generate SHA-1, SHA-256, SHA-384 and SHA-512 hashes locally.

Runs locally
Security

JWT Decoder

Inspect JWT header, payload, and expiry without sending the token anywhere.

Runs locally
Security

Password Generator

Generate strong random passwords locally, with tunable character classes.

Runs locally
Text

Regex Tester

Test regular expressions with live match highlighting and capture groups.

Runs locally