PHP developer in Porto

WordPress for businesses in Porto, delivered remotely by one developer.

PHP developer

My place in the WordPress community

  • I have had a wordpress.org account since 2006.
  • I contributed to WordPress core for versions 7.0 and 7.1.
  • I maintain 30 plugins on wordpress.org.
  • I organise and speak at WordCamps.
  • I have attended every WordCamp Europe from 2017 to 2026.
  • Local WordPress meetup: WordPress Porto Meetup

My WordPress.org profile

A Porto company that runs a custom PHP application for a healthcare provider, a water or energy utility, a transport operator or a public body may now be part of a regulated supply chain. I am Mariusz Szatkowski, a PHP developer in Gdynia who has worked remotely and in writing since 2006. I design the interface myself or build to yours. On this topic the customer decides its legal position under the regime, and my job is a codebase and a delivery process that can stand up to the questions the customer will have to ask.

The Dom Luis I bridge over the Douro in Porto

The Dom Luis I bridge spanning the Douro between Porto and Vila Nova de Gaia. Photographed by Diego Delso, licence CC BY-SA 3.0, from Wikimedia Commons.

#Which law replaced Decreto-Lei 65/2021?

Decreto-Lei 125/2025 of 4 December 2025 did. It was published in Diário da República 234/2025, series I, and its own summary says it transposes Directive (EU) 2022/2555, the NIS2 directive. The decree approves the cybersecurity legal regime (regime jurídico da cibersegurança) as an annex, and the gazette page lists it as in force on diariodarepublica.pt.

Article 9 of the decree revokes, among others, three texts that a Portuguese IT team may still have in old policy documents:

  • the earlier regime for the security of cyberspace, Lei 46/2018 of 13 August
  • its regulation, Decreto-Lei 65/2021 of 30 July
  • articles 59 to 65 of the Electronic Communications Law, Lei 16/2022, on a delayed schedule set in article 10(1)

Article 11 says the decree enters into force 120 days after its publication. Counting from 4 December 2025 puts that in early April 2026; that date is my own count, and the decree gives only the rule.

A contract or security annex that still cites Decreto-Lei 65/2021 points at a revoked text. That is worth a line in the next contract review, whatever else changes.

#Who does the cybersecurity regime cover?

Article 3(1) applies the regime to private entities of the types listed in annexes I and II that are medium-sized enterprises or larger under Commission Recommendation 2003/361/EC and provide services or carry out activities in the EU. Article 3(2) adds entities regardless of size in specific cases, for example public electronic communications providers, trust service providers, DNS and top-level domain services, the sole provider of an essential service, or an entity whose disruption could seriously affect public safety or health. Public administration, higher education institutions and critical entities under Directive (EU) 2022/2557 are covered through article 3(3) to (6).

Article 6 sorts the covered entities. Essential entities include annex I types above the medium-sized thresholds, and important entities are the annex I and II types that are not essential.

One annex I sector matters to anyone who looks after applications for other businesses: “ICT service management (business to business)”, with managed service providers and managed security service providers. Article 2(y) defines a managed service provider as an entity that provides services related to the installation, management, operation or maintenance of ICT products, networks, infrastructure, applications or other network and information systems, through assistance or active administration on the customer’s premises or remotely. A software house in Porto that hosts and maintains client applications should read that definition against its own contracts, and check its size against article 3(1).

I am one person, below the medium-sized thresholds, so the regime does not reach me as an entity under article 3(1). It reaches the work through the customer.

#What does article 28 ask about suppliers?

Article 27(1) lists the areas the measures of essential and important entities must cover. Two of them name the developer’s world directly. Point (c) is security of the supply chain, including the relationship between the entity and its direct suppliers or service providers. Point (d) is security in the acquisition, development and maintenance of network and information systems, including vulnerability handling and disclosure. Point (i) asks for multi-factor or continuous authentication.

Article 28 then says what the supply chain measures must consider, among others:

  1. the specific vulnerabilities of each direct supplier and service provider
  2. the overall quality of the products from a cybersecurity point of view
  3. the cybersecurity practices of suppliers and service providers, including their secure development procedures
  4. coordinated EU risk assessments of critical ICT supply chains under article 22 of the NIS2 directive
  5. government decisions restricting or excluding equipment, components or services under article 18(3)

Point 3 is the one a PHP supplier will be asked about. The customer is the party bound by the law. In practice it will ask its developer how code is written, reviewed, tested and released, and it will want something written to file with its risk analysis under article 29, which must be documented.

#When do the security measures take effect?

Article 10(2) of the decree splits the timing. Articles 27(1) and (2), 28 to 30 and 33, and the matching fines in article 61(1)(b), (c) and (f), take effect 24 months after publication of the regulation referred to in articles 8, 14, 26, 31, 32 and 83 of the regime.

The CNCS published that regulation as Regulation 756/2026 of 22 June 2026, in Diário da República 118/2026, series II, on diariodarepublica.pt. Its preamble lists those articles among the ones it implements, and its article 35(1) says it takes effect without prejudice to article 10(2) of the decree. On my reading the measures and the supplier rule apply from June 2028. That date is my inference from the two texts, and the CNCS or your adviser is the right place to confirm it.

Incident notification under articles 40 to 44 is not in the deferred list. Neither is registration on the CNCS electronic platform. On my reading a customer can therefore face reporting duties well before the supplier rule applies, with the procedure detailed in CNCS technical instructions, and the application has to support both.

#What do the minimum measures say about development?

Annex III of Regulation 756/2026 lists the minimum measures for essential and important entities by conformity level: basic, substantial and high. Article 28 of the regulation derives the level from a risk matrix per sector and the entity’s size, and article 30(2) says the substantial and high levels also carry the measures of the levels below. These controls land on a PHP project:

Control in annex IIILevelWhat the customer must show
PR.GA-3, authentication mechanismsbasicmulti-factor authentication on remote access and privileged accounts
GR.CA-5, supplier contractssubstantialcontract templates with specific cybersecurity clauses and the means of sharing sensitive information
PR.SP-4, secure development life cyclesubstantialsecurity by design and by default in the life cycle, an impact analysis in a separate test environment before a change reaches production, change management records
PR.RI-2, separate environmentssubstantialdevelopment and test isolated from production, with technical evidence

The verification criteria in annex III ask for evidence, and evidence is the part a supplier can prepare in advance. For a PHP project that can mean:

  • Change records: each change goes through a Git branch and a pull request with a written description, so the change management record exists without extra paperwork.
  • A staging copy: a test environment that mirrors the production PHP and database versions, with its own credentials and no production personal data unless the customer agrees otherwise in writing, where changes are tested before release.
  • Admin access with a second factor: multi-factor authentication on the application’s admin area and the hosting panel for privileged accounts, matching PR.GA-3.
  • Dependency checks: composer audit in the pipeline. The Composer documentation says the command checks installed packages against security advisories from Packagist.org by default, also reports abandoned packages and packages flagged as malware, and returns a non-zero exit code when it finds one, so a release can stop on it.
  • A supported PHP branch: php.net lists PHP 8.4 under active support until 31 December 2026 and security support until 31 December 2028, and PHP 8.2 security support ends on 31 December 2026. An application on an unsupported branch is hard to defend under article 27(1)(d).

#How must incidents be reported?

Article 40 requires essential, important and relevant public entities to notify any significant incident to the competent cybersecurity authority through the electronic platform. Article 40(3) gives the parameters for “significant”: number of affected users, total users of the service, duration, severity of the disruption and the scale of the economic and social impact.

The timeline in articles 41 to 44:

StepDeadline
Initial notificationwithout undue delay, within 24 hours of concluding a significant incident exists or may exist
Update with an initial assessmentwithin 72 hours, where necessary
End of significant impactwithin 24 hours after the impact ends
Final reportwithin 30 working days of the end of impact notice

If the incident is resolved within two hours of detection, article 41(2) says only the end of impact notice is due. Article 40(5) keeps other reporting duties alive, for example to the CNPD for personal data.

For the developer, 24 hours is the binding number. A customer cannot report what nobody told it. The contract should say how fast the developer reports a suspected incident to the customer, through which channel, and what the first message contains. The initial notification in article 42(2) asks for the start or detection time, a short description with cause and effects, and an estimate of affected users, duration and geographic spread. Application logs that record logins, admin actions and errors with timestamps make that estimate possible in hours.

#Vulnerability reports and CERT.PT

Article 38 makes CERT.PT the national coordinator for coordinated vulnerability disclosure, acting as a trusted intermediary between the person reporting and the vendor or provider. Article 45 lets anyone notify incidents, near misses or vulnerabilities voluntarily. For a PHP application, the practical step is a published security contact and a written promise to answer it, so a researcher who finds a flaw has somewhere to go before CERT.PT has to step in.

#What are the fines?

Article 61(1) lists very serious offences, including failure to adopt the measures under articles 27 to 29 and failure to notify under articles 40 to 44. Article 61(2) sets fines for a legal person:

  • essential entity: from 2,000 to 10,000,000 euros, or 2% of worldwide annual turnover in the previous financial year, whichever is higher
  • important entity: from 1,250 to 7,000,000 euros, or a maximum of not less than 1.4% of worldwide annual turnover, whichever is higher

Article 64 punishes negligence too, with the limits halved. Article 65 lets entities ask the authority to waive fines under articles 61(2) and 62(2) during the first 12 months after entry into force, if they had no internal adaptation procedure. These fines fall on the regulated entity. A supplier’s exposure comes through its contract.

#Checklist for a PHP supplier in Porto

  • Find out whether the customer is an essential or important entity, and at which conformity level.
  • Replace references to Decreto-Lei 65/2021 in contracts and security annexes.
  • Agree in writing how fast and through which channel a suspected incident reaches the customer.
  • Keep development and test environments separate from production.
  • Put multi-factor authentication on admin and hosting accounts.
  • Run composer audit in the release pipeline and keep the PHP branch supported.
  • Keep change records per release.
  • Publish a security contact for vulnerability reports.

#What stays with your adviser

I am not a lawyer. Whether your company is essential or important, which conformity level applies, what counts as a significant incident and when the deferred articles take effect are for you, your adviser and the CNCS. This page covers the decree and the regulation as published in the Diário da República, plus the php.net and Composer documentation, and leaves out sector rules such as the DORA regulation (EU) 2022/2554 for the financial sector, which article 3(9) of the regime says it does not affect.

#How does a project run?

  1. You send the application or planned scope, the hosting, whether you or your customer is in scope of the regime, and your deadline through the contact form.
  2. I reply in writing with the scope, my assumptions and questions on environments, admin access and incident contacts.
  3. I work on staging, and you review the change records, the access setup and the release steps there.
  4. After your written acceptance I release to production. The general PHP developer page describes the PHP work I take on.

#Send me the application

If your Porto company builds, hosts or buys a PHP application for a customer covered by the regime, send me the scope, the hosting, the customer’s sector and your deadline through the contact form. You get the first estimate in writing, free of charge. Whether your customer is essential or important, and what its conformity level requires, stays with you and your adviser.

See also in Portugal

Need this service: PHP developer in Porto?

Describe your project by e-mail. I reply within 24 hours.

Describe your project

Latest PHP developer articles

Dec 2, 2026

Laravel Rust: what does it mean for PHP apps?

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.

Explore other WordPress services and knowledge base