Im making a custom extension - how do I load custom vendor files ?

Do I add them to my extension composer file or the global Magento one ?

I asking because I cant load Yaml.

In my extension composer:

"require": {
        "symfony/yaml": "^4.3@dev"

Yaml cant be found.

Do I need to include the autoload file from the vendor folder ?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.