PHP developer in Constanța

WordPress for businesses in Constanța, 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.

My WordPress.org profile

A breach is a bad day for a company, and the 72 hours of the GDPR start counting while the team is still finding out what happened. The Romanian authority, ANSPDCP, publishes a fixed notification form, and half of its fields are facts that a well-built application can state in minutes if it logged them from the start. I am Mariusz Szatkowski, a PHP developer based in Gdynia, and I build that logging layer for custom applications. Deciding whether a breach must be notified is a legal call for you and your adviser.

Genoese Lighthouse on the Constanța seafront

Genoese Lighthouse on the Constanța seafront. Photo: Ștefan Jurcă from Munich, Germany, CC BY 2.0, Wikimedia Commons.

#What counts as a personal data breach?

The ANSPDCP question and answer guide on the GDPR defines it as a breach of security leading, accidentally or unlawfully, to the destruction, loss, alteration or unauthorised disclosure of personal data that were transmitted, stored or otherwise processed, or to unauthorised access to them. The definition comes from Article 4 of the Regulation.

Three properties follow from it, and the authority form asks for them by name: confidentiality, integrity and availability. A leaked customer export is a confidentiality breach. A bug that overwrites order records is an integrity breach. A ransomware lock on the database is an availability breach, even if nothing was copied.

For a PHP application this matters because each property is detected differently. Confidentiality shows up in access logs, integrity in audit trails of writes, availability in uptime and backup records.

#How fast must a breach be notified?

Article 33 GDPR sets the rules, and ANSPDCP repeats them in its guide:

  • 72 hours. The controller notifies the supervisory authority without undue delay and, where feasible, within 72 hours after becoming aware of the breach.
  • Exception. No notification is needed if the breach is unlikely to result in a risk to the rights and freedoms of natural persons.
  • Late notification. If it comes after 72 hours, it has to state the reasons for the delay.
  • Phases. Where not all information is available, it may be provided in phases without undue further delay.
  • Processors. A processor notifies the controller without undue delay after becoming aware of the breach.
  • Records. The controller documents every breach, with the facts, its effects and the remedial action, so the authority can verify compliance.

The last rule is the one that reaches into application design. Documentation is owed for breaches that are not notified as well.

#What does the ANSPDCP form ask for?

ANSPDCP states in its guide that the notification is made on the form adopted by Decision 128/2018 of the authority’s president, published in the Official Gazette no. 557 of 3 July 2018. The form is in two sections. The table groups its fields by where the answer comes from.

Form fieldWhere a PHP application gets the answer
Controller, data protection officer or contact pointConfiguration, kept current
New notification or supplement to an earlier oneThe incident record, with the authority registration number once received
Date and time of the incident, and of its detectionEvent log with two separate timestamps
Nature: confidentiality, integrity, availabilityClassification field on the incident record
Nature and content of the personal data concernedData map of tables and columns per category
Technical and organisational measures appliedRelease notes, access policy, encryption settings
Use of other operatorsList of processors and hosting providers
Summary, physical location and storage media involvedIncident narrative, server and backup inventory
Number of data subjects, estimatedCount queries against the affected tables
Likely consequences and risks for the data subjectsController assessment
Measures taken to mitigate adverse effectsIncident timeline of actions
Information to data subjects: content, means, numberMail or notice log
Data subjects from other member statesCountry field on the data subject, if stored
Other national authorities notifiedIncident record

The form asks for the date and time of the incident and, separately, of its detection. The 72 hours count from awareness, so the application should store both and never overwrite one with the other.

#How is the notification submitted?

The guide says the form adopted by the Decision exists online on the authority’s site. It also describes a second route: the form in editable PDF format is completed by the controller, signed digitally and sent to the authority’s breach mailbox, brese@dataprotection.ro. The Decision text and the guide both say that forms not signed digitally are not considered.

The authority page for the GDPR notification links an online submission as well. I could not tell from the pages I read which of the two channels the authority prefers today, and the guide dates from 2019. Confirm the current channel on the authority site before you write it into a runbook. The same site carries a separate form for providers of electronic communications services under Law 506/2004, which most web applications do not need.

#When must the affected people be told?

Article 34 GDPR requires the controller to communicate the breach to the data subjects without undue delay when it is likely to result in a high risk to their rights and freedoms. The message must describe the nature of the breach in clear and plain language and contain at least the contact point, the likely consequences and the measures taken.

