PHPackages                             tourze/symfony-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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. tourze/symfony-logger-bundle

ActiveSymfony-bundle[Logging &amp; Monitoring](/categories/logging)

tourze/symfony-logger-bundle
============================

1.0.1(6mo ago)01MITPHPCI passing

Since Nov 1Pushed 4mo agoCompare

[ Source](https://github.com/tourze/symfony-logger-bundle)[ Packagist](https://packagist.org/packages/tourze/symfony-logger-bundle)[ RSS](/packages/tourze-symfony-logger-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (22)Versions (3)Used By (0)

Symfony Request File Clean Bundle
=================================

[](#symfony-request-file-clean-bundle)

[English](README.md) | [中文](README.zh-CN.md)

[![Latest Version](https://camo.githubusercontent.com/59cd5502a3efa399b6073309de6aedd52f9c1e38209c0240d1dd903682394c74/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f75727a652f73796d666f6e792d726571756573742d66696c652d636c65616e2d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/symfony-request-file-clean-bundle)[![PHP Version](https://camo.githubusercontent.com/a513cbf15e7b023fbdc4abf61ba24fed2bcdcd45eecf8e8a4cf3d5a1c0d091ac/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f746f75727a652f73796d666f6e792d726571756573742d66696c652d636c65616e2d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/symfony-request-file-clean-bundle)[![Build Status](https://camo.githubusercontent.com/3c75cbf80739d3f42836bab035102123295320544fd5b4157e0fec7fc34b2780/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f746f75727a652f7068702d6d6f6e6f7265706f2f63692e796d6c3f6272616e63683d6d6173746572267374796c653d666c61742d737175617265)](https://github.com/tourze/php-monorepo/actions)[![Coverage Status](https://camo.githubusercontent.com/6ce0146325478eb7cebae4cc6139b2af2c161735dd0e3c6ff6802f2c5a708179/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f746f75727a652f7068702d6d6f6e6f7265706f3f7374796c653d666c61742d737175617265)](https://codecov.io/gh/tourze/php-monorepo)[![License](https://camo.githubusercontent.com/ea647a8a23207b8f8dcaee5c3c7691f912f184e3011341bc4b796af570fdb03d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f746f75727a652f73796d666f6e792d726571756573742d66696c652d636c65616e2d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/symfony-request-file-clean-bundle)[![Total Downloads](https://camo.githubusercontent.com/f98005fd09f3ea2ee6041529ed14ba33f0db44fcea36c61f99125c194bfd44d9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f75727a652f73796d666f6e792d726571756573742d66696c652d636c65616e2d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/symfony-request-file-clean-bundle)

A Symfony bundle that automatically cleans up temporary uploaded files after request completion in special environments where the system doesn't automatically remove them.

Features
--------

[](#features)

- Automatically removes temporary uploaded files after request completion
- Works with both array-style file uploads and UploadedFile objects
- High priority event listener ensures cleanup happens after all other processes
- Zero configuration required

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

[](#installation)

Install the bundle using Composer:

```
composer require tourze/symfony-request-file-clean-bundle
```

Quick Start
-----------

[](#quick-start)

There's no configuration required. The bundle automatically registers the event subscriber that handles the file cleanup after request termination.

If you're using Symfony Flex, the bundle will be automatically registered. If not, you need to add it to your `config/bundles.php`:

```
