Modernising and securing eObieg, an electronic document workflow platform
eObieg is the electronic document management system (EZD) that ALFA supplies to public-sector organisations. SmartNet authored the system for ALFA and, during 2026, led its runtime modernisation, security hardening, release engineering, electronic-signature validation and integration API work.
The client and the platform
ALFA develops, sells and supports eObieg. Public bodies use it to register incoming and outgoing correspondence, run cases, sign and verify documents electronically and exchange documents with national services such as ePUAP and e-Doręczenia. ALFA describes it as a browser-based system that needs no extra client software.
Each organisation runs its own installation, often without an on-site administrator, and installations update themselves from the vendor release line. The product and its product information belong to ALFA; SmartNet is its author and engineering partner. This study is published with ALFA's permission.
The challenge
The constraints were firm: incremental change only, one codebase for every supported PHP version, no weakening of signature validation, and no manual work on customer servers wherever it could be avoided.
- A mixed PHP estate that needed to move to supported versions without a rewrite.
- A platform holding official records, so security work had to be continuous and verifiable.
- Encoded commercial releases with limited automated checks on the release lines.
- Database changes that must apply themselves safely during unattended updates.
- Customers who wanted to connect third-party systems to the REST API and keep them in step incrementally.
What SmartNet did
- Staged runtime modernisation. Rather than upgrade every installation at once, SmartNet kept a stable PHP 8.2 release line, established PHP 8.4 compatibility, moved development to PHP 8.5 and updated the installation and PHP-switching tooling. Older release lines stay available where an installation needs them.
- Security response. When PHP and web-server advisories were published, SmartNet assessed which versions and request paths were actually exposed, patched the development environments, confirmed that the web-serving runtime (not just the command line) had changed, and prepared update guidance for customer administrators. Patching was prioritised without treating every advisory as proven exploitable.
- Security hardening. Tightened upload and attachment permission checks, hardened administrator certificate handling and turned an earlier review into tracked remediation items.
- Release engineering. Removed a build-expiry condition from the encoded release process, added checksum and lint checks, and introduced automated CI test gates on both maintained release lines. A single publishing command now validates the source branch and, through a GitLab pipeline, synchronises seven release branches; a successful pipeline run was verified.
- Signature verification. Added validation of qualified electronic signatures with the EU Digital Signature Service (DSS), using European Trusted Lists cached on disk. The existing signing mechanism was deliberately kept for the first phase, so users and certificate providers were not disrupted.
- Customer server upgrades. Moved customer servers to Debian 13 with current PHP, including a server with a 70 GB database taken from PHP 7.4 and PostgreSQL 15 to PHP 8.5 and PostgreSQL 17.
- Automatic database migrations. A runner applies pending schema changes on the first request after an update, under a database lock, with each migration in its own transaction.
- Developer environment. A Docker environment that mirrors customer servers, with client certificates, Xdebug and automatic migrations.
- Integration API. Cursor-based pagination and an event journal for incremental synchronisation, documented in OpenAPI.
- Self-service operations. Customer staff can start a service tunnel and run an application update from the web interface, without SSH.
Technology
PHP 8.2 to 8.5, PostgreSQL 17, Nginx, Debian 13, Smarty 5, Java 21 with EU DSS, Docker, GitLab CI, ionCube, a REST API documented in OpenAPI, and integrations with ePUAP, e-Doręczenia and KSeF.
Results
Each result was verified at the date shown.
- PHP 8.4 readiness audit: no code blockers across about 7,400 files (October 2026).
- First customer installation running PHP 8.5, upgraded from PHP 7.4 (28 November 2026).
- Eleven customer server upgrades to Debian 13 and PHP 8.x completed between March and November 2026.
- Release builds no longer depend on a time-limited expiry condition.
- Automated CI tests now run on both maintained release lines; the incremental-sync API regression suite passed on PHP 8.4 and 8.5 (58 checks, no failures).
- EU DSS signature validation verified in a development environment with a qualified electronic signature (October 2026). This is a development-environment result, not a statement that every customer installation uses it.
- A single publishing command synchronised seven release branches through a verified GitLab pipeline run.
Still in progress
- A faster signature-verification option. Validation took about 30 seconds in testing, most of it spent processing trusted lists. A persistent validation service has been proposed to avoid that repeated cost; it is not yet built or deployed.
- Further customer server upgrades to PHP 8.5.
- Acceptance of the Docker development environment and self-service operations.
- The webhook stage of the integration API.
- PHP 8.5 rollout is staged: we do not claim that every installation has moved. Designs for automated database migration tooling and centralised sign-in are at design stage and are not described as delivered.
How the work was delivered
SmartNet's engineer led the technical decisions, reviews and hands-on work. Delivery was AI-assisted, with human review and approval: every change was checked against the repository or the target server before it was reported as done, and irreversible steps such as pushes to customer release lines waited for explicit approval. ALFA staff coordinated customer tickets and customer administrators carried out root-level server changes where required.
We do not publish usage, time-saving or cost figures for this project because none have been measured.
Not sure where to start?
A short call to find the one process worth automating first. No obligation.