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().
Some PHP projects in Genoa are bought by companies that sit under Italy’s NIS decree, or sell to ones that do. When that is the case, the customer does not only want a working application. It has to show its regulator and its own management that suppliers with access to its systems are assessed and bound by security requirements. This page reads those rules from the supplier’s side.

Boats moored at the Porto Antico, Genoa, September 2023. Image by Timothy A. Gonsalves, licensed CC BY-SA 4.0 and hosted on Wikimedia Commons.
I am Mariusz Szatkowski. I write PHP remotely from Gdynia, and I have worked with WordPress since 2006. The general description of the work is on the PHP developer page. I am not a lawyer, and nothing here says that your company is in scope. It says what the authority published and what that means for a PHP project.
According to the NIS portal of the Agenzia per la cybersicurezza nazionale (ACN), the decree is Legislative Decree of 4 September 2024, n. 138, the Italian transposition of the NIS directive. The new rules have been in force since 16 October 2024, and ACN is the competent NIS authority and the single point of contact.
The ACN scope page counts 18 sectors, 11 of them highly critical and 7 critical, with more than 80 types of entity. It distinguishes essential from important entities, and the sector list includes transport and ICT service management for business customers. Annexes I to IV of the decree hold the detail. Size matters too: the ACN table treats large, medium, and small or micro enterprises differently, with small and micro companies largely outside the scope unless the authority identifies them.
This is a screening, not an answer. A company in Genoa decides with its adviser whether it is an essential entity, an important entity or neither. The consequence for a supplier starts one step later.
The ACN obligations page sets these steps for entities in scope:
| Step | What ACN says |
|---|---|
| Registration | Every year from 1 January to 28 February. The first round ran from 1 December 2024 to 28 February 2025. |
| Annual update of information | Every year from 15 April to 31 May, including the IP address space and the domain names, and the designation of a substitute contact point. |
| Incident notifications | Within 9 months of the listing communication, which ACN places in January 2026. |
| Baseline security measures | Within 18 months of the listing communication, which ACN places in October 2026. |
The listing communication follows the consolidation of the national list of NIS entities, which the ACN page dates to April 2025. The baseline measures and the notifications are set by ACN determination 379907/2025, which implements articles 23 (management bodies), 24 (cybersecurity risk management) and 25 (incident notification) of the decree.
The page also says that categorisation of activities and services under article 30 begins from 2026, so that obligations can rise in step with the exposure of each system. Today’s baseline is therefore a floor, not the final shape.
The measures are listed in the annexes to determination 379907/2025. Annex 1 is for important entities and Annex 2 for essential ones. They are built on the national Framework for Cybersecurity and Data Protection (2025 edition), grouped by function, category, subcategory and requirement. I read Annex 1. I did not compare it line by line with Annex 2, so an essential entity may ask for more.
Five groups of measures matter for a PHP project.
Supply chain. GV.SC-01 says that for supplies with a potential impact on the security of systems, security requirements are defined according to the supply risk assessment and consistent with the entity’s own measures. GV.SC-05 puts those requirements into requests for offer, tenders, contracts and agreements, unless documented legal or technical reasons stand against it. GV.SC-04 keeps an inventory of such suppliers with a contact person and the type of supply. GV.SC-07 sets the minimum criteria of the risk assessment: the supplier’s level of access to the systems, its access to intellectual property and data, the impact of a serious interruption, recovery times and costs, and the supplier’s role in governing the systems.
Software inventory. ID.AM-02 asks the customer to keep a current inventory of services, systems and software applications, commercial, open-source and custom, including those accessible through an API. For a custom PHP application that is a list the supplier can feed directly.
Updates. PR.PS-02 allows only software for which security updates are available, and requires the latest security updates from the producer to be installed without undue delay, in line with the vulnerability management plan. Exceptions need a documented legal or technical reason.
Logs and access. PR.PS-04 requires every remote access and every access with administrative privileges to be logged. PR.AA-01 requires accounts, including administrative and remote ones, to be recorded, approved by someone inside the entity and, barring a documented technical reason, individual for each user.
Secure development. PR.PS-06 asks for secure development practices to be adopted and documented in the development of software. Annex 1 groups it, together with PR.PS-02 and PR.PS-04, under the article 24 category covering development, configuration, maintenance and decommissioning of systems.
In its FAQ on security measures, ACN spells out the supply chain process in four phases (FAQ MSB.13): assess the risk of the supply, identify the security requirements, enforce them, and verify them. Three clarifications help a supplier read a contract draft calmly.
ACN updated its FAQ on supply chain measures on 24 July 2026. If a Genoa customer sends a questionnaire or a contract annex that goes beyond this, ask which measure it comes from. The FAQ gives both sides a way to say that a requirement is out of proportion.
Nothing in a PHP project is invented for the NIS decree. The usual engineering habits answer most of the measures above, as long as they are written down and the customer can find them.
| Customer’s measure | What the PHP project can provide |
|---|---|
| ID.AM-02, inventory of applications | The application, its API endpoints and the third-party services it calls, in a short list kept in the repository |
| PR.PS-02, supported software | The PHP branch in use and its end of security support date from php.net, plus the framework version |
| PR.PS-02, updates without delay | A Composer lock file, a documented update routine and a staging run before each release |
| PR.PS-04, logs | Application logs for logins, role changes and administrative actions, with a retention period agreed in writing |
| PR.AA-01, named accounts | Individual accounts and roles in the application, no shared admin login, and a list of who has deployment access |
| PR.PS-06, secure development | A written development routine: review, tests, dependency audit, separation of staging and production |
| GV.SC-07, supplier access | A short statement of which systems and data the supplier can reach, and how that access is closed at the end |
On the PHP side, php.net publishes the support calendar, so the question of supported versions has a dated answer. A new project starts on a branch with years of security support left, and an old one gets an upgrade plan with dates. Composer can list known advisories for installed packages with a single command:
composer auditThe command reports packages with published security advisories, and its output can be attached to the dependency list as evidence of a routine, not as a promise that no vulnerability exists.
A written scope helps a customer under the decree, and it also protects the supplier. Three limits are worth stating plainly.
First, I do not certify anything. A statement that the application follows the measures above describes practices. Whether the customer meets its own obligations is the customer’s assessment.
Second, incident notification is the customer’s duty towards CSIRT Italia, not the supplier’s. What a supplier can do is agree on how fast it tells the customer about an incident in its part of the system, and who the contact person is. The ACN annexes define which incidents count as significant, and the customer decides.
Third, the measures cover the customer’s whole information and network infrastructure. A PHP application is one part of it. Hosting, identity provider and network sit elsewhere, and they stay with the customer or its other suppliers.
I need the contract annex or questionnaire early, the list of systems the application connects to, and a named person who answers in writing.
That depends on the sector and the size of the business, and the ACN scope page lists the sectors and the entity types. Whether a supplier is in scope is for your lawyer to decide. What a freelancer feels in practice is the customer side: an entity under the decree has to bring security requirements into its supply contracts.
Measure GV.SC-05 of Annex 1 to ACN determination 379907/2025 says security requirements go into contracts for supplies with a potential impact on security. Measure GV.SC-07 lists what the customer assesses: the supplier’s level of access to systems, access to data and intellectual property, the impact of a serious interruption, recovery times and costs, and the supplier’s roles and responsibilities.
No. ACN FAQ MSB.16 says the requirements need not reproduce the text of the measures, it is enough that they take over the substance. FAQ MSB.15 adds that requirements are not needed for every supply, only for supplies with potential impact on security.
Annex 1 maps the article 24 category on development and maintenance of systems to PR.PS-02 (software with available security updates, updates installed without undue delay), PR.PS-04 (logs of remote and administrative access) and PR.PS-06 (documented secure development practices). Add ID.AM-02 for the application inventory and PR.AA-01 for named accounts.
No. I work remotely from Poland, and everything runs in writing: brief, scope, staging links, acceptance and handover documents.
Yes. I design layouts and wireframes, or implement your designer’s mockups, in Twig, Blade or plain templates on top of the PHP backend.
Frontend work on top of a PHP API: Astro developer in Genoa and Next.js developer in Genoa.
Got a NIS security annex or questionnaire for a PHP project? Send it through the contact page with the application URL if one exists and your deadline. The first written estimate is free, and the reply comes with my reading of which lines of the annex a PHP build can answer.
Examples of my work.
like2slide.com is a website for the ski, snowboard, and wakeboard community, built for inspiration, publishing, and stable operation.
marcoaldany.pl is a WordPress website built to present personalised services to show how this system can support companies offering personalised services or...
The website mavicon.pl has been designed with a view to providing a comprehensive presentation of the company’s offerings, which are based on innovative tech...
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.