Packaging SuiteCRM customizations with the Module Installer

Learn how teams ship SuiteCRM customizations between dev, staging and production as installable packages, and what to confirm before relying on the SuiteCRM module installer.

On this page

When a SuiteCRM module installer package beats manual copying

If customizations built on one SuiteCRM instance must reach staging and production, the module installer package is the mechanism to plan for, because hand copying files between environments is hard to repeat, hard to verify and hard to reverse. A package bundles the files and database changes for a customization into one unit that can be installed, tested and removed the same way on every instance. Core files are different: editing them directly means the change lives in code the upgrade process may overwrite, and nothing records what was changed or why. A package keeps the customization in its own declared footprint, which is what makes it movable.

The package format itself must be confirmed against the SuiteDocs for the exact version you run. The supplied facts do not describe the structure of a package, so do not assume the contents of manifest.php or the installdefs array from older SuiteCRM 7 examples or from memory. Check the SuiteDocs documentation for SuiteCRM 8 for the current packaging approach, and confirm with your own test instance which files, vardefs and language entries a package actually installs. Also confirm whether your target version uses the same mechanism as the 7.x line, since the two lines are documented separately.

Package versioning has to follow the release cadence. SuiteCRM 8.10.2 and SuiteCRM 7.15.2 were both published on July 31, 2026, and minor 8.x releases arrive roughly every eight weeks. Each package should record the core version it was built and tested against, so a package built for one minor release is retested before it is installed on the next. Plan a recurring retest after each core release, and confirm with the release notes whether any change affects the files your package touches, since patch releases are limited to security and bug fixes.

What a SuiteCRM package contains and who owns each part

A SuiteCRM package is a set of metadata, copied files and install steps that move one customization between environments. Each part has a different owner and a different failure mode, so the team should decide who maintains each one before the first package is built.

Manifest metadata

The manifest.php file identifies the package: its name, version, description and the SuiteCRM versions it supports. The version string is what administrators read when they compare environments, so it needs a numbering rule agreed in advance. The developer owns the compatibility claim, and it must match the target SuiteCRM 8.x minor release. Confirm the manifest keys and version comparison rules in the SuiteDocs reference for that release, and check the compatibility matrix for the PHP and database versions the package will run on.

Compatibility matrix

Installdefs copy and install steps

The installdefs array declares what is copied to which path and which install steps run in order. Each entry is a decision: a file placed under custom/ survives an upgrade, while a file placed in a core path is overwritten the next time core is updated. The developer owns the mapping, and the admin owns the choice to run the steps on each environment. Review every destination path and step type against the SuiteDocs reference for the target version before release, since supported entries change between releases.

Custom files, language and metadata

Most packages ship vardefs, language strings, layouts, logic hook definitions and scheduled tasks. The developer owns the content, but the admin owns the outcome in each environment, because a conflicting layout or label from a second package can hide the change. Keep each metadata file in one package and record which package owns it. The migration documentation warns that moving from SuiteCRM 7 to 8 may remove non-core files under the public/legacy folder, so any package that touches that folder needs a re-check before a migration.

Uninstall behavior

Uninstall removes what the package registered, but it does not automatically remove data that users created through the package. The team must decide whether copied files are deleted, whether database fields and records stay, and who approves removing them in production. Treat uninstall as a planned change with its own backup and staging test, not as a rollback button. Confirm which uninstall steps the target version supports and what the SuiteDocs reference says about data left behind, because support for uninstall differs between releases.

Versioning and promotion ownership

A package moves from development to staging and then to production, and each move needs an owner and a record. The developer keeps the package in source control with a version tag, while the platform team decides when a package is promoted. Staging should be a copy of production with the same SuiteCRM minor release, and production should receive a backup of files and database before any package is installed. Ask the partner to show how each release is tagged, tested and rolled back before work begins.

How a package moves from dev to production

The package starts on a dev instance, where a developer builds the customization and assembles it into a package with a manifest.php and its installdefs. It is installed first on staging, where regression and upgrade tests run. A failed test sends it back to dev rather than forward. Only a passing package reaches production, and a full backup of files and database must be taken first, because that backup is the boundary between environments and the point you return to if the install goes wrong.

