Closed Kocal closed 6 years ago
I'm not as familiar with Symfony Flex, but from what I've read, don't you need to be in a project directory that has symfony/flex
installed in the composer dependencies for this to work?
I don't believe this is a global feature, but rather a project specific feature.
Homestead does not contain Symfony Flex by default so you would need to install it before usage. I'll see about adding it to https://github.com/laravel/settler
According to https://symfony.com/doc/current/setup/flex.html you should add flex as a dependency in your application's composer.json
so I don't believe there's anything to do for Homestead here.
Well, to be honest I'm not even sure that I am running composer inside the good directory...
I'll tell you that when I'll be at home.
...
That was actually that. I didn't run composer inside the code directory, I needed to run cd code
before...
It's working perfectly now, sorry for wasting your time, thanks!
Versions
Host operating system
Debian 9.4 (stretch), with Linux 4.9.0-6-amd64.
Homestead.yaml
Vagrant destroy & up output
https://gist.github.com/Kocal/fffa6fd8622f6e28cd30d0c4d930a0ad
Expected behavior
With the Composer Flex Symfony Flex, I can require dependencies by using Symfony recipes.
This is what happens when I require a Symfony recipe outside Homestead VM:
Actual behavior
Symfony Flex do not seems to be "registered" as composer plugin, and so I can't use short notations to require Symfony recipes.
Steps to reproduce
composer req maker
maker
is not found.When running
vagrant up
, there is this output at the very end. Is this related?Thanks!