Runtime hardening
Audited shared helpers and high-use endpoints for stricter null, array, request, and string behavior.
Vitalabs / Case study 01
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.
The context
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 problem
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.
The work
Audited shared helpers and high-use endpoints for stricter null, array, request, and string behavior.
Reworked production S3 access around the server's managed role and the current instance-metadata security flow.
Moved delivery to private-origin CloudFront URLs and connected cloud files back to portal records.
Stabilized login, two-factor email delivery, redirects, password recovery, and controlled support access.
Created a repeatable production process with environment preservation, checks, atomic switching, and verification.
Hardened Certificate of Analysis rendering so legitimate nonnumeric or incomplete data could display safely.
The result
Why it matters
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.