PHP developer in Athens

WordPress for businesses in Athens, 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: Athens WordPress Meetup

My WordPress.org profile

A PHP system that records when staff start and stop work used to be an internal tool. For many Greek employers it is now a reporting channel to the Ministry of Labour. I am Mariusz Szatkowski. I build PHP systems from Gdynia and keep every agreement in writing. This page is about one angle that matters for custom PHP in Athens: the digital work card (ψηφιακή κάρτα εργασίας) and what the ministry publishes about it. The shop owner or HR lead decides the legal position. I am not a lawyer, and I build what the written requirements ask for.

Acropolis at daybreak, seen from Athens

View of the Acropolis at first light, taken by Andrew Parlette and published under CC BY 4.0 on Wikimedia Commons.

#What is the Greek digital work card?

The Ministry of Labour and Social Security describes the digital work card as a measure introduced by Law 4808/2021 on the protection of labour. Through it, the upgraded ERGANI II system learns the working hours of employees in real time and classifies each hour automatically as regular time, overwork, overtime or rearranged working time. It also records breaks, days off and leave. The ministry page is on ypergasias.gov.gr.

The ministry’s dedicated site, psifiakikarta.gov.gr, explains the split of roles. The employee holds a personal card as a QR code in the free myErgani app and signs in with Taxisnet codes. The employer must provide a time-measurement system, and the ministry offers the free Ergani CardScanner app for that purpose. Employees “swipe” at arrival and departure, and the events end up in ERGANI.

For a PHP team the interesting part is the third path. A company may connect its own time-measurement system to ERGANI II. That is where a custom application comes in.

#Which employers must use it?

Coverage is set by sector, through the employer’s main activity code (ΚΑΔ). The ministry FAQ lists banks, large supermarkets, insurers, security companies, utilities, industry, retail, tourism and food service, energy, wholesale, vehicle repair and financial services. Tourism and food service were added by a ministerial decision of 11 September 2024, and a further group by one of 25 June 2025, according to the same page.

The 2026 expansion matters most for software built this year. The ministry states that full application started on 12 October 2026 for human health activities (hospitals, treatment and diagnostic centres, doctors excluded), employment support, telecoms, hairdressers, beauty centres, dry cleaners, and building and outdoor services, mainly cleaning. A second phase starts on 16 November 2026 for consultancy, advertising and other office activities, repairs, warehousing and logistics support, water and waste management, and gambling. The ministry counts about 2.5 million protected workers in total.

The summary guide, updated on 23 September 2026, adds three rules a developer should know:

  • There is currently no voluntary entry. A company is in or out according to its activity code.
  • The duty covers all employees under private-law dependent employment who work with physical presence, including borrowed staff.
  • A company that falls in scope applies the mechanism to all of its employees.

Which activity code a business has, and whether a secondary activity pulls it in, is a legal question. The guide has chapters on the main-code rule and on multiple activities in one place. Read them with your adviser before you scope software.

#What does the employer have to send to ERGANI II?

The ministry splits the employer side into two stages, on the employer page.

  1. Census and scheduling. For each employee the employer submits identity data (tax number ΑΦΜ, surname, first name), the contractual weekly hours set by a collective agreement or arbitration decision, five-day or six-day work, whether overwork is provided, whether a break is inside or outside working hours, and whether the schedule is fixed weekly or variable per day, for example in shifts. Each week the business also declares the schedule, leave and overtime per employee.
  2. Recording of actual working time. The business reports start and end events for every employee who works on site that day, daily and immediately.

The ministry says a company can connect its own time-measurement system directly to the card mechanism in ERGANI, or use the CardScanner app, which reads the QR code and submits the event automatically. Submitted card events are available to the employer in the ERGANI web portal at eservices.yeka.gr.

That portal’s login page lists documents: a short guide dated 13 February 2026, an extended manual, a guide for the trial application and a “guide for the use of interoperabilities”. The interoperability guide is the document that should define message formats for a PHP integration. I have not reproduced it here, and a build should start from its current version, not from this page.

#How fast must a swipe reach ERGANI II?

The guide is explicit. The declaration of a start or end event must be submitted with a maximum delay of 15 minutes. The window applies to whichever channel the employer chose: filling in the form, importing XML, submitting through an API or using the CardScanner app. The obligation to transmit the swipes lies with the employer, not the employee.

For software this is a service-level requirement, and it shapes the architecture:

  • Store every swipe locally first, with the time it happened, and send it from a queue. A short ERGANI outage must not lose events.
  • Compute a deadline per event and alert before it passes. A job that fails silently for an hour creates an hour of late events.
  • Make submission idempotent, so a retry after a timeout does not create a second event.

A minimal value object for the deadline:

<?php
declare(strict_types=1);

final class SwipeEvent
{
    public function __construct(
        public readonly string $employeeId,
        public readonly string $type, // 'start' or 'end'
        public readonly DateTimeImmutable $happenedAt,
    ) {}

