PHPackages                             virtua/shopware-app-logger-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. virtua/shopware-app-logger-bundle

ActiveSymfony-bundle

virtua/shopware-app-logger-bundle
=================================

Add basic logger for Shopware application

1.0.4(3y ago)0951MITPHPPHP &gt;=8.0

Since Jun 24Pushed 3y agoCompare

[ Source](https://github.com/VirtuaPL/ShopwareAppLogger)[ Packagist](https://packagist.org/packages/virtua/shopware-app-logger-bundle)[ RSS](/packages/virtua-shopware-app-logger-bundle/feed)WikiDiscussions main Synced today

READMEChangelog (4)Dependencies (2)Versions (8)Used By (0)

Virtua Shopware App Logger
==========================

[](#virtua-shopware-app-logger)

### Description

[](#description)

This bundle contains fully functional logger for Shopware Applications.

---

### Requirements

[](#requirements)

- PHP &gt;= 8.0
- Symfony 6
- ShopwareShop Entity

---

### Installation

[](#installation)

- Add bundle repository to composer.json

```
"virtua/shopware-app-logger-bundle": "^1.0"
```

- Add bundle to bundles.php

```
Virtua\ShopwareAppLoggerBundle\VirtuaShopwareAppLoggerBundle::class => ['all' => true]
```

- Add bundle routes to routes.yaml

```
shopware_app_logger_bundle_routes:
    resource: "@VirtuaShopwareAppLoggerBundle/Resources/config/routes.yaml"
```

- Create new file `config/packages/virtua_shopware_app_logger.yaml`, with data:

```
imports:
    - { resource: '@VirtuaShopwareAppLoggerBundle/Resources/config/config.yml' }
```

- Run migrations `bin/console doctrine:migrations:migrate`

---

### Usage

[](#usage)

\#####Writing This bundle is fully functional right after installation. To create new log, use **log()** method from **Logger** service. As a paremeter you have to provide **LoggerData** object, which can be found in **Util** directory.

Example log() usage:

```
use Virtua\ShopwareAppLoggerBundle\Service\Logger;
use Virtua\ShopwareAppLoggerBundle\Util\LoggerData;

/* ... */

public function __construct(Logger $logger)
{
	$this->logger = $logger;
}

/* ... */

public function exampleFunction(): void
{
	$loggerData = new LoggerData($shopId);
	$loggerData->setErrorMessage("Your error message");
	$loggerData->setErrorCode(404);   //This is optional, default code is 400
	$this->logger->log($loggerData);
}
```

\#####Reading Logs are displayed in **/logs/list/{shopId}** route, implemented in **AppLoggerController**To add this into menu in your Shopware, you need to add new **module** in your **app** **manifest**.

Example module in manifest.xml:

```

    Logs
    Logs
    Logi

```layed in **/logs/list/{shopId}** route, implemented in **AppLoggerController**
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.3% 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.

###  Release Activity

Cadence

Every ~3 days

Total

4

Last Release

1404d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/733635e9750b8cd7df153ab74a5107beb6af04e2f26eb103fb32e9dab0565986?d=identicon)[virtua](/maintainers/virtua)

---

Top Contributors

[![WalosikVirtua](https://avatars.githubusercontent.com/u/99718525?v=4)](https://github.com/WalosikVirtua "WalosikVirtua (14 commits)")[![k-raputa](https://avatars.githubusercontent.com/u/29380929?v=4)](https://github.com/k-raputa "k-raputa (1 commits)")

### Embed Badge

![Health badge](/badges/virtua-shopware-app-logger-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/virtua-shopware-app-logger-bundle/health.svg)](https://phpackages.com/packages/virtua-shopware-app-logger-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M646](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[scheb/2fa

Two-factor authentication for Symfony applications (please use scheb/2fa-bundle to install)

578630.7k1](/packages/scheb-2fa)[contao/core-bundle

Contao Open Source CMS

1231.6M2.3k](/packages/contao-core-bundle)

PHPackages © 2026

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