Vitalabs / Case study 01

Vitalabs

Upgrading PHP and AWS for a manufacturing portal.

Vitalabs needed its established product, compliance, asset, and administrative workflows to survive a major PHP and AWS modernization. Zyel stabilized the system in place and made production releases safer to operate.

Illustrative supplement bottling line and operational paperwork.
Illustrative supplement manufacturing scene.

The project at a glance.

Challenge
Upgrade an established manufacturing portal while preserving business rules, cloud files, authentication, and day-to-day access.
Our role
PHP modernization, AWS operations, authentication repair, cloud-asset delivery, and release engineering.
The solution
The work hardened PHP behavior, restored role-based cloud access, connected CloudFront assets to portal records, repaired authentication, and introduced repeatable releases.
The result
An updated PHP portal with restored cloud delivery, repaired access flows, data-tolerant document output, and a recoverable release process.
  • PHP
  • MySQL
  • AWS
ClientVitalabs
WorkLegacy modernization and cloud operations
PlatformPHP, MySQL, AWS, S3, CloudFront

Years of decisions lived inside the portal.

Vitalabs is a private-label and custom supplement manufacturer with a public catalog, formulation services, fulfillment operations, and an authenticated management portal.

The portal supports the less visible work behind those services: product data, manufacturing records, compliance documents, digital assets, user administration, and operational approvals.

Replacing that system outright would have put embedded business logic at risk. The job was to preserve how the company worked while modernizing the runtime and cloud foundation underneath it.

The PHP upgrade exposed compatibility and infrastructure issues.

A move to a current PHP and AWS environment exposed assumptions throughout the legacy application.

Nullable values that older PHP versions tolerated began producing warnings or fatal type errors. Vendored libraries predated PHP 8 behavior. Production file access depended on older credential and metadata patterns. Authentication recovery, two-factor delivery, redirects, asset visibility, and deployment all needed to remain dependable while the system was being repaired.

The challenge crossed shared rendering, administrative lists, product screens, file uploads, Certificate of Analysis output, cloud credentials, and the release process itself.

Modernize in place. Verify in production.

01

Runtime hardening

Audited shared helpers and high-use endpoints for stricter null, array, request, and string behavior.

02

Cloud credentials

Reworked production S3 access around the server's managed role and the current instance-metadata security flow.

03

Asset operations

Moved delivery to private-origin CloudFront URLs and connected cloud files back to portal records.

04

Authentication resilience

Stabilized login, two-factor email delivery, redirects, password recovery, and controlled support access.

05

Release automation

Created a repeatable production process with environment preservation, checks, atomic switching, and verification.

06

Data-tolerant output

Hardened Certificate of Analysis rendering so legitimate nonnumeric or incomplete data could display safely.

The portal ran on the updated runtime and release process.

  • Production cloud storage restored and verified through the server's managed role.
  • Direct visibility from cloud files to the products, panels, sources, and packaging records using them.
  • Administrative and product-management screens verified under the newer PHP runtime.
  • Certificate of Analysis output kept rendering when ingredient data contained unexpected values.
  • Deployment moved from manual server changes to a repeatable, recoverable release workflow.

Modernization with existing business rules preserved.

Mature systems are often valuable precisely because they contain years of decisions, exceptions, and operational knowledge.

A safe modernization respects that value. Zyel's work with Vitalabs focused on removing runtime and infrastructure risk without discarding the workflows the business already depended on.

Vitalabs website, PHP portal, and WMS application.

The website and PHP portal work includes runtime upgrades, cloud delivery, authentication, application records, and release engineering. A separate Vitalabs Management System application covers manufacturing and warehouse workflows in ASP.NET/C#.

Explore the Vitalabs Management System manufacturing and warehouse system →

Custom platforms and systems design · Application engineering

Modernize without losing what works

Plan a PHP upgrade or cloud migration.

Talk to Zyel

A closer look.

These captures show the public website. The private operational application is described in the case below.

01 / Public website
Vitalabs public website.
Vitalabs public website.
Open full-size image

Rehearse a release. Inspect an access boundary.

Explore two engineering concerns described in this case using independent teaching examples.

Safe Rollout Lab — Release through a compatibility window and inspect what recovery requires. Read the tutorial →

Tenant Boundary Lab — Try account and role boundaries with synthetic identities and records. Read the tutorial →

These Labs use synthetic data and their own sample stacks. They are not the client application, a reproduction of its private workflows or evidence of its current live configuration.

Discuss an application repair