Home > Mobile >  Problem with installing a Symfony project
Problem with installing a Symfony project

Time:01-21

When I make this command line : composer create-project symfony/skeleton my_project_directory , I have this error : [RuntimeException] require.beberlei/DoctrineExtensions is invalid, it should not contain uppercase characters. Please use beberlei/doc trineextensions instead.. I don't know how to fix it.

Please someone can help me ?

CodePudding user response:

Just read the error message, it explain how to fix it:

require.beberlei/DoctrineExtensions is invalid, it should not contain uppercase characters. Please use beberlei/doc trineextensions instead.

In your composer.json file, you have to lowercase beberlei/DoctrineExtensions to beberlei/doctrineextensions.

If you're not familiar whith Symfony, composer.json file is the file where you populate packages that your project require using composer (similar to package.json used by npm). More info at: Composer

CodePudding user response:

in composer.json file of your project just change "beberlei/DoctrineExtensions" by "beberlei/doctrineextensions" and you relaunch composer install

  •  Tags:  
  • Related