I use PHPUnit for testing and development only, I don't want my app to autoload them in production server, is it possible?
"require-dev": {
"phpunit/phpunit": "4.2.*",
..
I see the file "autoload_classmap.php" contains lines such as..
return array(
'File_Iterator' => $vendorDir . '/phpunit/php-file-iterator/File/Iterator.php',
'File_Iterator_Facade' => $vendorDir . '/phpunit/php-file-iterator/File/Iterator/Facade.php',
Updated:
I want a clean production env and don't want to autoload phpunit, I only need phpunit during development. So, can composer generate two autoload.php so I can include them depending on my current env?