php - Autoloading classes from my private repository included in Composer -


i've added own repository composer, download project. unfortunately composer doesn't take repository code under consideration while updating autoloading.

autoload_namespaces.php has many namespaces generated of them repository code. add namespaces in "autoloading" section in composer.json or add in php using autoloader9287463497853476 object solutions (ideologically equal) doesn't interest me.

how can force composer generate autoloading repository code also?

if add package using repository section of composer.json, sugest include there code autoload, used here:

"repositories": [    {       {             "type": "package",             "package": {                 "name": "brand/name",                 "type": "library",                 "version": "1.0.0",                 "dist": {                     "url": "file:///path-to-file.zip",                     "type": "zip",                     "reference": "xxxx"                 },                 "autoload": {"psr-0": { "name\\space\\": "dest-folder" }             },       }             } 

i hope helps.


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -

c# - String.format() DateTime With Arabic culture -