Composer autoloading psr-4 not adding namespace to autoload_psr4.php -


I am using a custom repository in a project in github, which includes the set of my tools.

The project correctly imports the package within the / vendor directory, but I can not use any category, because it is not automatically loading the contents of the package.

My package composer.json file looks as follows:

}

e Instead of inside this project, composer. The JSON file looks as follows:

 "{{" ... "..." [...] ... "Magitroppo / Toolbox": "Dev-Master"}, "Repositories": [{"Type": "Package", "Package": {"Name": "Magitroppo / Toolbox", "Version": "Master", "Source": {"url": "https://github.com After compiling the composer, the final autoload_psr4.php, the composer dumps: /mygitrepo/toolbox.git "," type ":" git "," references ":" master "}}}]  

Looks like the following: "Mynamespace" has no trace of

  return array ('monolog' \ '' => Array ($ wik Sita Vendor / Monolog / Monolog / src / Monol '),' Ivory '\\ LuceneSearchBundle \\' => Array ($ Vendor Seller. / AGLN / Lucene-Search-Bundle), 'Facebook' '= & Gt; Array ($ seller vendor.' / Facebook / php-sdk-v4 / src / facebook '),);  

Any help?

Also applies here

Because you are providing a "Type: Package" entry in "Repositories", you are disabling the composer.json file in the package.

And there is no automatic loading defined in the definition of the package, so the package is not autolomeed at all.

Solution: Do not use the "Type: Package" entry for you that you have and file inside the Musician Json .


Comments

Popular posts from this blog

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -