How to display the current and parent category in WordPress
Need to show the category hierarchy in your theme? Learn how to get the current category and its parent using get_the_category() and get_category_parents().
I am Mariusz Szatkowski, one developer in Gdynia, working remotely and in writing, with WordPress since 2006. I maintain and upgrade PHP applications, mostly Laravel, Symfony and WordPress. This page is about one date that many London teams have on a spreadsheet by now.
The php.net page on supported versions says each branch gets active support for two years from its first stable release and then two more years of critical security fixes only. After that the branch is end of life. As the page stands on 3 December 2026:
| Branch | Initial release | Active support until | Security support until |
|---|---|---|---|
| 8.2 | 8 December 2022 | 31 December 2024 | 31 December 2026 |
| 8.3 | 23 November 2023 | 31 December 2025 | 31 December 2027 |
| 8.4 | 21 November 2024 | 31 December 2026 | 31 December 2028 |
| 8.5 | 20 November 2025 | 31 December 2027 | 31 December 2029 |
| 8.6 | 19 November 2026 | 31 December 2028 | 31 December 2030 |
The end of life page lists the branches that have already gone: 8.1 on 31 December 2025 (last release 8.1.34), 8.0 on 26 November 2023, and 7.4 on 28 November 2022. php.net says users of an end-of-life release should upgrade as soon as possible because they may be exposed to unpatched security vulnerabilities.
Two things follow. A server still on 8.2 has a fixed number of weeks of security fixes left. And a server on 8.1 or older is already outside support, so the question for those is how fast, not whether.

