PHPackages                             dantleech/phpcr-migrations-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. dantleech/phpcr-migrations-bundle

Abandoned → [phpcr/phpcr-migrations-bundle](/?search=phpcr%2Fphpcr-migrations-bundle)ArchivedLibrary[Utility &amp; Helpers](/categories/utility)

dantleech/phpcr-migrations-bundle
=================================

PHPCR migrations bundle

1.3.0(4y ago)501.1M↓15%5[3 PRs](https://github.com/dantleech/phpcr-migrations-bundle/pulls)20MITPHPPHP ^7.2 || ^8.0

Since Apr 29Pushed 2y ago3 watchersCompare

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

READMEChangelog (3)Dependencies (13)Versions (6)Used By (20)

PHPCR Migrations Bundle
=======================

[](#phpcr-migrations-bundle)

This library provides a Symfony integration for the [PHPCR migrations library](https://github.com/dantleech/phpcr-migrations).

This version has been archived
==============================

[](#this-version-has-been-archived)

This bundle has been renamed to [phpcr/phpcr-migrations-bundle](https://github.com/phpcr/phpcr-migrations-bundle). We recommend to update your dependencies to get the latest version.

`dantleech/phpcr-migrations-bundle` will remain available to not break existing installations, but is no longer maintained.

Configuration
-------------

[](#configuration)

Configure the path to your migrations:

```
# app/config.yml
phpcr_migrations:
    paths: [%kernel.root_dir%/phpcr-migrations]
```

Or the bundle will automatically pick up any migrations in the `Resources/phpcr-migrations` folder in any bundles registered in the kernel.

Creating migrations
-------------------

[](#creating-migrations)

First create two new migration files:

```
