PHPackages                             gorgo13/database-snapshot-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. [Database &amp; ORM](/categories/database)
4. /
5. gorgo13/database-snapshot-bundle

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

gorgo13/database-snapshot-bundle
================================

v1.0.0(9y ago)03621WTFPLPHPPHP &gt;=5.4

Since Jul 1Pushed 9y ago2 watchersCompare

[ Source](https://github.com/inri13666/gorgo-database-snapshot-bundle)[ Packagist](https://packagist.org/packages/gorgo13/database-snapshot-bundle)[ Docs](http://platform.gorgo.in/database-snapshot)[ RSS](/packages/gorgo13-database-snapshot-bundle/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Oro Database Snapshot Bundle
============================

[](#oro-database-snapshot-bundle)

### Limitations

[](#limitations)

- Database user should have rights for DROP &amp; CREATE DATABASE
- PHP environment should allow to use "putenv" function

### Installation

[](#installation)

If you are using it within Oro Application, you should follow next manual

```
    composer require gorgo13/database-snapshot-bundle
    php app/console cache:clear

```

If you are using it not with Oro Products then you additionally must register bundle at `AppKernel`

```
class AppKernel extends AcmeKernel
{
    public function registerBundles()
    {
        $bundles = array(
            .....
            new \Oro\Bundle\DatabaseSnapshotBundle\OroDatabaseSnapshotBundle(),
        );

        return $bundles;
    }

    public function registerContainerConfiguration(LoaderInterface $loader)
    {
        $loader->load(__DIR__.'/config/config_'.$this->getEnvironment().'.yml');
    }
}

```

### Configuration

[](#configuration)

If you have custom paths for database engine binaries then you can override them at config

```
oro_database_snapshot:
    mysql:
        mysql: {PATH_TO_MYSQL_BINARY} # default "mysql"
        mysqldump: {PATH_TO_MYSQLDUMP_BINARY} # default "mysqldump"
    postgresql:
        dropdb: {PATH_TO_DROPDB_BINARY} # default "dropdb"
        createdb: {PATH_TO_CREATEDB_BINARY} # default "createdb"
        psql: {PATH_TO_PSQL_BINARY} #default "psql"

```

### CLI Commands

[](#cli-commands)

If your application have "Doctrine Bundle" then you able to use following commands

- `doctrine:connections` - displays the list of all registered connections within application
- `oro:database:snapshot:dump` - creates database snapshot for given connection with optional suffix
    - `connection` is connection name to be dumped (OPTIONAL, Default: null)
    - `id` is suffix for dump name (be used for restore command) (OPTIONAL, Default: current date)
- `oro:database:snapshot:restore` - restores database snapshot for given connection with optional suffix
    - `connection` is connection name to be dumped (OPTIONAL, Default: null)
    - `id` is suffix for dump name (be used for restore command) (OPTIONAL, Default: current date)

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

3285d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/75abdcaa05b077ff39155d3e281bd1c52dcce0e94b30da0b8927d40ce2ff8c52?d=identicon)[inri13666](/maintainers/inri13666)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/gorgo13-database-snapshot-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/gorgo13-database-snapshot-bundle/health.svg)](https://phpackages.com/packages/gorgo13-database-snapshot-bundle)
```

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k116.5M113](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[pgvector/pgvector

pgvector support for PHP

198628.3k10](/packages/pgvector-pgvector)

PHPackages © 2026

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