What an EspoCRM implementation involves
An EspoCRM implementation fits the CRM to how your teams sell and serve customers, then migrates data, connects other systems and hands the platform to your administrators. EspoCRM is an open-source CRM written in PHP and licensed under the AGPL-3.0, so it suits teams that want an open source CRM self-hosted in their own infrastructure.
It ships with accounts, contacts, leads, opportunities, cases, campaigns, email and calendar, a single-page web interface and a REST API. Its Entity Manager can add entity types, fields and relationships, so teams also use it as a platform for business applications beyond sales.
Most requirements can be met through the administration panel: entities, layouts, conditional logic, formula scripts, roles and teams. Code is needed for hooks, custom services and integrations. An implementation decides which layer each requirement uses, designs the access model, connects email and other systems, and migrates data from the CRM or spreadsheets being replaced.
Plan for a fast-moving project. The latest GitHub release read on 2026-12-04 is 10.1.5, published 2026-11-30, and five patch releases of 10.1 appeared within 21 days of 10.1.0. Reports, workflows and BPM come from the Advanced Pack, and quoting, orders, invoicing and inventory from the Sales Pack, both sold separately by the EspoCRM team. Settle which packs are in scope during discovery, because they change what has to be built.
EspoCRM customization layers and what each one is for
Customizations made in the administration panel are stored in the custom directory and can be copied to another instance. New entities, fields and relationships get a c prefix to avoid clashes with future versions.
| Layer | Use it for | Upgrade note |
|---|---|---|
| Entity Manager | New entity types (base, person, company, event) and new fields and relationships on existing ones. | Changes made in the UI are expected to survive upgrades. |
| Layout Manager and conditional logic | Detail, list and filter layouts, plus fields shown, required or read-only based on conditions. | Stored as metadata. Review layouts after major upgrades. |
| Formula | Before-save scripts that calculate fields or create related records, and an API before-save script for validation and duplicate checks on saves made through the API, which includes the web interface. | Keep scripts short and documented. Test them after each upgrade. |
| Hooks and custom code | PHP hooks such as beforeSave and afterSave in custom/Espo/Custom or a module, plus custom services and API actions. Custom API endpoints are defined in routes.json in a module or the custom folder, and the docs prefer Action classes over controllers. | EspoCRM warns that code customizations may break on upgrade, so keep them in Git with tests. The 10.0 announcement lists removed deprecations, including SelectManager support, jobs with serviceName and the Espo.ui and Espo.utils frontend APIs. Custom code that relies on them will likely need updates. |
| Extensions | Packaged modules installed as zip files from the administration panel or the CLI. | Check each extension's support for the target version before upgrading. Since v10.0, a config parameter can disable UI extension installs. |
Core, Advanced Pack, Sales Pack and custom work
Core
CRM entities, email, calendar, portals, roles and teams, import, formula, webhooks, LDAP and OpenID Connect sign-in, and the REST API. Version 10.0 added multiple pipelines, record locking, cascading links and grouped notifications. Version 10.1.0 added an OAuth 2.0 server and background job processing with workers. Core is free under the AGPL-3.0.
Advanced Pack
Reports, workflows and BPM with gateways, events and activities. Use it for approval flows, scheduled follow-ups and multi-step processes that would otherwise need code. EspoCRM's pricing page says every cloud plan includes the Advanced Pack. On a self-hosted instance it is sold separately, so price it early.
Sales Pack
Products, prices, quotes, sales and purchase orders, invoices, inventory, payments and taxes. Compare it with your ERP or billing system before deciding where those records live. The pricing page lists the Sales Pack among extensions offered at no additional cost on cloud plans.
Custom modules
Code built as an EspoCRM module or extension for integrations or logic the packs do not cover. Package it so it can be installed, upgraded and removed cleanly. On cloud plans the admin cannot install extensions directly, so plan custom modules around that limit before choosing where to host.
How the EspoCRM implementation runs, phase by phase
Map lead intake, the sales pipeline, account management and service cases with the teams that run them. Record stages, required fields, assignment rules, mailboxes, reports and connected systems. Name which system owns each shared record, since ERP and billing integrations need one owner per record. Settle whether the Advanced Pack and Sales Pack are in scope, because they change what has to be built. List the data to migrate, with volumes and known quality problems. Record the identity provider and sign-in method your teams use, so SSO is designed together with the access model.
Define entities, fields, relationships and layouts, then roles and teams. Choose the entity type for each new object: base, person, company or event. Set role access per entity and action, at levels such as all, team or own records. Define a separate API user and role for each integration. Decide what formula, Advanced Pack workflows or code will handle, and write each rule down with its owner. These entries become the rule register that is part of the handover, so keep them current as the design changes.
Configure on a development instance, keep the custom directory and any modules in Git, and promote changes to staging and production by deployment. Administration panel changes are stored in the custom directory and can be copied to another instance. Keep PHP hooks, custom services and API actions in the repository with tests. Package custom modules so they install, upgrade and remove cleanly. Keep formula scripts short and documented. Build integrations against the REST API with dedicated API users, and prepare import mappings so rehearsal imports can start early.
Test each role on migrated data: record access, email import, workflows, scheduled jobs and reports. Check that formula scripts and conditional layouts behave as written in the rule register. Run the import rehearsals on staging and compare record counts with the source. Restore a backup to a separate host to confirm records, attachments and cron work. Train team leads first, then users by role, so each group sees its own layouts, filters and reports. Train administrators on entities, formula, workflows and the upgrade procedure.
Freeze the old system, run the final import, switch mailboxes and integrations, and keep close support through the first weeks. Use the import mode that fits the load: Create for the first load and Update Only for corrections. Turn on silent mode for historical records so they do not trigger notifications and automations. Confirm that cron runs every minute and that email fetching works for personal and group accounts. Check that SSO sign-in, fallback login and API users work in production before the old system is retired.
EspoCRM API, webhooks and integrations
The REST API lives under api/v1 and covers CRUD, relationships and metadata. EspoCRM recommends a separate API user for each integration, with a role that grants only what it needs. The API documentation lists four authentication methods: API Key, HMAC, OAuth 2.0 as of v10.1, and Basic. Basic authentication is not recommended.
API Key authentication sends the X-Api-Key header. HMAC sends an X-Hmac-Authorization header that carries the API key and a SHA-256 HMAC of the method and URI, signed with the secret key. The documentation calls HMAC the most secure method. Rotate keys and secrets on a schedule, and remove API users when an integration is retired.
Webhooks push record events to other systems, and lead capture forms bring website leads in. Personal and group email accounts connect over IMAP and SMTP and link messages to records. ERP and billing integrations usually run through middleware or a custom module that calls the API, with one system named as the owner of each shared record.
How to import data into EspoCRM during a migration
Common predecessors are SuiteCRM, Salesforce, HubSpot, other CRMs and spreadsheets. Export to UTF-8 CSV, clean the data, and import in dependency order: users and teams, accounts, contacts, leads, opportunities, cases, then activities.
| Import feature | What it does | Use in a migration |
|---|---|---|
| Create, Create & Update, Update Only | Creates records, or matches on chosen fields and updates them. | Use Create for the first load and Update Only for corrections after review. |
| Execute in idle | Processes the import through cron. | Use it for large files so the web request does not time out. |
| Silent mode | Skips most after-save scripts, stream notes and workflows. | Stops historical records from triggering notifications and automations. |
| Relate by name | Links records to related records by name when IDs are missing. | Load accounts first so contacts and opportunities attach to them. |
| Revert import | Removes all records created by an import. Updates made by the import are not reverted. | Undo a failed rehearsal, then remove the import log once data is accepted. |
EspoCRM requirements, hosting, SSO, access and backups
The server configuration docs list PHP 8.3 to 8.5 with MySQL 8.0 or later, MariaDB 10.6 or later, or PostgreSQL 15. The GitHub README lists PHP 8.4 to 8.5, so check the System Requirements page of the instance you install. Run cron.php every minute for the web server user. Add the daemon and the WebSocket server, which needs the zmq extension, where parallel jobs and live updates are needed. Install ext-ev for production WebSocket use. The Docker guide uses the espocrm and mariadb images with espocrm-db, espocrm, espocrm-daemon and espocrm-websocket services.
OpenID Connect sign-in has been available since v7.3, as described in the OIDC docs. It supports provider groups mapped to EspoCRM teams, optional user creation on first login, backchannel logout through api/v1/backchannelLogout, and fallback login for admins only or for all users. Supported signing algorithms are RS256, RS384, RS512, HS256, HS384 and HS512. The client_secret_jwt and private_key_jwt methods are not supported. EspoCRM cannot act as an identity provider itself. LDAP covers Active Directory and OpenLDAP and needs the ldap PHP extension. Check provider claims against these limits during design.
Built-in two-factor authentication supports TOTP, email and SMS, as the 2FA docs describe. SMS needs the official SMS Providers extension, because EspoCRM ships without a provider. Built-in 2FA does not work with OIDC logins, so enforce 2FA at the identity provider and keep fallback login limited to administrators. For local accounts, EspoCRM's security recommendations advise a minimum password length of 10 characters, or 8 if 2FA is mandatory, mandatory 2FA for regular users, a shorter Auth Token Max Idle Time and an IP whitelist under Administration > Authentication > Access.
Roles set access per entity and action, at levels such as all, team or own records. Treat users with import access as privileged, since an import can change many records at once. Since v10.0, adminUpgrade is false by default, so UI upgrades are off. The adminExtensionUpload parameter is true by default, and adminUpgradeDisabled turns off both UI upgrades and UI extension installs. Version 10.1.0 added a UI action to deactivate all authentication tokens and a config parameter that controls whether admins can manage extensions. Review administrators and API users on a regular schedule.
Per the backup and restore docs, a manual backup archives the EspoCRM directory with tar and dumps the database named in data/config-internal.php with mariadb-dump or mysqldump. Take both together. That file holds the database credentials, so protect backups accordingly. For Docker, the guide provides backup-docker-container.sh, run on the host with sudo, and shows a host crontab entry that runs it daily at 1:00. Restore to a separate host to confirm records, attachments and cron work. Treat a backup as proven only after a restore test passes.
Who owns what when EspoCRM is in production
A small team can run EspoCRM, provided platform, configuration and data each have an owner.
Platform
- Run PHP, the web server, the database and cron.
- Upgrade with the CLI after staging tests.
- Disable preloading before upgrades and extension installs.
- Monitor scheduled jobs, email fetching and logs.
CRM administrators
- Own entities, layouts, formula and workflows.
- Manage roles, teams and portal users.
- Record every rule and its owner.
Data owners
- Merge duplicates and archive stale records.
- Approve imports and mass updates.
- Keep field definitions consistent across teams.
Security
- Review administrators and API users.
- Rotate API keys and HMAC secrets.
- Check who can export or import data.
EspoCRM implementation questions
How does an EspoCRM upgrade work?
Back up, check free disk space and enable Maintenance Mode, then run php command.php upgrade from the CLI as the web server user or root, as the upgrading guide advises. It does not recommend the UI method. Since v10.1, Maintenance Mode stops cron. Changes made in the administration panel should survive. Code customizations and extensions may break, so test on a staging copy and read the release notes.
What are the EspoCRM requirements and how does Docker installation work?
The docs list PHP 8.3 to 8.5 and MySQL 8.0 or later, MariaDB 10.6 or later or PostgreSQL 15. Release 10.1.0 dropped MariaDB 10.3 to 10.5. The Docker guide uses the espocrm image in apache, fpm and fpm-alpine variants plus a mariadb image, with volumes for data, custom and client/custom. The README also lists manual, script and Traefik installs.
EspoCRM or SuiteCRM?
EspoCRM is a single PHP application with a single-page interface, and its reports, workflows and BPM are sold separately in the Advanced Pack. SuiteCRM includes workflows and reports in its open-source core and runs its SuiteCRM 7 code as a legacy layer inside SuiteCRM 8. Compare both against your processes and team skills.
What does EspoCRM cloud pricing look like compared with self-hosting?
EspoCRM's pricing page, read 2026-12-04, lists cloud plans per user per month: Basic $15 (minimum 3 users), Enterprise $25 (minimum 5) and Ultimate $69 (minimum 10). All include the Advanced Pack, and the cloud admin cannot install extensions directly. Self-hosting has no per-user core fee, but you buy the packs and run the servers yourself.
How does EspoCRM OIDC SSO work?
OpenID Connect sign-in has been available since v7.3. It can create users on first login, map a group claim to teams and support backchannel logout. Fallback login can be limited to admins or opened to all users. EspoCRM's own 2FA does not apply to OIDC logins, so enforce 2FA at the identity provider. LDAP covers Active Directory and OpenLDAP.
How do I handle EspoCRM backup and restore?
Archive the EspoCRM directory with tar and dump the database named in data/config-internal.php, both in the same run. For Docker, run backup-docker-container.sh on the host. Protect the backups because that file holds database credentials. The quick revert option in the upgrade guide only swaps application folders, so it is not a full recovery. Prove restores on a separate host.
Can EspoCRM support SOC 2 or ISO 27001 readiness?
DeployOpen reviews roles, API users, hosting and change control, runs security testing and helps prepare evidence for SOC 2, ISO 27001, DORA or NIS2 readiness. DeployOpen does not issue audit reports or certifications.
Scope and handover
Effort depends on the number of teams and processes, custom entities, the packs in use, code and integrations, data volume and quality, and the number of users to train.
DeployOpen runs discovery, designs entities, layouts and the access model, builds formula, workflows and custom modules, integrates SSO, email and other systems, migrates data, deploys and hardens EspoCRM in your infrastructure and trains administrators and users.
Handover includes the data model and role matrix, the rule register, the repository for custom code, integration specifications, import mappings and counts, restore test results and the upgrade procedure.
Sources and further reading
- EspoCRM source repository (AGPL-3.0) ↗
- EspoCRM documentation ↗
- EspoCRM upgrading guide ↗
- EspoCRM OpenID Connect authentication ↗
- EspoCRM GitHub releases API ↗
- EspoCRM v10.0 announcement ↗
- EspoCRM 10.1.0 release notes ↗
- EspoCRM server configuration docs ↗
- EspoCRM Apache configuration docs ↗
- EspoCRM Docker installation docs ↗
- EspoCRM installation by script docs ↗
- EspoCRM WebSocket docs ↗
- EspoCRM backup and restore docs ↗
- EspoCRM performance tweaking docs ↗
- EspoCRM 2FA docs ↗

