Projects / Platforms & SaaS
UnifyErp
Multi-tenant SaaS ERP with 49 modules
- Live site
- unifyerp.net
- Built with
- Laravel 12, React 18, Inertia, PostgreSQL, DigitalOcean
UnifyErp is a multi-tenant SaaS ERP that Osama Al Asasfeh rebuilt, extended and operates in production. About 16 companies run on it. It has 49 modules (HR, CRM, POS, projects, double-entry accounting) with 21 payment gateways in 16 languages, and exposes a secure API that lets an AI voice agent look up customers and open leads and support tickets during a phone call.
- companies running their business on it
- ~16
- ERP modules in one SaaS
- 49
- payment gateways
- 21
- files migrated to the new brand
- 2,234
- voice-agent API response time
- ~0.3 s
The problem
The platform arrived as a large inherited Laravel codebase under a previous brand identity. It had to be fully rebranded, made bilingual, given a pricing model that actually charges what it advertises, and opened up to AI agents without exposing other tenants' data.
My role. Lead engineer and operator: codebase migration, new billing features, the AI voice-agent API, deployment and server operations.
What I built
- A 2,234-file namespace migration to the new brand, across every PHP namespace, import and JSON config, including recovery from a site-wide outage caused by a stale service-provider cache during deploy.
- A pricing system with a most-popular plan, accent colours and yearly discounts, carried through the database, the admin form, the public pricing page and the bank-transfer checkout, so the advertised discount is the discount charged.
- An API for an AI voice agent: during a call it finds the caller by phone number, lists their open tickets, and creates leads and support tickets, with each call ID used as an idempotency key so retries never duplicate records.
- Bilingual English and Arabic with native right-to-left layout, out of 16 languages in total.
How it works
- 01Caller on the phone
- 02AI voice agent
- 03Bearer-token API · 120 req/min
- 04Tenant data · leads · tickets
- Laravel 12 with React 18 through Inertia, on PostgreSQL.
- 49 standalone modules and 21 payment gateways.
- Voice-agent endpoints secured with a hashed bearer token, scoped to a single tenant, rate-limited to 120 requests a minute, and answering in about 0.3 seconds.
- Hosted on a DigitalOcean server next to other apps, each isolated with its own PHP-FPM pool and PHP version.