When downloading an external private repository from bitbucket, the autoload of the package is not generated, namely the file in the root of the myFile.php repository.

composer.json:

 { "require": { "MyVendor/myRepo": "dev-master" }, "repositories":[ { "type":"package", "package":{ "name":"MyVendor/myRepo", "version": "dev-master", "source":{ "type":"git", "url":"git@bitbucket.org:MyVendor/myRepo.git", "reference":"dev-master" }, "autoload": { "files": ["myFile.php"] } } } ] } 

Closed due to the fact that off-topic party Nick Volynkin 8 Aug '16 at 9:08 .

It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reason:

  • "The question is caused by a problem that is no longer reproduced or typed . Although similar questions may be relevant on this site, solving this question is unlikely to help future visitors. You can usually avoid similar questions by writing and researching a minimum program to reproduce the problem before publishing the question. " - Nick Volynkin
If the question can be reformulated according to the rules set out in the certificate , edit it .

    1 answer 1

    For the new project autoload was tightened up normally. Apparently the problems were with the cache.