Download the PHP package tacman/bedrock-civicrm without Composer

On this page you can find all versions of the php package tacman/bedrock-civicrm. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package bedrock-civicrm

Bedrock + CiviCRM

A Composer project template for a scriptable WordPress and CiviCRM installation, with Roots Bedrock for dependency management and a minimal Symfony front controller for application routes.

WordPress owns authentication. CiviCRM owns contacts, households, relationships, addresses, memberships, contributions, events, attendance, and mailing preferences. CiviCRM's native UFMatch synchronization connects WordPress users to their corresponding CiviCRM contacts.

Create a site

The committed .env contains documented, non-production defaults. Put database credentials, site-specific values, and secrets in the ignored .env.local:

For a self-contained local database, start the included MariaDB service. It binds only to 127.0.0.1:3307; PHP and the web server remain native:

The simple command uses the committed .env database defaults. If .env.local overrides those database values, pass both files to Compose in the same order used by the application:

Then install and start the site:

The installer is idempotent: it installs WordPress, activates the Ollie theme, installs CiviCRM's schema and components, and activates the CiviCRM plugin. The generated CiviCRM settings and all environment secrets remain outside Git.

Local demo with sample data

CiviCRM ships its own fixtures, so a demo site needs no invented seed script. Set the flag before the first install and you get the dataset behind CiviCRM's public demo — fake contacts, addresses, activities, contributions, events and memberships:

Then open /civicrm/contact/search and there are people in it.

This maps to loadGenerated on CiviCRM's setup model — the same switch the web installer offers as the Sample Data checkbox — which sources civicrm-core/sql/civicrm_generated.mysql (~1.6 MB). bin/install-civicrm.sh passes it through as cv core:install -m loadGenerated=1.

Two caveats, both upstream's:

Never set this on anything real: it writes fake people into the contact table.

What is included

The helper reads CiviCRM's native mapping. It creates no parallel table, WordPress user metadata, Symfony user entity, or Doctrine model.

Application boundary

Requests for /hello, /api, /api/health, and their /sf/* aliases are handled by Symfony. All other requests are handled by WordPress. This makes it possible to add narrow application or integration endpoints without coupling CiviCRM records to Symfony entities.

A future Grist connector should call CiviCRM APIv4 and treat CiviCRM contact IDs as its stable external identifiers. Grist should remain a workflow or reporting surface, not a second constituent system of record.

Requirements

If BCMath is installed as a separately loadable extension, set CIVICRM_BCMATH_EXTENSION in .env.local. Production should enable the extension normally.

Useful checks

Publishing as a project template

This repository is a Composer package with type: project and is published on Packagist, making the short composer create-project tacman/bedrock-civicrm ... command available. The repository is also marked as a GitHub template, so GitHub's Use this template button can create an independent application repository without carrying this repository's history.

This project builds on Roots Bedrock and follows CiviCRM's Composer installation guidance.


All versions of bedrock-civicrm with dependencies

PHP Build Version
Package Version
Requires php Version >=8.3
ext-bcmath Version *
civicrm/civicrm-asset-plugin Version ^1.2
civicrm/civicrm-core Version ^6.17
civicrm/civicrm-packages Version ^6.17
civicrm/civicrm-wordpress Version ^6.17
civicrm/cli-tools Version ^2026.03
composer/installers Version ^2.0
nanasess/bcmath-polyfill Version ^1.1
oscarotero/env Version ^2.0
roots/bedrock-autoloader Version ^1.0
roots/bedrock-disallow-indexing Version ^2.0
roots/wordpress Version ^7.1
roots/wp-config Version ^1.0
survos/bedrock Version ^2.24
symfony/framework-bundle Version 8.1.*
symfony/runtime Version 8.1.*
vlucas/phpdotenv Version ^5.0
wp-theme/ollie Version ^1.6
wp-theme/twentytwentyfive Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package tacman/bedrock-civicrm contains the following files

Loading the files please wait ...