The composer does not copy the specified bin-dir directory

I had this problem sometimes, on windows, on mac, on ubuntu ...

I have this composer.json:

{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"require": {
    "laravel/framework": "4.2.*",
    "zizaco/confide": "~4.0@dev",
    "zizaco/entrust": "1.2.*@dev",
    "guzzlehttp/guzzle": "~4.0"
},
"require-dev": {
    "phpunit/phpunit": "4.1.4",
    "behat/behat": "3.0.12",
    "behat/mink": "1.5.0",
    "behat/mink-extension": "2.0.0",
    "behat/mink-goutte-driver": "1.0.9",
    "codeception/verify": "0.2.7",
    "codeception/specify": "0.3.6"

},
"autoload": {
    "classmap": [
        "app/commands",
        "app/controllers",
        "app/models",
        "app/database/migrations",
        "app/database/seeds",
        "app/tests/TestCase.php"
    ]
},
"scripts": {
    "post-install-cmd": [
        "php artisan clear-compiled",
        "php artisan optimize"
    ],
    "post-update-cmd": [
        "php artisan clear-compiled",
        "php artisan optimize"
    ],
    "post-create-project-cmd": [
        "php artisan key:generate"
    ]
},
"config": {
    "bin-dir": "bin/",
    "preferred-install": "dist"
},
"minimum-stability": "stable"

}

This is Laravel 4 with several testing packages.

After installing the composer or updating the composer, the bin directory is not created in my project.

I have to have one binary for phpunit and another for behavior. So I have to use commands like vendor / behat / bin / behat and vendor / phpunit / phpunit / phpunit which are pain.

Any idea why the binaries are not in the bin folder?

Yesterday, in some project with fewer packages, I had a binary folder with phpunit binary code. Now there is no. I do not understand.

+4
2

. , , vendor composer install.

+2
0

All Articles