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().
A business that runs PHP on its own servers or on managed hosting can use the Cyber Essentials requirements as a checklist for the parts of the setup that a developer touches. My name is Mariusz Szatkowski; I work from Gdynia and have delivered PHP and WordPress projects remotely since 2006. I am not an assessor. The Certification Body you choose decides what meets the requirements. What I do is bring your PHP setup into the state those requirements describe, and write down what was done.

Castle Wharf on the Nottingham Canal. Photo: Kenny Howse, CC BY-SA 2.0, Wikimedia Commons.
The NCSC resources page says the current version of Requirements for IT Infrastructure is v3.3, effective from 27 April 2026. No earlier version is listed on that page. The document itself is dated April 2026 and lists what is new:
The requirements sit under five technical controls: firewalls, secure configuration, security update management, user access control and malware protection. The NCSC puts the responsibility on the applicant: the organisation must make sure it meets every requirement, and it may have to supply evidence before the Certification Body awards certification.
The assessment covers the whole IT infrastructure used to carry out the organisation’s business, or a well-defined, separately managed subset. The boundary is defined by the business unit managing it, the network boundary and the physical location, and it is agreed with the Certification Body before the assessment starts. The requirements apply to devices and software that accept incoming connections from the internet, can make outbound connections to the internet, or control the flow of data between the two. A scope that leaves out end-user devices is not acceptable.
For a PHP project three parts of the scope text decide the work.
Servers and software. The document defines servers as devices that provide organisational data or services to other devices. It defines software broadly: operating systems, commercial off-the-shelf applications, extensions, interpreters, scripts, libraries, network software and firewall and router firmware. The PHP interpreter, its extensions and the web server fall under that definition.
Cloud hosting. If the organisation’s data or services are hosted on cloud services, they must be in scope. The NCSC separates three types, and the organisation remains responsible for every control:
| Type | What the provider delivers | Examples named by the NCSC |
|---|---|---|
| IaaS | virtual servers and network equipment that the organisation configures and manages | Rackspace, Google Compute Engine, Amazon EC2 |
| PaaS | the underlying infrastructure, while the organisation provides and manages the applications | Azure Web Apps, AWS Lambda |
| SaaS | the applications, which the organisation configures | Microsoft 365, Dropbox, Gmail |
Where the provider implements a control for you, the document says you must make sure the provider has committed to it through contractual clauses or documents referenced by the contract, such as security statements. Its table of who implements what shows that user access control sits with the organisation for IaaS, PaaS and SaaS alike.
The application’s own code. Publicly available commercial web applications, rather than apps developed in-house, are in scope by default. Bespoke and custom components of web applications are out of scope. The NCSC says the best way to reduce vulnerabilities in applications is robust development and testing in line with commercial best practice, and points to the Software Security Code of Practice. The consequence for a custom PHP application is plain. Cyber Essentials does not test your code, and it does test the server, the runtime, the packages installed on it and the accounts around it.
One gap in the text is worth stating. The software definition names libraries, and Composer packages are libraries. The same document puts custom components of web applications out of scope. Where the line falls for third-party packages inside a custom application is for your assessor to say. Treating the packages as in scope costs little, as the update section below shows.
Every device in scope needs a correctly configured firewall or a network device with firewall functionality. For firewalls the document asks the organisation to:
For cloud services the NCSC says the same aim can be reached with data flow policies. On a PHP host this means a short written list of open ports, each with a reason: web traffic, and administrative access limited as the list allows. Database ports are the usual candidate for removal from the list, since the application and the database normally sit on the same host or private network. The document does not name databases. That reading is mine, and the assessor decides whether a given rule needs a documented business need.
The document asks the organisation to regularly remove and disable unnecessary user accounts, change default or guessable passwords, remove or disable unnecessary software including applications, system utilities and network services, disable auto-run features, and ensure users are authenticated before they reach organisational data or services.
On a PHP server the concrete list is short and checkable:
A staging copy on the public internet belongs on the same list. It runs software and accepts connections, so it meets the scope conditions like any production site.
This section is the most exact in the document. All software in scope must:
The NCSC adds that an update covering several issues counts as critical if any one of them is critical or high risk. It recommends, without making it mandatory, that all released updates are applied within 14 days.
The definition of licensed and supported software has a PHP consequence. The vendor must have committed to providing regular vulnerability fixes and must provide the future date when it will stop. The PHP manual publishes those dates. According to php.net, each release branch is fully supported for two years from its initial stable release, and security support runs longer:
| Branch | Initial release | Active support until | Security support until |
|---|---|---|---|
| 8.2 | 8 Dec 2022 | 31 Dec 2024 | 31 Dec 2026 |
| 8.3 | 23 Nov 2023 | 31 Dec 2025 | 31 Dec 2027 |
| 8.4 | 21 Nov 2024 | 31 Dec 2026 | 31 Dec 2028 |
| 8.5 | 20 Nov 2025 | 31 Dec 2027 | 31 Dec 2029 |
A server on PHP 8.2 therefore has security support until the end of December 2026. After that date the runtime is unsupported under the document’s own definition, and it has to be removed or isolated. The NCSC text does not say whether security-only support counts as supported. It speaks of regular vulnerability fixes, which security support provides. Confirm the reading with your assessor if you rely on it.
For packages, the Composer manual describes composer audit as a check of installed packages against policies such as security advisories, with the Packagist.org API as the default source. With --locked it audits the lock file regardless of what is in the vendor directory, and it exits with code 1 when it finds packages matching the policies. A scheduled run gives you dated evidence for the 14-day rule:
composer audit --locked --format=json > audit-$(date +%F).jsonA finding still needs a person to read the vendor’s severity and decide whether the 14-day rule applies.
The document says the organisation must control the accounts that give access to its data and services, third-party accounts included. It asks for:
Accounts that the organisation owns are in scope even when a supplier, contractor or managed service provider uses them. If a developer works on your hosting, the hosting account, the Git repository and the cloud console are yours, and the developer’s access is listed in your account process. A table in the document shows that a device owned by a third-party contractor is out of scope. The organisation is still responsible for confirming that devices interacting with its services and data are configured correctly, and the document leaves the method to the organisation.
For passwords the document sets these protective measures: protection against brute-force guessing by multi-factor authentication, throttling that allows no more than 10 guesses in 5 minutes, or locking after no more than 10 failed attempts; and a quality control that is either multi-factor authentication, a minimum length of 12 characters with no maximum, or a minimum of 8 characters with no maximum and an automatic deny list of common passwords. The NCSC also advises against regular password expiry and against enforcing complexity rules.
These rules are written for the organisation’s accounts. A custom PHP application’s own login for customers is bespoke code and out of scope. The rules are still a sound benchmark for it, and the PHP manual supports the storage side: password_hash() creates a salt automatically and uses PASSWORD_DEFAULT, which is designed to change over time, so the manual recommends a column of 255 bytes.
Malware protection must be active on all devices in scope. The document offers two options: anti-malware software, listed as an option for devices running Windows or macOS including servers, or application allow listing, which is an option for all in-scope devices and requires approved, code-signed applications and a current list. How a Linux web server meets this is for the assessor to confirm, because the anti-malware option is worded for Windows and macOS.
Backups are not a technical requirement. The NCSC says so and highly recommends an appropriate backup solution, with automatic backups where available. For a PHP site that means database dumps and file copies stored away from the server, and a restore that has been tried at least once.
For a PHP environment these records are quick to keep and map onto the five controls:
composer audit runsIn a project these can be files in the repository and scheduled checks on the server, so the evidence exists before anyone asks for it. The records show what was done. Certification is the Certification Body’s decision.
For everything else I do in PHP, see the PHP developer page.
If you run PHP on servers or hosting in Nottingham and want it aligned with the Cyber Essentials controls, send me the hosting details, the PHP version, the applications and your deadline through the contact form. A Cyber Essentials review starts with a written estimate, and that first estimate is free. Whether a setup meets the requirements is for your Certification Body to decide.
Examples of my work.
predko.pl is a modern website dedicated to the life and career of rally driver Krzysztof Predko. The site was designed with fans of motorsports and anyone in...
Rezydencja Park Mielno is a complex of boutique apartments by the sea, created with the idea of harmony with the surrounding nature and providing a family at...
Sportostroda.pl is one of the interesting projects in my portfolio as a WordPress developer, realised as a local sports portal dedicated to the residents of ...
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.