Article 34(3) lists cases where the communication is not required, for example when the controller applied protection that renders the data unintelligible to unauthorised persons, such as encryption, or when it would involve disproportionate effort and a public communication is made instead. Whether an exception applies is the controller’s decision.

For a PHP application the practical point is the audience. A query that returns the affected people, their language and their contact channel must run on a read-only copy within hours, and its results must be stored with the incident.

#What should a PHP application log?

The list follows the form fields above and Article 33(5):

  1. Authentication and access events. Who accessed which record type, from which address, with which account. The retention period is a decision for the controller, balanced against data minimisation.
  2. Write events on personal data. Table, record identifier, actor and time, without copying the personal values into the log itself.
  3. Administrative actions. Exports, bulk updates, role changes and database dumps.
  4. A data map. For each category of personal data, the tables and columns where it lives, including backups and logs.
  5. An incident record. A row for each suspected breach with the awareness time, the incident time if known, the classification, the data categories, the estimated number of data subjects and every action taken.
  6. A processor register. Which hosting providers, mail services and plugins receive personal data, and who at each is the contact for a breach.

Log entries themselves can contain personal data, such as IP addresses and email addresses, so the log is a store under the same rules as the application database.

#How can the incident record be built?

A small append-only file keeps the history of an incident and makes later edits visible. The sketch below uses functions from the PHP manual: DateTimeImmutable with DateInterval, json_encode with JSON_THROW_ON_ERROR, hash and file_put_contents with LOCK_EX.

<?php
declare(strict_types=1);

function logIncidentEvent(string $file, string $incidentId, string $event, array $facts): string
{
    $previous = is_file($file) ? (string) hash_file('sha256', $file) : str_repeat('0', 64);
    $entry = [
        'incident' => $incidentId,
        'at' => (new DateTimeImmutable())->format(DATE_ATOM),
        'event' => $event,
        'facts' => $facts,
        'previous_file_hash' => $previous,
    ];
    file_put_contents(
        $file,
        json_encode($entry, JSON_THROW_ON_ERROR) . "\n",
        FILE_APPEND | LOCK_EX
    );

    return $entry['at'];
}

function notificationDeadline(string $awareAtIso): DateTimeImmutable
{
    return (new DateTimeImmutable($awareAtIso))->add(new DateInterval('PT72H'));
}

Each line carries the hash of the file as it was before the write, so changing an earlier line breaks every later hash. This does not replace a managed log store, but it makes an edit visible to a reviewer. The deadline function shows the figure the team works against once the awareness time is recorded. Whether awareness began at that moment is again the controller’s assessment.

Typical calls are logIncidentEvent($file, 'inc-001', 'detected', ['source' => 'alert']) when an alert fires, and a call with the event name classified and the three properties once the team knows them.

#What if the application is a processor?

If your company runs a PHP application for customers and holds their personal data, you are in all likelihood a processor for them, and Article 33(2) obliges a processor to notify the controller without undue delay. The customer is the controller and notifies ANSPDCP. The processor agreement under Article 28 should therefore name a contact, a channel and the facts a processor passes on: affected systems, data categories, times, and the actions taken. The application can generate that message from the incident record.

#Checklist for a Constanța PHP application

  • Keep a data map and update it with every migration.
  • Store incident time and detection time as separate fields.
  • Log access and writes on personal data without copying the values.
  • Keep a processor register with breach contacts.
  • Hold an incident record per event, with the authority registration number once received.
  • Prepare a read-only query for the affected data subjects.
  • Document breaches that are not notified as well.
  • Confirm the current submission channel on the authority site.

#How does a project run?

You describe the application, the personal data it holds, the hosting and the people who would handle an incident. My first reply to a project brief arrives by email, within 24 hours on working days. The written estimate is free and names what I would check before building: where logs go, who can read them, which tables hold personal data. Changes go to a staging copy, you test them with simulated incidents, and they reach production only after your written approval. Other kinds of PHP work are listed on the main PHP developer page.

#Preparing before an incident

I am not a lawyer, and the Romanian authority’s pages change. If your Constanța business runs a custom PHP application with customer data and you want the breach log designed before you need it, send me the application’s outline through the contact form. The first written estimate is free, and it will say which parts of the log I would build first.

WordPress support & development in Constanța

Need this service: PHP developer in Constanța?

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