Photo: Diliff, CC BY-SA 3.0, Wikimedia Commons.
Gov.uk describes Cyber Essentials as a set of standard technical controls that organisations should have in place, and says holding an up to date certificate enables a business to bid for government contracts, with the sentence continuing to cover contracts that handle financial or personal data. The NCSC publishes the requirements.
The current requirements document is Cyber Essentials: Requirements for IT Infrastructure v3.3, dated April 2026. Its security update management control says all software on in-scope devices must:
The definitions matter for PHP. “Software” includes operating systems, off-the-shelf applications, extensions, interpreters, scripts and libraries. “Licensed and supported software” is software the vendor has committed to support with regular vulnerability fixes, with a future date when that stops. A PHP branch on php.net fits that definition until its security support date and not after.
Scope decides what this means for your own code. The document says bespoke and custom components of web applications are out of scope, and publicly available commercial web applications are in scope by default. Cloud services holding your data are in scope and cannot be excluded. So a custom Laravel application is not itself assessed, but the interpreter, the operating system image, the web server and the commercial software around it sit on a device that can be. Whether yours is in scope is a scoping decision between you and your assessor. I do not certify anything and I do not decide scope.
Framework support tables decide the order of upgrades, because a framework version fixes the PHP range you can use.
| Framework | PHP range | Security fixes until |
|---|---|---|
| Laravel 11 | 8.2 to 8.4 | 12 March 2026 (passed) |
| Laravel 12 | 8.2 to 8.5 | 24 February 2027 |
| Laravel 13 | 8.3 to 8.5 | 17 March 2028 |
| Symfony 6.4 LTS | 8.1.0 or higher | end of November 2027 |
| Symfony 7.4 LTS | 8.2.0 or higher | end of November 2029 |
| Symfony 8.1 and 8.2 | 8.4.0 or higher | end of January 2027 and end of July 2027 |
The Laravel figures come from its support policy table, which says bug fixes are provided for 18 months and security fixes for 2 years. That table lists PHP up to 8.5, so I do not claim Laravel support for 8.6. The Symfony figures come from its releases page and its releases.json, which gives the minimum PHP for each version. Symfony 6.4 is listed as security fixes only, with bug fixes ending at the end of November 2026.
Reading the two tables together gives the common cases:
PHP publishes a migration guide for each step, for example from 8.1 to 8.2, and the end of life page links them. I read them in order instead of skipping to the target version. Three examples show the kind of item they contain.
ValueError is now thrown when range() gets a negative step for an increasing range.exit() and die() now throws a TypeError, and the E_STRICT error level has been removed. Declaring a parameter with a null default and a non-nullable type, which makes it implicitly nullable, is deprecated.// before: deprecated in PHP 8.4
function foo(T1 $a = null) {}
// after
function foo(?T1 $a = null) {}Laravel’s upgrade guide gives estimates and a change list per major version. It estimates 5 minutes for 11 to 12 and 10 minutes for 12 to 13, and says some changes live in obscure parts, so only a portion may apply to your application. For 13 it rates two items as high impact: updating laravel/framework and the test tooling (the guide names phpunit/phpunit ^12 and pestphp/pest ^4), and the rename of the CSRF middleware from VerifyCsrfToken to PreventRequestForgery, which now also verifies request origin with the Sec-Fetch-Site header. The old names stay as deprecated aliases. Those estimates are Laravel’s for a stock application. A real codebase takes the time its test coverage allows.
For Symfony the documentation says to make the code deprecation free on the last version before a major, then update the symfony/* constraints in composer.json to the new version and apply recipe updates. It states that minor versions should not contain backward compatibility breaks, while noting some are possible.
Four Composer features turn the upgrade from a one-off into a routine.
{
"require": { "php": "^8.3" },
"config": { "platform": { "php": "8.3.0" } }
}The Composer documentation says config.platform lets you fake the PHP version so that no package requiring more can be installed, whatever PHP you run locally, and warns that it can install packages that fail on the real runtime. It recommends running composer check-platform-reqs as part of deployment, and that command ignores config.platform and checks the real platform.
In CI I run:
composer audit --locked
composer outdated --strict
composer check-platform-reqscomposer audit checks installed packages against security advisories and also reports abandoned packages and packages flagged as malware, and --locked audits the lock file regardless of what sits in the vendor directory. composer outdated --strict exits non-zero if any package is outdated. Both are blunt, which is the point: a red build prompts a decision.
The work splits cleanly.
What I need from you: read access to the repository, a staging environment or permission to build one, and the person who decides on the production switch.
php -v on every environment, including the CI image and the cron host, and write the versions in one list.null default and no nullable type.composer audit --locked to CI and read the first report.composer check-platform-reqs to the deploy step.The wider service sits on the PHP developer page.
If you run PHP in London and want the upgrade planned before the end of the year, write to me through the contact page. Send composer.json and composer.lock or the repository, the PHP version in production, and your deadline. My first written estimate is free, and replies come by email within 24 hours on working days.
Examples of my work.
surfuje.pl is a website for surfers and watersports enthusiasts, with clear content, simple publishing, and stable technical operation.
zamki-szkocji.com is a comprehensive information portal dedicated to the castles of Scotland, combining rich historical content, interactive maps, photo gall...
scalac.io is an international platform founded in 2014 to meet the challenges associated with big data management and business operations scaling, specializing in Scala, distributed systems, and cryptography solutions.
Describe your project by e-mail. I reply within 24 hours.
Describe your projectNeed to show the category hierarchy in your theme? Learn how to get the current category and its parent using get_the_category() and get_category_parents().
Need to get the URL of the first image or link in an article? Prefer DOMDocument over regex. Ready-made WordPress PHP for developers.
On 1 December 2026 Taylor Otwell shipped the Laravel Rust beta, and Laravel Go followed a day later. What the framework contains, what the 18x benchmark really measures, what happens to Laravel PHP and WordPress, and when a rewrite makes sense.
Custom WordPress engineering and architecture.
Scalable headless, ERP, and AI architecture for enterprise.
Stores, checkout flow, and sales logic.
Stability, updates, and post-launch support.
What the monthly care fee covers and what changes it.
Business process automation around WordPress and company systems.
Headless WordPress, Sanity, Strapi, and Contentful with Astro or Next.js.
Astro, MDX, edge delivery, and Core Web Vitals measured on real traffic.

How to start as a WordPress developer in 2026. Local environment, theme and plugin development, REST API and headless paths, security and Core Web Vitals. A practitioner playbook that does not waste your first month.

WordPress 7.0 with AI Client against Astro 7 with the Rust compiler and Vite 8. Speed, cost, SEO and security compared, plus the real bill for my own Astro 6 to 7 migration.

A detailed comparison table of EmDash CMS and WordPress across architecture, security, plugins, AI features, content model, hosting, and ecosystem maturity.