Doctrine: generate: entities and vendor packages

I am trying to organize my project with basic code and external links as plugins for a basic project.

I have already registered the packages with packagist, and the "composer.phar install" command works as expected. The autoloader also works as expected, so everything is fine, but the php console doctrine: generate: entities ACSACSPanelDynHostBundle command does not work at all. It returns the following message:

[RuntimeException]                                                                                                                                                   
Can't find base path for "ACSACSPanelDynHostBundle" (path: "/var/www/acspanel/vendor/acs/paneldynhost", destination: "/var/www/acspanel/vendor/acs/paneldynhost").

I tried using psr-4 in composer.json to define a namespace, but it does not work either. I would like to know how to use console commands correctly with my vendor packages.

The code of my linker composer.json:

{
        "name": "acs/paneldynhost",
        "description": "Dynhost service creation for ACSPanel",
        "keywords": ["dynamic domain","acspanel"],
        "type": "
        "autoload": {
            "psr-4": { "ACS\\ACSPanelDynHostBundle\\": "" }
        },
        "require": {
            "php": ">=5.3.3"
        },
        "require-dev": {
            "phpunit/phpunit": "3.7.*"
        }
    }
+3
source share

All Articles