Download the PHP package tourze/symfony-rotate-profile-storage-bundle without Composer
On this page you can find all versions of the php package tourze/symfony-rotate-profile-storage-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tourze/symfony-rotate-profile-storage-bundle
More information about tourze/symfony-rotate-profile-storage-bundle
Files in tourze/symfony-rotate-profile-storage-bundle
Package symfony-rotate-profile-storage-bundle
Short Description A Symfony bundle that provides automatic rotation and cleanup for Symfony Profiler storage files to prevent disk space issues
License MIT
Informations about the package symfony-rotate-profile-storage-bundle
Symfony Rotate Profile Storage Bundle
中文
A Symfony bundle that provides automatic rotation and cleanup for Symfony Profiler storage files to prevent disk space issues.
Installation
Quick Start
This bundle automatically decorates the default Symfony profiler storage and provides automatic cleanup of old profiler files when the number of profiles exceeds a configurable limit.
Basic Usage
- Install the bundle via Composer
- The bundle will automatically register itself in your Symfony application
- Configure the rotation settings (optional)
Configuration
You can configure the rotation behavior using environment variables:
Features
- Automatic Rotation: Automatically cleans up old profiler files when the limit is reached
- Configurable Limits: Set custom limits for the number of profiles to keep
- Transparent Integration: Works seamlessly with existing Symfony profiler functionality
- Error Handling: Gracefully handles cleanup errors without affecting application performance
Example
How It Works
The bundle uses a decorator pattern to wrap the default Symfony profiler storage:
- When a new profile is written, it checks the current number of stored profiles
- If the count exceeds the configured limit, it triggers a cleanup
- The cleanup process removes old profiler files to free up disk space
- All operations are delegated to the original storage implementation
Requirements
- PHP 8.1 or higher
- Symfony 7.3 or higher
License
This bundle is released under the MIT License. See the LICENSE file for details.
All versions of symfony-rotate-profile-storage-bundle with dependencies
knplabs/knp-menu Version ^3.7
symfony/config Version ^7.3
symfony/dependency-injection Version ^7.3
symfony/framework-bundle Version ^7.3
symfony/http-foundation Version ^7.3
symfony/http-kernel Version ^7.3
symfony/property-access Version ^7.3
symfony/twig-bundle Version ^7.3
symfony/validator Version ^7.3
symfony/yaml Version ^7.3
tourze/bundle-dependency Version 1.*
tourze/easy-admin-menu-bundle Version 1.0.*