Promotion path from dev to production, with the staging gate and the pre-install backup marked.

Which packaging approach fits which customization

This table compares five ways to change SuiteCRM, showing what each approach changes, whether it moves between instances, how it behaves on upgrade, and when it fits. Use it to match your customization to a method, then confirm each approach's behavior in your SuiteCRM version before you commit. The main takeaway is that a Module Installer package is the option built to ship tested changes from development to production as one unit.

ApproachWhat it changes and portabilityBehavior on upgradeWhen it fits
Studio changesFields, labels, layouts and relationships set in the admin UI. Moving them to another instance needs a package or copied custom files.Generally preserved. Confirm against the upgrade notes for your version.Admin-level field and layout changes on a single instance.
Module Builder exportsCustom modules, fields and layouts built in Module Builder and exported as a package for deployment.Maintained across upgrades when the package is kept current. Confirm with SuiteCRM's module documentation.New custom modules that must move between development, staging and production.
Module Installer packageA zip with manifest.php and installdefs that copies files and runs installation steps. Portable by design.Uninstall behavior depends on what installdefs declares. Test install, upgrade and uninstall on staging.Shipping tested changes from development to staging to production as one unit.
Extension frameworkFiles in custom/Extension directories that extend core vardefs, language strings and layouts without editing core files.Designed to survive core upgrades. Confirm coverage for each metadata type in your version.Long-lived add-ons that must coexist with core upgrades.
Manual core file editsDirect changes to core files on the server. No package captures them, so copying them is error-prone and hard to audit.Often overwritten or in conflict at upgrade, making this the highest rework risk.Rarely appropriate. Limit to a documented, temporary fix with a rollback plan.

How to set up a package pipeline for SuiteCRM

This sequence moves a SuiteCRM customization from a dev instance to production as a versioned package that has been tested against a copy of live data. Each stage ends with a check, so the team knows what changed and can restore the previous state if results differ from what was expected.

  1. Confirm the SuiteCRM version and installer path

    Record the exact SuiteCRM version on dev, staging and production, then confirm with your vendor or the SuiteCRM documentation which packaging path that version supports for your type of customization. Module Installer packages built around manifest.php and installdefs follow the classic installer model, so check that your target release still accepts them before any code is written. Output: a short compatibility note listing each environment's version and the installer path the team will use. Do not continue if the environments run different versions.

  2. Define a naming and versioning scheme

    Agree on a package name, a version number format and a rule for which environment a build may come from. Use the same name in manifest.php, in the zip file name and in the change log so that a package found on any server can be traced to one build. Record the SuiteCRM version and the customization set each package targets. Output: a written convention and a change log that the team approves before the first build. Every change after that gets a new version number.

  3. Build the package on a dev instance

    A developer makes the change on a dev instance using Studio, Module Builder or hand-written files, then exports the changed files into a package folder with a manifest.php and an installdefs array that lists every copied file, module and language entry. Keep the package limited to the customization itself, not to unmodified core files. Output: a zip archive, the manifest version and a diff of the package contents against a clean SuiteCRM install. A reviewer confirms that every file in the diff appears in installdefs.

  4. Install the package on a staging copy of production

    Restore a recent copy of production files and database to a staging instance, then install the package through the installer path confirmed in the first step. Match the PHP, web server and database versions to production so that results carry over. Before installing, record the module list and open a set of test records so the team has a baseline. Output: an install log with its errors noted and a before-and-after module list. The first install should happen on staging only.

  5. Verify fields, layouts and logic

    Compare the module list and the test records before and after the install. Check that new fields appear in edit, detail and list views, that subpanels and relationships still load, that logic hooks and workflows run on a test save, and that existing records keep their values. Use the same test script the team will run on production. Output: a signed checklist showing each test, its expected result and the observed result. Any failed check sends the package back to the build step.

  6. Back up files and database before production

    Schedule a production change window, then take a full backup of the file system and database immediately before the install. Restore that backup on a separate host to confirm it is usable, since a backup that has never been restored has not been tested. The SuiteCRM migration documentation also advises backing up files and database before significant changes, and the same discipline applies to package installs. Output: a backup record with a timestamp, a checksum and the restore test result.

  7. Install on production and record the result

    Install the same zip file that passed staging without rebuilding it, then run the verification checklist on production using a small set of test records. Record the package name, version, time, operator, staging and production checklist results, and any errors in the change log. Output: a closed change entry linking the package to each environment it reached. If a check fails, restore from the backup taken in the previous step and reopen the entry.

