• Resolved trustalyze

    (@trustalyze)


    We’re working with the WooCommerce Rest API and we need to install the composer require automattic/woocommerce dependencies but can’t find any documentation on how to install this. I’m assuming it’s installed in the PHP installation. Can someone shed some light on how to install this and where? Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support con

    (@conschneider)

    Engineer

    Hi there,

    We’re working with the WooCommerce Rest API and we need to install the composer require automattic/woocommerce dependencies but can’t find any documentation on how to install this. I’m assuming it’s installed in the PHP installation. Can someone shed some light on how to install this and where?

    In general you open your terminal, navigate to the composer.json location and run the command: composer i. This will install dependencies in /vendors.

    Kind regards,

    After looking on the server, there are so many locations for composer.json. Other plugins plus cpanel has the file too so not sure where to run the “composer i”.

    Plugin Support con

    (@conschneider)

    Engineer

    Hi again,

    1. Where would composer.json be located on centos 7?

    Each project has their own composer.json. So it should always be in the project / plugin root.

    2. Would there be anything required to be installed in any wordpress folders?

    No. But composer needs to be installed on the server or the machine that is running the environment.

    Maybe this is also helpful: https://www.smashingmagazine.com/2019/03/composer-wordpress/

    AJ a11n

    (@amandasjackson)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Composer Require automattic/woocommerce’ is closed to new replies.