RSSAmplifier

Blog

Jeroen Derks - Blog about PHP/Laravel and other topics — Atom feed

phpfreelance.co.ukRSS feed ↗20 posts

Latest posts

Anti-phishing codes: a useful signal that won't check your links

An anti-phishing code signals that an email is from the sender it claims, but it never checks where the links go. Reveal URLs shows each link's actual immediate URL and reddens it, by default, when the link's visible text itself contains a URL or host for a different site than that destination.

Always show the URL: feature-request status across 9 email apps

I filed the always-show-the-URL request with 9 email apps. This status post shows which requests are public, which are private, and where you can add your vote.

Reveal URLs: spot phishing links before you click

Reveal URLs shows each link's real destination — in red by default when a link's visible text itself contains a URL or host for a different site than its real destination — so phishing is obvious before you click. A free, open-source (AGPL) browser extension, Thunderbird add-on, and email add-in.

Email link phishing: why your email app should always show the URL

Authentication standards prevent spoofing but not link-based phishing. A proposal to always display URLs in email links, with analysis of alternatives and trade-offs.

How I use AI agents to build software

How I use AI agents like Claude Code and Codex in a structured plan-review-iterate workflow to build software across multiple technology stacks.

How to protect copies of your ID

How to protect copies of your ID card or passport. Tips for masking, encrypting and digitally signing ID copies.

Backup strategies that actually work

A practical guide to backup strategies: the 3-2-1 rule, encryption, offsite storage, and the best backup tools for Mac, Windows, and Linux.

Laravel Blade Lint

Laravel Blade Lint - A syntax validation tool for Laravel Blade templates. Catch template errors before they reach production.

PHP: Determine the full URL of the current page

How can you best determine the full URL of the current page/script in PHP?

What's my IP address? - Now easy to remember curl command line++

What's my IP address | What's your IP address - Now easy to remember using curl command line (with extras)

Automatically upgrade all PHPMailer installs on your server

A simple shell script (upgrade-phpmailer.sh) to find and update all PHPMailer installations on your server in response to CVE-2016-10033 and CVE-2016-10045.

How to add customer authentication to your Magento API

Add customer authentication to a custom Magento API call by reusing the storefront login() function and validating the supplied customer credentials before serving any data.

Programmatically creating a coupon (including the rule) with conditions in Magento

Create a Magento coupon (and the underlying shopping-cart rule with product conditions) entirely from PHP code, including a worked example for a single-product discount.

Questions to ask when interviewing a candidate Magento developer

A practical list of questions to ask when interviewing a candidate Magento developer, covering general PHP, Magento architecture, theming, modules and database knowledge.

Useful Magento extensions for developers, novice users and others

A curated list of Magento Connect extensions that have proved genuinely useful in everyday development, store administration and shop owner workflows.

Products have disappeared after import into Magento? A possible solution!

Products imported into Magento appear in the database but no longer show up in the admin or on the storefront — here is a possible cause and how to recover the visibility quickly.

Fixing a corrupted Thunderbird popstate.dat file

How to repair, regenerate or work around a corrupted, empty or missing Thunderbird popstate.dat file after a crash, with a small Perl helper to rebuild it from the POP3 server state.

How to display your extension version in Magento admin configuration

Display your Magento extension version directly in the admin configuration section using a helper, an admin block, and a small system.xml change — no more round trips to Magento Connect Manager.

New Magento extension for automatically attaching images to emails

EmailImages: a Magento extension that automatically downloads, caches and attaches images referenced in HTML email bodies so they display reliably for recipients.

Enable cache for Ecomdev_PHPUnit

Enable cache for Ecomdev_PHPUnit when writing PHPUnit unit tests for Magento extensions, with mock cache models and replacement of canUse() for selective cache use.