Lexikon
My working reference for web engineering and AI tools: HTML, CSS, JavaScript, PHP, Python, SQL, Bash, GitHub, Claude, Codex, Hermes, and the expressions AI assistants use, each explained in plain language with an example.
Filters (2 active)
A
-
API key
A secret string that identifies you to a service and is billed to your account.
-
Array (PHP)
PHP's all-purpose list: either numbered (a list) or keyed (like a dictionary).
-
Artisan
Laravel’s command-line tool for generating code, running migrations, clearing caches and more.
-
Authentication and authorisation
Authentication checks who you are (login); authorisation checks what you may do (permissions).
B
-
Blade
Laravel’s template language: HTML with
{{ }}for escaped output and@if,@foreachdirectives.
C
-
Casts and accessors
Model settings that convert database values into the right PHP type, or compute values on the fly.
-
Class and object
A class is a blueprint, an object is one thing built from it, with its own data and methods.
-
Collection
Laravel's supercharged array with chainable methods like filter, map, groupBy, sum.
-
Composer
PHP's package manager: it installs the libraries a project lists and loads them automatically.
-
Controller
A class whose methods answer requests: read input, fetch data, return a page or JSON.
D
-
Dictionary (dict)
Python’s key-value map, like a PHP associative array or a JS object.
E
-
Eloquent
Laravel’s ORM: each database table has a model class, and rows become objects.
-
Eloquent relationships
Methods on a model that describe how tables belong together: hasMany, belongsTo, belongsToMany.
-
Enum
A fixed set of named values, such as the possible statuses of a booking.
-
Environment variable
A named setting the system passes to programs, like PATH, HOME or an API key.
-
Exceptions and try/catch
Errors that are "thrown" and can be "caught" and handled instead of crashing the page.
F
-
Facade
A short static-looking name for a service in Laravel, such as Cache::, Mail:: or Http::.
-
Form
A group of inputs that sends what the visitor typed to a server.
-
Form validation
Checking that inputs are filled in correctly before they are sent.
-
Function and arrow function
A named, reusable piece of code; fn() => is a one-line short form.
G
-
Guard
A check at the start of a function that exits early when a condition is not met.
H
-
Hard-coded
A value written directly into the code instead of coming from settings or data.
-
HTML entities
Codes for characters that would otherwise be read as HTML, such as < and &.
-
Http client
Laravel's helper for calling other APIs and webhooks, with timeouts and retries.
I
-
Idempotent
An operation you can run many times with the same result as running it once.
-
Interface and trait
An interface lists the methods a class promises to have; a trait is reusable methods shared by classes.
L
-
Laravel
A PHP framework that gives you routing, database, templates, mail, queues and security out of the box.
-
Livewire
A Laravel add-on for interactive components written in PHP and Blade, without writing much JavaScript.
-
Localisation (__ and lang files)
Showing the interface in the visitor's language from translation files.
-
Logging (Laravel)
Writing what happened to storage/logs so you can find errors later.
M
-
Mail and Mailable
Sending emails from Laravel with a class per email type and a Blade template for the content.
-
Mass assignment ($fillable)
Filling a model from an array in one go; $fillable lists which fields may be filled that way.
-
Middleware
Code that runs before or after every request in a group, such as checking the domain, language or login.
-
Migration
A versioned PHP file that creates or changes database tables, so every server gets the same schema.
N
-
Namespace and use
Folders for class names, so two classes called Lexikon from different packages don't clash.
P
-
Password hashing
Storing passwords as a one-way scrambled hash, so even a stolen database doesn't reveal them.
-
PHP-FPM and php.ini
PHP-FPM runs PHP behind the web server; php.ini holds limits like memory, upload size and timeouts.
-
Predicate
A function or condition that answers yes or no about a value.
-
Prepared statement
A query with placeholders where the values are sent separately, so they can never be run as SQL.
Q
-
Query builder
Laravel's way to write SQL with PHP methods, safely bound and database-independent.
-
Queue and job (Laravel)
Work that runs in the background later, so the visitor doesn't wait for slow things like emails or webhooks.
R
-
Rate limiting (throttle)
Allowing only a certain number of requests per minute, to stop spam and abuse.
-
Regular expression (regex)
A pattern language for finding and replacing text, used in grep, sed, code editors and every programming language.
-
Request and response
Every page view is a request from the browser and a response from the server, with a status code.
-
Retry with backoff
Trying again after a failure, waiting longer each time: one second, two, four, eight.
-
Route
The rule that connects a URL to the code that answers it.
S
-
Scaffold
Generate the basic structure of something (files, folders, boilerplate) to fill in later.
-
Seeder and factory
Code that fills the database with starting data (seeder) or realistic fake data for tests (factory).
-
Semantic versioning (^ and ~)
Version numbers as MAJOR.MINOR.PATCH, where a new major version may break things.
-
Service container and dependency injection
Laravel builds the objects your classes need and passes them in automatically.
-
Session and cookie
A cookie is a small browser-stored value; a session keeps data on the server, found via a cookie.
-
Soft deletes
Marking a row as deleted with a timestamp instead of removing it, so it can be restored.
-
SQL injection
An attack where text typed into a form is run as part of a database query.
T
-
Task scheduler
Laravel's list of recurring tasks in code, run by one single cron entry every minute.
-
Tests (PHPUnit / Pest)
Code that checks your code: it calls pages and functions and asserts the results are right.
-
Transaction
A group of changes that succeed together or are all undone together.
V
-
Validation (Laravel)
Rules that check incoming data before it is used; on failure Laravel sends the visitor back with error messages.
-
Variables and types in PHP
Variables start with $; values can be strings, integers, floats, booleans, arrays, objects or null.
-
Vite (in Laravel)
The tool that bundles and versions CSS and JavaScript for a Laravel site.
W
-
Webhook
A URL that another service calls automatically when something happens, such as a new booking or a WhatsApp message.
-
WordPress
The most used website system: PHP and MySQL, extended with themes and plugins.
-
WP-CLI
WordPress on the command line: update, search-replace, manage users and plugins without the dashboard.