I am using the following steps to add Font Awesome plugin as a composer package: https://github.com/FortAwesome/wordpress-fontawesome
I run the
composer require fortawesome/wordpress-fontawesome command, and it correctly adds the package to the “require” list in composer.json. It is also adding the correct folder to the /vendor folder. My issue now is that it’s not adding the actual font-awesome folder to the /plugins folder, therefore i’m unable to activate the plugin. Has anyone had this issue? Anything i’m missing?
There is a step to add a ‘require_once’, but i’m unsure where this would go and/or what its purpose is.
require_once __DIR__ . '/vendor/fortawesome/wordpress-fontawesome/index.php';