class Packagist (View source)

The Packagist class handles all requests to the Packagist API.

Methods

static array
getPackages(string $type = '', string $tag = '')

Get a list op packages from Packagist filtered by type and tag.

Details

static array getPackages(string $type = '', string $tag = '')

Get a list op packages from Packagist filtered by type and tag.

Parameters

string $type
string $tag

Return Value

array The list of packages