• paulsally

    (@paulsally)


    Hi everyone.

    I’m developing a website where I’m trying to use composer to manage my dependencies.

    The theme I’m using, which I bought from Envato, did install correctly using composer. It requires some plugins, such as Contact Form 7 which installed correctly.

    I changed my minimum-stability requirement to “dev” and added the “prefer-stable” clause but the package keeps not being found and trying to install it results in the following message:

    lando composer require "wpackagist-plugin/custom-fonts"     
                                                                                                                                                                                                                                        
      [InvalidArgumentException]                                                                                                                                                                                                        
      Could not find a matching version of package wpackagist-plugin/custom-fonts. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-stability (stable).  
                                                                                                                                                                                                                                        
    
    require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [<packages>]...

    I also tried:

    lando composer require "wpackagist-plugin/custom-fonts:@dev"

    How can I install Custom Fonts using composer?

    It does show correctly in wpackagist: https://wpackagist.org/search?q=custom-fonts

    Thanks!

  • The topic ‘Unable to install from wpackagist using composer’ is closed to new replies.