---
title: "Discussion on \"Symfony and Doctrine: Unrecognized options “dir_name, namespace” under “doctrine_migrations”.\" | Hashnode"
description: "Discussion on \"Symfony and Doctrine: Unrecognized options “dir_name, namespace” under “doctrine_migrations”.\". Problem\nYour current version of Symfony is 5.0 and your version of Doctrine Migrations Bundle is 2.* and you run composer update\nYou will most likely get the following error when trying to update composer packages:\nUnrecognized options \"dir_name, nam..."
url: "https://hashnode.com/posts/symfony-and-doctrine-unrecognized-options-dirname-namespace-under-doctrinemigrations/5f212fbbed20ff21a11e7f4d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Symfony and Doctrine: Unrecognized options “dir\_name, namespace” under “doctrine\_migrations”.](https://nikolastojiljkovic.hashnode.dev/symfony-and-doctrine-unrecognized-options-dirname-namespace-under-doctrinemigrations?utm_source=hashnode&utm_medium=feed)

Problem Your current version of Symfony is 5.0 and your version of Doctrine Migrations Bundle is 2.\* and you run composer update You will most likely get the following error when trying to update composer packages: Unrecognized options "dir\_name, nam...

Jul 29, 2020 · 2 min read · nikolastojiljkovic.hashnode.dev  
Read the article

-   [#php](https://hashnode.com/tag/php)
-   [#symfony](https://hashnode.com/tag/symfony)
-   [#composer](https://hashnode.com/tag/composer)

## Written by

[Nikola Stojiljković](https://hashnode.com/@nikolastojiljkovic)

@nikolastojiljkovic · Belgrade, Serbia

  
[View profile](https://hashnode.com/@nikolastojiljkovic)

Tech enthusiast currently working as a Symfony developer, devops engineer and server administrator in e-commerce and advertising domains.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
