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 Glasgow company that builds or runs a PHP application for a council, a health board, a college or another Scottish public body will meet cyber security terms in the tender. I am Mariusz Szatkowski, a developer in Gdynia who works remotely and in writing, and I write PHP for such suppliers. What a particular buyer demands is set in its own tender documents. This page covers the two Scottish Government documents that sit behind those terms.

The Finnieston Crane over the Clyde in Glasgow. Picture by Rosser1954, CC BY-SA 4.0, Wikimedia Commons.
Version 2.0 was published on 10 December 2024 by the Scottish Government Digital Directorate. The Scottish Government says it is formally issued to all Scottish public sector organisations (PSOs) by Scottish ministers. The page lists no later update. It will be reviewed periodically, so check the page again before a bid.
The Framework works in two tiers. Tier 1 is the baseline that all organisations should achieve at minimum, and it includes Cyber Essentials compliance and the UK GDPR security outcomes of the ICO and the NCSC. Tier 2 adds controls and should be adopted if the body is an operator of essential services, handles highly sensitive data or chooses a more developed posture. The table in section 2 counts 247 tier 1 controls and 180 tier 2 controls.
The controls bind the public body, not its suppliers directly. They reach a supplier through section 3, the supplier management section, and through the contract terms the body derives from it.
The statements in section 3.1 (supply chain assurance, tier 1) that matter to a PHP supplier:
Section 3.2 adds that where services are outsourced, for example to cloud infrastructure, it is defined and accurately recorded which security responsibilities stay with the body and which are the supplier’s. At tier 2 a clear and documented shared-responsibility model for incident management is expected.
The third item says “or their equivalent”. That wording gives a small supplier room to show evidence short of a certificate, and the guidance note below says the same.
The Scottish Public Sector Supplier Cyber Security Guidance Note was published on 22 December 2023 and is part of the Framework. The landing page records an updated Buyer Risk Profile Assessment supporting document of 22 October 2025. It is written for the buyer, and a supplier can read the buyer’s script from it:
Annex A of the note describes four schemes. Cyber Essentials is a UK Government-backed scheme whose entry-level option is self-assessment, with a certification body checking the answers. Cyber Essentials Plus has the same protections, but an independent certification body verifies them. The IASME Governance Standard has two levels, self-certification and independent audit, requires Cyber Essentials certification for either level and is renewed annually. ISO 27001 is a specification for an information security management system that is independently audited and accredited.
Annex A states that the schemes may be appropriate depending on the risk profile of a contract, and it maps none of them to a risk tier. It adds a point that applies to one-developer suppliers: small and medium firms without their own on-premise IT networks may be unable to achieve Cyber Essentials, and for them the supplier arrangements become an important area of focus. A supplier that runs everything on hosted services should expect to explain those arrangements in writing.
If the application runs on hosted infrastructure, section 3.5 of the Framework lists what the body should expect from the cloud provider and the contract. The items that shape PHP work:
Several of these are deliverables a PHP project can include from the start: a documented data export, a tested restore, an admin login that requires a second factor, a list of data locations, and a log of changes. Section 3.3 adds that only individually authenticated and authorised users reach the networks and systems, and at tier 2 that third-party user access is limited to the minimum necessary, with the list of external users reviewed regularly, for example every six months. A supplier’s own staff are third-party users of the buyer’s system. Per-person accounts rather than a shared login are the direct consequence.
<?php
// shared-responsibility.php: generate the table for the handover pack
$rows = [
['PHP and framework updates', 'Supplier', 'Per release, listed in the change log'],
['Hosting platform security', 'Hosting provider', 'Contract and provider documents'],
['Backup and restore test', 'Supplier', 'Quarterly, result written to the pack'],
['User accounts and leavers', 'Public body', 'Reviewed every 6 months'],
];
foreach ($rows as [$task, $owner, $evidence]) {
echo "| $task | $owner | $evidence |\n";
}The table is a template. The owners and the intervals are the ones the contract fixes, and the Framework itself only says the split is defined and recorded.
The guidance note says suppliers should pass security requirements down to subcontractors, and that buyers may take steps to make sure those requirements are included in any subcontracts. It also says buyers should consider assurance processes for suppliers and subcontractors where personal or sensitive data is involved. A PHP application depends on open-source packages, and a package is not a subcontractor in the contractual sense. The question a buyer asks about the software supply chain is still easy to answer if the list exists. The Composer manual describes composer show --locked as listing the packages from composer.lock, and composer audit as checking packages against security advisories, with an --locked option to audit the lock file and exit code 1 when packages match the policies.
composer show --locked --format=json > dependencies.json
composer audit --locked --format=json > audit.jsonAttach both to a release record. Whether a buyer wants such a list is the buyer’s call.
The guidance note says contracts should clarify the supplier’s responsibilities for advising the buyer and the Information Commissioner’s Office about incidents, and that suppliers should have clear contractual obligations to monitor and respond to cyber security incidents. Suppliers should work proactively with customers and tell them about any issues they find. Public bodies should have, and regularly test, incident response plans that cover supplier arrangements. A supplier can prepare a one-page contact and escalation sheet, named roles for each side and the logs that would be searched first, and bring it to the contract discussion.
The Cyber Resilient Scotland strategic framework action plan 2025 to 2030 is dated 24 February 2026. In its section on securing the supply chain it says the Scottish Government and national digital service providers will establish a risk-based Supply Chain Security Framework and standardise its use across digital procurement, ensure suppliers meet relevant certifications such as Cyber Essentials Plus and ISO/IEC 27001, embed security requirements into public sector supplier contracts, and align supply chain security policies with the NCSC Supply Chain Security Principles. It reads as a direction for digital public services. It is not yet a requirement in a tender, and the tender text decides.
If a Glasgow company is preparing a bid or a contract for a Scottish public body that includes a PHP application, send the questionnaire or tender extract through the contact form. I reply with a written estimate, and the first one costs nothing. Which certificate or evidence the buyer accepts is for the buyer 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.