Wp plugin search (WP-CLI)

Uit De Vliegende Brigade
Naar navigatie springen Naar zoeken springen

Keyword search in the online plugin library maintained by WordPress.org. Max. 100 hits will be returned

$ wp plugin search

   <search>                  The string to search for.

   [--page=<page>]           Optional page to display.
                             default: 1

   [--per-page=<per-page>]   Optional number of results to display.
                             default: 10
   [--field=<field>]         Prints the value of a single field for each plugin.
   [--fields=<fields>]       Ask for specific fields from the API. Defaults to name,slug,author_profile,rating. Acceptable values:

    name: Plugin Name
    slug: Plugin Slug
    version: Current Version Number
    author: Plugin Author
    author_profile: Plugin Author Profile
    contributors: Plugin Contributors
    requires: Plugin Minimum Requirements
    tested: Plugin Tested Up To
    compatibility: Plugin Compatible With
    rating: Plugin Rating
    num_ratings: Number of Plugin Ratings
    homepage: Plugin Author’s Homepage
    description: Plugin’s Description
    short_description: Plugin’s Short Description 

[--format=<format>]          Render output in a particular format.

    default: table
    options:
    – table
    – csv
    – count
    – json
    – yaml

Example: WooCommerce VAT-plugin

$ wp plugin search woocommerce-eu-vat-number --per-page=100

Success: Showing 48 of 48 plugins.
+-----------------------------------------------------+-----------------------------------------------------+--------+
| name                                                | slug                                                | rating |
+-----------------------------------------------------+-----------------------------------------------------+--------+
| WooCommerce PDF Invoices, Packing Slips, Delivery N | print-invoices-packing-slip-labels-for-woocommerce  | 96     |
| otes and Shipping Labels                            |                                                     |        |
| WooCommerce EU VAT Assistant                        | woocommerce-eu-vat-assistant                        | 100    |
| EU/UK VAT Compliance Assistant for WooCommerce      | woocommerce-eu-vat-compliance                       | 96     |
| Germanized for WooCommerce                          | woocommerce-germanized                              | 96     |
| Booster for WooCommerce                             | woocommerce-jetpack                                 | 92     |
| Shop as Client for WooCommerce                      | shop-as-client                                      | 100    |
| EU/UK VAT Manager for WooCommerce                   | eu-vat-for-woocommerce                              | 98     |
| Flexible PDF Invoices for WooCommerce & WordPre | flexible-invoices                                   | 96     |
| ss                                                  |                                                     |        |
| Italian VAT Kit for WooCommerce                     | woo-fiscalita-italiana                              | 100    |
| WooCommerce PDF Invoices Italian Add-on             | woocommerce-pdf-invoices-italian-add-on             | 96     |
| B2BKing — Ultimate WooCommerce Wholesale and B2B So | b2bking-wholesale-for-woocommerce                   | 100    |
| lution                                              |                                                     |        |
| Invoice for WooCommerce                             | invoice-for-woocommerce                             | 100    |
| Invoicing with InvoiceXpress for WooCommerce &#8211 | woo-billing-with-invoicexpress                      | 100    |
| ; Free                                              |                                                     |        |
| NIF (Num. de Contribuinte Português) for WooCommerc | nif-num-de-contribuinte-portugues-for-woocommerce   | 100    |
| e                                                   |                                                     |        |
| Kybernaut IČO DIČ                                   | woolab-ic-dic                                       | 100    |
| CURCY – Multi Currency for WooCommerce &#8211 | woo-multi-currency                                  | 86     |
| ; The best free currency exchange plugin – Ru |                                                     |        |
| n smoothly on WooCommerce 6.x                       |                                                     |        |
| Membership & Content Restriction – Paid M | paid-member-subscriptions                           | 94     |
| ember Subscriptions                                 |                                                     |        |
| WooCommerce Fortnox Integration                     | woocommerce-fortnox-integration                     | 100    |
| WooCommerce Quaderno                                | woocommerce-quaderno                                | 94     |
| Silvasoft boekhouden                                | silvasoft-boekhouden                                | 100    |
| WooCommerce SuperFaktura                            | woocommerce-superfaktura                            | 98     |
| Invoices for WooCommerce                            | woocommerce-pdf-invoices                            | 96     |
| Flat Rate per State/Country/Region for WooCommerce  | flat-rate-per-countryregion-for-woocommerce         | 86     |
| WooCommerce Fortnox Hub                             | woo-fortnox-hub                                     | 100    |
| Integration for Szamlazz.hu & WooCommerce       | integration-for-szamlazzhu-woocommerce              | 98     |
| FG PrestaShop to WooCommerce                        | fg-prestashop-to-woocommerce                        | 96     |
| Ecwid Ecommerce Shopping Cart                       | ecwid-shopping-cart                                 | 90     |
| Portugal States (Distritos) for WooCommerce         | portugal-states-distritos-for-woocommerce           | 100    |
| WooCommerce Visma Integration                       | woo-visma-integration                               | 0      |
| WP-Lister Lite for Amazon                           | wp-lister-for-amazon                                | 76     |
| Qinvoice Connect for Woocommerce                    | qinvoice-connect-for-woocommerce                    | 100    |
| Client Invoicing by Sprout Invoices – Easy Es | sprout-invoices                                     | 92     |
| timates and Invoices for WordPress                  |                                                     |        |
| EasyTransac pour WooCommerce                        | easytransac                                         | 0      |
| EenvoudigFactureren for WooCommerce                 | eenvoudigfactureren-for-woocommerce                 | 0      |
| VAT Assist for WooCommerce                          | vat-assist-for-woocommerce                          | 0      |
| WooCommerce Exporter for Danea                      | wc-exporter-for-danea                               | 100    |
| VAT MOSS Returns                                    | vat-moss                                            | 0      |
| WooRechnung                                         | woorechnung                                         | 94     |
| ParcelBroker for Woocommerce                        | parcelbroker-for-woocommerce                        | 100    |
| Smart Tools for WooCommerce                         | smart-tools-for-woocommerce                         | 0      |
| UPS International Shipping for WooCommerce          | simply-international-by-ups                         | 0      |
| WooCommerce + Masterway                             | woo-masterway                                       | 0      |
| Woo Billingo Plus                                   | woo-billingo-plus                                   | 100    |
| VIES Validator                                      | vies-validator                                      | 0      |
| VAT EC Sales List                                   | vat-ecsl                                            | 0      |
| Learning Objects LMS                                | learning-objects-lms                                | 0      |
| easyReservations                                    | easyreservations                                    | 76     |
| CentroBill Payment Gateway for WooCommerce          | centrobill-payment-gateway                          | 0      |
+-----------------------------------------------------+-----------------------------------------------------+--------+

