PHPackages                             kematjaya/backup-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. [File &amp; Storage](/categories/file-storage)
4. /
5. kematjaya/backup-bundle

ActiveLibrary[File &amp; Storage](/categories/file-storage)

kematjaya/backup-bundle
=======================

8.0.2(2mo ago)1807MITPHP

Since Aug 2Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/kematjaya0/backup-bundle)[ Packagist](https://packagist.org/packages/kematjaya/backup-bundle)[ RSS](/packages/kematjaya-backup-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (20)Versions (15)Used By (0)

backup-bundle for symfony 5
===========================

[](#backup-bundle-for-symfony-5)

- base on

1. installation

```
composer require kematjaya/backup-bundle
```

2. setting

```
## config/packages/backup.yaml

backup:
    name: postgresql
    location: '%kernel.project_dir%/var/backup'
```

3. add route ```
    # config/routes/annotations.yaml
    backup:
         resource: '@BackupBundle/Resources/config/routes.yaml'
    ```

    /view-backup-file.html to view and download backup file
4. usage ```
    php bin/console database:dump
    ```
5. insert event ```
    namespace App\EventListener;

    use App\Repository\BackupRepository;
    use Kematjaya\BackupBundle\Event\AfterDumpEvent;
    use Kematjaya\BackupBundle\Event\BackupEvents;
    use Symfony\Component\EventDispatcher\EventSubscriberInterface;

    /**
     * Description of BackupEventListener
     *
     * @author apple
     */
    class BackupEventListener implements EventSubscriberInterface
    {

        private BackupRepository $backupRepository;

        public function __construct(BackupRepository $backupRepository)
        {
            $this->backupRepository = $backupRepository;
        }

        public static function getSubscribedEvents():array
        {
            return [
                BackupEvents::AFTER_DUMP => "saveLog"
            ];
        }

        public function saveLog(AfterDumpEvent $evt):void
        {
            $this->backupRepository->create($evt->getFileName());
        }
    }
    ```

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance86

Actively maintained with recent releases

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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.

###  Release Activity

Cadence

Every ~109 days

Recently: every ~0 days

Total

13

Last Release

69d ago

Major Versions

1.1.1 → 2.02024-10-28

2.0 → 7.02025-02-17

7.0.1 → 8.02026-02-19

5.4.2 → 8.0.22026-03-10

### Community

Maintainers

![](https://www.gravatar.com/avatar/f2cf191329e1adc930a168a7d3baeda8517b7982184820692163a5baa72e3965?d=identicon)[kematjaya0](/maintainers/kematjaya0)

---

Top Contributors

[![kematjaya0](https://avatars.githubusercontent.com/u/36223951?v=4)](https://github.com/kematjaya0 "kematjaya0 (8 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kematjaya-backup-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/kematjaya-backup-bundle/health.svg)](https://phpackages.com/packages/kematjaya-backup-bundle)
```

###  Alternatives

[sylius/sylius

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

8.4k5.6M651](/packages/sylius-sylius)[sulu/sulu

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

1.3k1.3M152](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[liip/test-fixtures-bundle

This bundles enables efficient loading of Doctrine fixtures in functional test-cases for Symfony applications

1798.3M42](/packages/liip-test-fixtures-bundle)[sylius/resource-bundle

Resource component for Sylius.

23410.2M173](/packages/sylius-resource-bundle)

PHPackages © 2026

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