this is my node .json composer (abbreviated)
{
"name": "acme/my-bundle",
"type": "library",
"version": "0.5.0",
"autoload": {
"psr-4": {
"Acme\\MyBundle\\": ""
}
}
}
and in my project:
"require": {
"acme/my-bundle": "dev-master"
},
then I started composer install, as a result, installed .json as
[
{
"name": "acme/my-bundle",
"version": "dev-master",
"version_normalized": "9999999-dev",
"type": "library",
"installation-source": "source"
}
]
and autoload-psr4.php:
<?php
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
);
startup has disappeared, as well as other keys such as require
What am I missing?
I also tried psr-0 but did not succeed. autoload_namespaces.php is just an empty array.
source
share