What uninstall and version bumps actually change

Test uninstall before any package reaches production, because removing a package can take custom fields, layouts and the data stored in them with it. Run the uninstall on a staging copy restored from a recent production backup, so you see the records users actually created. Afterward, check the field list in Studio, the edit, detail and list layouts, subpanels, and any dropdown values the package added. Compare record counts and open sample records that used the removed fields. Confirm in the SuiteCRM documentation for your release exactly what the uninstall reverses and what it leaves behind, since database columns and files may survive. Make the result a promotion gate: if the uninstall loses data users rely on, the package is not ready for production.

Bump the package version every time its metadata or files change, and treat that version as the record of what is installed on each instance. If two different builds share a version number, nobody can tell which one is running where. Keep the package version separate from the SuiteCRM version, and note in your release record which core release the package was tested against. Core patch releases in the 8.x line contain only security and bug fixes, with no new features or database changes, so a patch should not alter the schema your package depends on. A bug fix can still change behavior the package relies on, so run a smoke test after each patch. Minor 8.x releases arrive roughly every eight weeks and can change more, so plan a full install and uninstall retest against each one. Check the SuiteCRM LTS and release lifecycle page for the current support status of each line.

Treat any package that touches the public/legacy folder as a special case. The SuiteCRM migration documentation warns that a migration may remove non-core files under that folder, so a package that writes files there can lose them, and you should not assume the installer will flag the loss. Before a migration, list every file the package places under that folder and confirm each one against the documentation for your target release. Decide whether each file should move to a supported extension location or be reinstalled after the migration. Run the package install on the staging migration and compare the resulting file list with your inventory. Review the SuiteCRM migration guide for your source and target versions before you set the cutover plan.

How dev, staging and production each use packages

Developers and admins build packages in a development instance, where a package is created, changed and reinstalled many times. The owner is usually the person who wrote the change, working under the direction of the platform owner who decides what enters a release. Because the package is rebuilt often, the reinstall cycle should be quick and repeatable, and it should start from a known state each time.

  • Owner: the developer or admin who wrote the change, with the platform owner approving contents before a build is labeled for staging.
  • Manifest check: confirm the manifest.php and installdefs entries list every file the change touches, and nothing else.
  • Clean install: install the package on a fresh copy of the dev instance, not on one that already contains earlier test changes.
  • Versioning: increase the package version on every build that leaves the dev machine so staging and production can tell builds apart.
  • Uninstall test: run the uninstall in dev and review what it removes, since leftover files and database changes are where packages most often cause problems later.

Rollback in dev is a rebuild from source control, not a restore of a live system. Confirm that approach in your own environment before relying on it.

Securing the package path from build to production

A package carries code, configuration and sometimes login settings into production in one step, so it needs the same controls as any other release. The four risks below cover what goes into a package, who wrote it, who can install it, and what it changes about sign-in.

Secrets and hard-coded credentials

A package is a plain archive that often ends up in a repository, a ticket or a shared drive, so any password, API key or database credential placed in a file or script inside it is exposed to everyone who can read that copy. Keep credentials out of the package entirely and have the install step read them from the environment or your secret store at deploy time. Before each build, search the package contents for key-like strings and review the manifest and any PHP or config files. Confirm how your team rotates a credential that was ever packaged.

Unreviewed code from outside the team

Contractors, add-on authors and downloaded examples can all contribute files that run with the same privileges as your own code once installed. Require a documented code review of every file the package copies into the SuiteCRM instance, including any logic hooks and scripts, before the package is built. Compare the file list against what the change request describes, and flag any file that the request does not explain. Record the reviewer and the reviewed version in the change record.

Broad access to the production install step

Whoever can run the installer on production can change the application, its database and its files, so install rights should be narrower than developer rights. Limit production installation to a named group, use separate accounts for building and deploying, and require approval before each install. Keep the installer off public paths once the change is complete, and confirm your web server does not expose the package folders. Review who holds this access each time staff change roles.

Packages that change sign-in settings

A package that alters the authentication type, such as switching to LDAP with AUTH_TYPE=ldap or to SAML with AUTH_TYPE=saml, can lock users out or open a weaker sign-in path. Treat any change to these settings as a separate, high-risk change with its own approval and a tested rollback. Test the sign-in flow on staging with a non-admin account and confirm that the identity provider settings match the target environment. Check the SAML logout limitation in SuiteCRM 8.7.0 and later before you promise users a single sign-out.

SAML configuration reference

Questions teams ask before packaging SuiteCRM customizations

How much effort does a SuiteCRM package pipeline take to set up?

Effort depends mainly on how many customizations you ship, how many environments the packages must pass through, and how deep your testing goes. A team with a handful of Studio changes and one staging copy has a much smaller job than a team shipping custom modules, logic hooks and extension files across development, staging and production. Each customization needs its manifest entries, install and uninstall steps, and a version number, so the count of items matters more than any single change. Test depth adds time in two places: repeated install and uninstall runs on a clean copy, and checks that existing data and layouts still behave after an upgrade. Ask any partner to break its estimate down by these three drivers, not by a single total.

Can our own team package SuiteCRM customizations without outside help?

Yes, a team can do this in-house if it has someone comfortable with PHP, the SuiteCRM Module Installer format and command-line work, plus someone who understands the business rules being shipped. The skills that usually take longest to build are not the file syntax but the uninstall behavior, the handling of data that a package creates, and the habit of testing installs against a copy of production. Your team should also be able to read SuiteCRM release notes and plan upgrades, since packages must match the version they run on. If those skills are thin, a fixed-scope engagement can design the pipeline and hand over the packages and runbook so your staff can operate them.

What does the work need from our side?

The work needs four things from your side: staging copies of the SuiteCRM instance that match production closely enough to test installs, current backups of files and the database that someone can restore from, a named technical contact who can grant access and answer questions about each customization, and a named approver who signs off on each package before it reaches production. Without the approver, packages tend to reach production with unclear ownership. Confirm also who controls the SuiteCRM version and whether any custom files live outside the normal folders, because those affect what the package must capture.

How long does a first package take to design and verify?

The time for a first package depends on the number of customizations included, how many of them touch core or shared metadata, how many environments must be proven, and how many install and uninstall cycles the team agrees to run before release. Customizations that only add a new field or layout are simpler to verify than changes that alter vardefs, language strings or scheduled tasks, because those can interact with other add-ons. Ask for the schedule to show design, build, test cycles and sign-off as separate blocks so you can see which driver is consuming time.

What should we ask for in a quote for packaging work?

Ask for a written scope that names the SuiteCRM version and the target versions for future upgrades, the list of customizations to be packaged, the environments involved (development, staging and production), and the number of install and uninstall test cycles. The quote should also state what is delivered: the package files, a runbook for installing and removing each package, version notes, and the test evidence. Ask whether a retest is included after fixes, and what happens if a later SuiteCRM minor release changes the behavior of a packaged customization. Quotes that cannot answer these points are harder to compare.

What goes wrong when packages are installed in production?

The most common failures are packages built on one SuiteCRM version and installed on another, customizations that were changed directly in production and never captured in the package, and uninstall steps that leave behind fields, language strings or scheduled tasks. Packages can also conflict with add-ons that change the same vardefs or layouts. Guard against these by building from a clean version-controlled source, running install and uninstall on a copy of production before each release, and keeping a tested backup so a failed install can be reversed.

Does packaging change our SuiteCRM license or support terms?