Compacter (opmaak aangepast in Sublime):

$ wp plugin search woocommerce-eu-vat-number --per-page=200 --fields=slug,name | grep woocommerce

b2bking-wholesale-for-woocommerce     B2BKing — Ultimate WooCommerce Wholesale and B2B Solution
eenvoudigfactureren-for-woocommerce     EenvoudigFactureren for WooCommerce
eu-vat-for-woocommerce          EU/UK VAT Manager for WooCommerce
fg-prestashop-to-woocommerce        FG PrestaShop to WooCommerce
flat-rate-per-countryregion-for-woocommerce   Flat Rate per State/Country/Region for WooCommerce
integration-for-szamlazzhu-woocommerce      Integration for Szamlazz.hu & WooCommerce
invoice-for-woocommerce         Invoice for WooCommerce
nif-num-de-contribuinte-portugues-for-woocommerce NIF (Num. de Contribuinte Português) for WooCommerce
parcelbroker-for-woocommerce        ParcelBroker for Woocommerce
portugal-states-distritos-for-woocommerce   Portugal States (Distritos) for WooCommerce
print-invoices-packing-slip-labels-for-woocommerce  WooCommerce PDF Invoices, Packing Slips, Delivery Notes and Shipping Labels
qinvoice-connect-for-woocommerce      Qinvoice Connect for Woocommerce
smart-tools-for-woocommerce       Smart Tools for WooCommerce
vat-assist-for-woocommerce        VAT Assist for WooCommerce
woocommerce-eu-vat-assistant        WooCommerce EU VAT Assistant
woocommerce-eu-vat-compliance       EU/UK VAT Compliance Assistant for WooCommerce
woocommerce-fortnox-integration       WooCommerce Fortnox Integration
woocommerce-germanized          Germanized for WooCommerce
woocommerce-jetpack         Booster for WooCommerce
woocommerce-pdf-invoices        Invoices for WooCommerce
woocommerce-pdf-invoices-italian-add-on     WooCommerce PDF Invoices Italian Add-on
woocommerce-quaderno          WooCommerce Quaderno
woocommerce-superfaktura        WooCommerce SuperFaktura

Multiple search terms

It seems that multiple search terms are treated as OR, rather than AND:

$ wp plugin search "google fonts"

Success: Showing 10 of 1010 plugins.
+-----------------------------------------------------------------------------------------+-----------------------------+--------+
| name                                                                                    | slug                        | rating |
+-----------------------------------------------------------------------------------------+-----------------------------+--------+
| Disable and Remove Google Fonts                                                         | disable-remove-google-fonts | 96     |
| Fonts Plugin | Google Fonts Typography                                                  | olympus-google-fonts        | 100    |
| Local Google Fonts                                                                      | local-google-fonts          | 100    |
| OMGF | GDPR/DSVGO Compliant, Faster Google Fonts. Easy.                                 | host-webfonts-local         | 94     |
| Site Kit by Google – Analytics, Search Console, AdSense, Speed                    | google-site-kit             | 82     | ← Why is this included?
| WP Google Fonts                                                                         | wp-google-fonts             | 80     |
| Toolkit for Block Theme (Gutenberg Blocks, Templates, Patterns, Google Fonts) – Twentig | twentig                     | 98     |
| Easy Google Fonts                                                                       | easy-google-fonts           | 92     |
| Swap Google Fonts Display                                                               | swap-google-font-display    | 88     |
| Embed Google Fonts                                                                      | embed-google-fonts          | 100    |
+-----------------------------------------------------------------------------------------+-----------------------------+--------+

This seems even clearer with more results - Like wp plugin search "google fonts" --per-page=100 in this example.

Not the result you wanted?

Some reasons why the results might not be what I hoped for:

  • Payed-for plugins are excluded
  • Abandoned plugins, or plugins with compatibility issues, or otherwise non-approved plugins, are excluded. This is usually a sign to me, that I'm looking for the wrong solution.

Sources