    public function submitBy(): DateTimeImmutable
    {
        return $this->happenedAt->add(new DateInterval('PT15M'));
    }

    public function isOverdue(DateTimeImmutable $now): bool
    {
        return $now > $this->submitBy();
    }
}

A worker that reads unsent events ordered by submitBy() and pages someone when the oldest event is within a few minutes of its limit is more useful than a worker that only retries.

The guide also names a duty to notify the Labour Inspectorate immediately when force majeure or an objective impossibility, not caused by the employer, blocks the time-measurement system or its transmission to ERGANI, and again when it ends. A system that knows it is failing can write that incident log for the employer.

#Which fines apply to a time-tracking setup?

The guide lists the sanctions from ministerial decision 80016/2022. I quote amounts as printed there and I do not interpret when they apply.

  • Not activating an employee’s digital card: 10,500 euros per employee.
  • Submitting card data that deviates from the real start or end of work: 3,000 euros per employee. The guide notes that the case of “three orphans” falls here.
  • An unjustified failure to submit data for the real start or end: 3,000 euros per employee.
  • Applying flexible hours to an employee for whom flexible arrival and the card were not activated: 2,000 euros.
  • Not keeping time-measurement data for at least five years where this blocks verification of an employee’s financial claims: 4,000 euros per employee. The five years come from ministerial decision 113169/2023, which the guide cites.
  • For companies that chose the retrospective system, a change of schedule or overtime not identified by a swipe: 10,500 euros, citing Article 22 of Law 5053/2023.

There are also general breaches fined regardless of headcount: not having a working real-time system, and not notifying the inspectorate of an outage.

None of this tells a developer what a fine “would be” in a given case. It tells a developer which defects the authority treats as breaches. Missing events, events with the wrong time, a card that was never activated and records that were deleted too early are the same defects a test suite can catch.

#How to design a PHP time-tracking system for the card

From the ministry text I derive these design rules. They are engineering choices, not legal advice.

Keep raw events append-only. One table holds employee, event type, the timestamp from the device, the timestamp the server received it, the channel and the submission status. Corrections are new rows that point to the old one. The five-year duty and the inspectors’ interest in deviations both argue against editing history.

Separate the declared schedule from the swipes. The guide expects an initial declared schedule, at week or month level, and compares swipes against it. A swipe before a declared start is not automatically the same as a swipe within a declared flexible window. The guide says flexible arrival must be declared per employee in ERGANI. Its example: with a declared 09:00 to 17:00 schedule and 60 minutes of flexibility, arriving at 9:53 and leaving at 17:53 is not a change of schedule. A 30-minute flexibility does not allow a swipe at 8:30 instead of 9:00. Model the window as data, per employee, and test the boundaries.

Count single swipes per month. The guide accepts up to three single swipes per month per employee, citing ministerial decision 44485/2024. In that case the inspectorate issues a recommendation, not a fine. A monthly report of employees with unmatched start or end events lets HR fix gaps before an inspection. The tolerance is the inspectorate’s choice, not a feature to design around.

Handle work outside the premises. For staff who work outside the employer’s buildings by the nature of the job, the guide says the declared daily schedule is presumed and a missing swipe on those days is justified. The duty to swipe remains when they work inside the premises. A person who is on the road on Monday and in the office on Tuesday needs a per-day location flag, not a per-employee one.

Do not guess the payload. Field names, authentication and error codes belong to the ministry’s interoperability documentation. Wrap the transport in one class behind an interface, so that a change in the specification touches one file and the contract tests stay.

#What to store and for how long

The ministry decision cited in the guide requires time-measurement data to be kept for at least five years. Plan for that in three places.

  1. The database. Partition or archive by year, and keep indexes that let you answer “show all events for this employee in this month” fast.
  2. The backups. A backup policy with a 30-day horizon does not satisfy a five-year record duty by itself. Decide where archives live and who can read them.
  3. Personal data. The events are personal data of employees, so the period needs an owner and a deletion job. The Greek authority for data protection is the Hellenic Data Protection Authority. I deliver the data map and the deletion job. Whether a given processing is lawful is for you and your adviser.

#What I could not confirm

  • The interoperability guide and the Ergani II manuals linked from the portal login page. They are the specification for a real integration, and I have not read them for this page.
  • The exact activity codes behind each sector. The ministry publishes them in ministerial decisions; the guide only summarises them.
  • How a particular business is classified. The guide treats main and secondary activities in dedicated chapters.

The ministry site ergani.gov.gr did not answer when I tried it on 4 December 2026. Everything above comes from the ministry pages named in the sources.

#Written ownership, one hour ahead of Gdynia

I work remotely from Gdynia, one hour behind Athens. Agreements live in email threads and shared documents, so the event flow is written down before it is built. At handover you keep the repository, the component library and the runbooks.

If your Athens company runs PHP time-tracking or shift software that has to meet the card deadline, send the current system description through the contact page. The first written estimate is free and starts from how your events flow today. The general PHP scope is on the PHP developer page.

See also in Greece

Need this service: PHP developer in Athens?

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