ichhabrecht/packages-scanner

Scan own packages.json information to check packagist registration of packages

1.3.0 2016-08-15 09:59 UTC

This package is auto-updated.

Last update: 2024-11-11 15:02:11 UTC


README

This application compares packages from your own packages.json repository with information from Packagist.

Latest Stable Version Build Status

Installation

Installation as own application

$ composer create-project ichhabrecht/packages-scanner

Installation as requirement

$ composer require ichhabrecht/packages-scanner

Usage

To get an overview of existing commands you can simply list them with

$ vendor/bin/packages-scanner list

package:validate

The command validates the package names found in the provided packages.json and lists those which cannot be registered on Packagist.

$ vendor/bin/packages-scanner package:validate https://example.com

package:register

The command lists all packages found in your packages.json which are not registered on Packagist yet. Furthermore it shows the url and author information of each package.

$ vendor/bin/packages-scanner package:register https://example.com

Options

--exclude-vendor

Comma separated list of vendor names to exclude from Packagist check.

package:compare

The command lists all packages found in your packages.json which are also registered on Packagist. Furthermore it shows the url and author information of each package for both locations.

$ vendor/bin/packages-scanner package:compare https://example.com

Options

--exclude-vendor

Comma separated list of vendor names to exclude from Packagist check.

--only-different

Shows only packages which have different registered sources.

vendor:list

The command lists all vendor names of the packages found in the provided packages.json. It shows the registration status of the vendor name on Packagist.

$ vendor/bin/packages-scanner vendor:list https://example.com

Options

--only-registered

Shows only vendor names that are registered on Packagist already.

--only-unregistered

Shows only vendor names that are not registered on Packagist yet.

vendor:register

The command lists all vendor names with their packages found in your packages.json which are not registered on Packagist yet. Furthermore it shows the url and author information of each package.

$ vendor/bin/packages-scanner vendor:register https://example.com