alfred-packagist icon indicating copy to clipboard operation
alfred-packagist copied to clipboard

Alfred workflow to search for PHP packages with Packagist

alfred-packagist Build Status

Alfred workflow to search for PHP packages with Packagist.

Packagist is the main Composer repository. It aggregates public PHP packages installable with Composer.

alfred-packagist

Install

$ npm install --global alfred-packagist

Requires Node.js 12+ and the Alfred Powerpack.

Usage

In Alfred, type packagist, Enter, and your query, to search for packages.

  • Select a package and press Enter to go to its GitHub repo.
  • Hold Alt when pressing Enter to go to its Packagist page.
  • Hold Ctrl when pressing Enter to copy the package name to the clipboard.
  • Press Shift to view its README in Quick Look.