downloadInstallation

This guide covers installing mini-eric components for different use cases.

System Requirements

ceric/cotto Binary Requirements

PHP SDK Requirements

  • PHP: 8.3 or higher

  • PHP Extensions: dom, libxml, mbstring, simplexml

  • ERiC Binary: The ceric binary (included in the parent repository)

Installation Methods

The PHP SDK is the easiest way to get started as it includes the ceric binary and provides a clean object-oriented interface.

Install via Composer

Verify Installation

Method 2: ceric Binary Only

If you prefer to use the command-line tool directly or integrate it into non-PHP applications:

Download Binary

Binares are shared online from a secured server which required authentification.

circle-check

ERiC Libraries Setup

The ceric binary requires ERiC libraries to function. These must be placed in the correct directory structure:

Default Paths

  • PHP SDK: vendor/bin/eric-plugins/

  • Standalone ceric: bin/eric/plugins/

Custom Path

You can specify a custom ERiC plugins path:

Certificate Setup

For send and transmit operations, you need a valid ELSTER certificate:

Environment Variables

Set these environment variables:

Note: For complete environment variable configuration including all available variables, see Environment Variables.

Default Values

If not set, ceric will use these defaults:

  • Certificate: bin/eric/test-softorg-pse.pfx

  • PIN: 123456

circle-exclamation

Verification

Test your installation:

PHP SDK Test

CLI Test

Troubleshooting

Common Issues

Binary Not Found

Solution: Ensure the ceric binary exists and is executable. Check the path in your PHP SDK or specify the correct path.

ERiC Libraries Missing

Solution: Verify ERiC libraries are in the correct directory structure.

Certificate Issues

Solution: Check that your certificate file exists and the PIN is correct. Verify environment variables are set properly.

Getting Help

Next Steps

Last updated