Menu

Building a niche CRM + ERP on plain PHP and MySQL: lessons from DGA CRM
📰

Building a niche CRM + ERP on plain PHP and MySQL: lessons from DGA CRM

DEV Community: php·DiziGoo Digital·4 days ago
#drBXVE9k
#devto#dev#install#client#domain
Reading 0:00
15s threshold

We build and sell a CRM + ERP called DGA CRM, and we install it on each client's own domain. It runs on PHP 8 and MySQL, which keeps hosting simple and cheap for small businesses. Here are a few lessons from running it for real clients.

One core, many industry presets

We tried separate products per industry first and it became hard to maintain. Now there is one core (leads, customers, invoices, appointments, deals, staff) and an industry preset that changes labels, modules and dashboards. A school sees admissions and fees, a clinic sees appointments and patients, a gym sees memberships. One codebase, many niches.

Web forms are the real lead source

Most leads arrive from website forms and ad forms, so the CRM generates a public web form with a hash. Our site posts to it from the browser. The CRM does not send CORS headers, so the form uses a no-cors POST and we accept that the response is opaque.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.