PHPackages                             ccetc/error-report-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. ccetc/error-report-bundle

ActiveSymfony-bundle

ccetc/error-report-bundle
=========================

Symfony bundle for collecting simple error reports from users.

19PHPCI failing

Since Apr 19Pushed 12y agoCompare

[ Source](https://github.com/CCETC/CCETCErrorReportBundle)[ Packagist](https://packagist.org/packages/ccetc/error-report-bundle)[ RSS](/packages/ccetc-error-report-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

CCETCErrorReportBundle - README
===============================

[](#ccetcerrorreportbundle---readme)

Provides an interface for the submission of simple text+e-mail "error reports". Used on all front and back ends of CCETC web applications.

Features
--------

[](#features)

A simple error report form with matching SonataAdmin class. Error Reports consist of email or a user relation, a single block of text, date reported, request-&gt;server attribute, and spam and opened booleans for processing.

An e-mail is sent to `ccetc_error_report.support_email` every time a report is submitted.

The report form provides a mailto link to this same address with a subject of `ccetc_error_report.direct_email_subject`.

The bundle includes a simple help page with the form embedded.

The form can be rendered in any template (frontend/backend/error pages), but all submissions routes to the help page.

Installation
------------

[](#installation)

Add to composer:

```
    "ccetc/error-report-bundle" : "dev-master"

```

Install assets:

```
    bin/vendors install

```

Config
------

[](#config)

Add the following lines to your services config.yml:

```
	ccetc_error_report:
	  support_email: haggertypat@gmail.com
	  direct_email_subject: Template+Error+Report

```

#### Options

[](#options)

- support\_email - email used to error report notices, and for the direct e-mail link on the form
- subject for the direct e-mail link (default: Error Report)

Add the user side of the report/user relation to your user class:

```

```

Use
---

[](#use)

### Help Pages

[](#help-pages)

To include "help pages" define routes:

```
    adminHelp:
            pattern: /adminHelp
            defaults: { _controller: CCETCErrorReportBundle:ErrorReport:errorReport, usePageHeader: true, flash: sonata_flash_success, redirect: sonata_admin_dashboard, baseLayout: SonataAdminBundle::standard_layout.html.twig, formRoute: adminHelp }

    frontendHelp:
            pattern: /help
            defaults: { _controller: CCETCErrorReportBundle:ErrorReport:errorReport, usePageHeader: false, flash: my_message, redirect: home, baseLayout: "::my_layout.html.twig", formRoute: frontendHelp }

```

#### Route Options

[](#route-options)

- usePageHeader: if true, the "Help" heading will be placed in the `page_header` block. Otherwise, the heading will go at the top of the content block. Default: false
- flash: name of the flash for the success message. Default: message
- redirect: route to redirect to on success. Default: home
- baseLayout: the layout to extend
- formRoute: the route of your help page, used to redirect on errors. Default: help

*Note*: the base layout that the error report form extends *must* have a block called "stylesheets" and a block called "content"

### Template Embedding

[](#template-embedding)

You can emped the form in a template, provied you have a "help" route defined to process it. If there are errors, the users will be redirected to help page to finish their submission. To include the form in a template:

```
    {% render "CCETCErrorReportBundle:ErrorReport:errorReportForm" with {
        'formRoute' : 'help',
        'formText' : 'Please tell us about this error.'
    }%}

```

#### Options

[](#options-1)

- formRoute: the route of your help page, used to redirect on errors. Default: help
- formText: the text displayed above the form before the direct e-mail link. Default: "Having trouble with somthing?

Documentation
-------------

[](#documentation)

All ISSUES, IDEAS, and FEATURES are documented on the [trello board](https://trello.com/board/errorreportbundle/4f9014c7c9fa68b12a0cdb13).

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/2ef82874e65724eba9db81ed732aa8d8902e1f334bab79d1191b89af8fbab563?d=identicon)[somewherethere](/maintainers/somewherethere)

---

Top Contributors

[![haggertypat](https://avatars.githubusercontent.com/u/867821?v=4)](https://github.com/haggertypat "haggertypat (50 commits)")

### Embed Badge

![Health badge](/badges/ccetc-error-report-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/ccetc-error-report-bundle/health.svg)](https://phpackages.com/packages/ccetc-error-report-bundle)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