Packaging your own customizations does not change the license of the SuiteCRM core, which for the SuiteCRM 8 core repository is the GNU Affero General Public License version 3. Your customizations are typically yours to govern, but confirm how any third-party add-ons you bundle are licensed before you redistribute them between environments. Support terms are a separate question: SuiteCRM Ltd sells support packages such as SuiteASSURED, and whether a vendor will support a customized instance depends on that vendor's terms, so confirm them directly.

Limits to confirm in your SuiteCRM environment

A package plan only holds if the installer path, the PHP and database versions, the migration route and the release line all match your environment. The cards below list the points to confirm before you write the first manifest, since each one can change how packages are built, tested and carried forward.

Installer path for your 8.x version

Confirm that the Module Installer path and the manifest format you plan to use apply to the SuiteCRM 8 version you run in production. Packages are tied to the core version they were built against, so a manifest written for one minor release may behave differently on another. Read the installation and packaging section in SuiteDocs for your exact version and test the install on a staging copy first. Note the version your staging and production instances must share before you ship.

SuiteDocs migration docs

PHP and database versions

Check your target runtime against the compatibility matrix before you test a package. For SuiteCRM 8.10, the supported PHP versions are 8.2, 8.3 and 8.4, the MariaDB versions are 10.6, 10.11, 11.4 and 11.8, and the MySQL versions are 8.0 and 8.4, all on Linux, Unix or macOS with Apache 2.4. A package that installs cleanly on one database version can still fail a schema change on another, so run the install test on the same engine and PHP version as production.

Compatibility matrix

Packages across the 7 to 8 migration

Confirm whether your packages can move with the data during a SuiteCRM 7 to 8 migration. Migration is documented as a new SuiteCRM 8 environment with data moved into it, not an in-place upgrade, so SuiteCRM 7 package files do not carry over automatically. Plan to rebuild each customization as a SuiteCRM 8 package. The migration docs also warn that non-core files under the public/legacy folder may be removed, so list any package files that live there.

Before you migrate

Extended support line for 7.15

If you keep SuiteCRM 7 running for a period, confirm how the extended support line affects your package plan. SuiteCRM 7.15 receives security fixes until January 2028, but the packaging rules and module installer behavior belong to the 7 codebase, so any package you build for it will not run on 8.x. Decide whether packages for 7.15 are a short-term bridge or a temporary measure, and confirm with SuiteCRM what support covers for custom packages.

SuiteCRM LTS page

Features tied to a minor release

Some package features may depend on a specific 8.x minor release, so confirm each one against the release notes before you rely on it. SuiteCRM minor releases arrive roughly every eight weeks, and patch releases contain only security and bug fixes with no new features or database changes. Record the minor version each package was tested on, and plan a retest when you move to a later minor release, since a new minor version may change how an installed package behaves.

SuiteCRM-Core releases

How DeployOpen works on this

DeployOpen approaches SuiteCRM packaging as part of the customization work itself, so each package is defined before anyone builds it. We plan which changes ship in a package, confirm the packaging format for your SuiteCRM version, and test install, upgrade and uninstall on staging before production. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.

How we scope

  • The written scope names each customization that will ship in a package and the SuiteCRM version it targets.
  • Scope lists package contents, expected install, upgrade and uninstall behavior, and the staging environments used for testing.
  • Most engagements are fixed-scope, and ongoing support for later package releases can be added as a retainer.

How we build

  • Package definitions are built from version-controlled source so every release can be rebuilt and compared later.
  • Install, upgrade and uninstall paths are tested on a staging copy of your SuiteCRM instance before production.
  • Customizations that touch core files are reviewed and moved to supported extension points where the version allows.

How we hand over

  • Deliverables include the package files, a release procedure, and a record of the SuiteCRM versions each package targets.
  • Runbooks cover installing, rolling back and removing each package, with the checks to run afterward.
  • Your team receives the source, build steps and test results needed to ship later packages on its own.

How we support

  • Retainers can cover new package releases when SuiteCRM changes behavior that your packages depend on.
  • Packages can be retested against each planned SuiteCRM upgrade before that upgrade reaches production.
  • Ask any provider to confirm how packages behave on your exact SuiteCRM version before accepting the scope.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.