• Stars
    star
    430
  • Rank 101,083 (Top 2 %)
  • Language
    PHP
  • License
    MIT License
  • Created over 6 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Detect unused composer dependencies

Project scanner for detect unused composer dependencies

unused-scanner

Versions

Use 1.3.x@dev versions for projects with php 5.6, 7.0

Use 2.x versions for projects with php >= 7.1

ChangeLog

see CHANGELOG.md

Installation

composer global require insolita/unused-scanner

Ensure that your ~/.composer/vendor/bin directory declared in $PATH

echo $PATH

if not - you should add it in ~/.bashrc or ~/.profile

Update

composer global update

Usage

prepare configuration file, see scanner_config.example.php

put it in project root (or other place)

run composer dumpautoload in your project directory

run unused_scanner /path/to/configuration/file/scanner_config.php

since 1.1 you can run it without argument, if scanner_config.php existed in current working directory, it will be used by default

For auto-testing:

Add --silent option for skip progress output and return exit code = 16, when unused packages detected

run unused_scanner --silent /path/to/configuration/file/scanner_config.php

Docker:

https://github.com/juanmrad/docker-unused-scanner

Demo screenshot

Licence

This project uses the MIT licence.

More Repositories

1

yii2-migrik

Yii2 Gii-tools for create migration files
PHP
106
star
2

yii2-adminlte-widgets

PHP
63
star
3

InteractiveJobs

Laravel - vue interactive jobs demo
PHP
36
star
4

yii2-codestat

Yii2 code statistic
PHP
34
star
5

php-async-benchmarks

PHP
24
star
6

yii2-opcache

Opcache management for yii2 from console or adminlte-based gui module
PHP
16
star
7

yii2-array-structure-validator

Validate complex array structure
PHP
13
star
8

yii2-iconpicker

widget wrapper for bootstrap-iconpicker
PHP
11
star
9

coloro

A console tool for output text with highlighted hex colors
Python
11
star
10

metaphone

Russian metaphone algorithm implementation
PHP
9
star
11

yii2-fixturegii

Yii2 - generator for fixture classes, faker templates, fixture data files from table.
PHP
9
star
12

yii2-muffin-factory

Generate ActiveRecord fixtures on fly
PHP
9
star
13

composer-recovery

Helper for recovery composer dependency list (if you lost composer.json)
PHP
9
star
14

yii2-adminlte3-asset

AdminLte3 asset for Bootstrap4
PHP
7
star
15

dockerstack

docker-stack collection
Dockerfile
6
star
16

yii2-fractal

A set of utils and actions for build API following JSON:Api specification, based on league/fractal
PHP
5
star
17

pgjsonb_test

Test postgres jsonb performance
PHP
4
star
18

yii2-maintenance

Config focused maintenance component
PHP
4
star
19

yii2-adminlte3-widgets

AdminLte3 widgets for Bootstrap4
PHP
4
star
20

circular-queue

Circular Queue with redis implementation for distribution of shared data
PHP
4
star
21

fakerprovider

Providers for faker
PHP
3
star
22

yii2-redisman-app

RedisManager Application
PHP
3
star
23

yii2-form-prefiller

Remember user-filled form data, prefill forms with remembered data in cookie/session/redis/db
PHP
3
star
24

yii2-skeletest

Generate test skeletons for file or whole directory with target file methods
PHP
3
star
25

yii2-multifs

Multifs manager and uploader based on League\Flysystem\MountManager, inspired of trntv\filekit
PHP
3
star
26

yii2-metacrumbs

alternative way for work with breadcrumbs and meta data
PHP
2
star
27

yii2-giitwig

default yii2-crud templates in twig.format
PHP
2
star
28

salt-testlab

Local salt state testing environment
Dockerfile
2
star
29

cli_translate

Useful console translation tool/ With features: translate text from clipboard and store translation logs
Python
2
star
30

yii2-validatorpack

Validator Collection
PHP
1
star
31

rust_learning

Rust
1
star
32

pacman-recover

Actual pacman-recover
Shell
1
star
33

laravel-file-api

Flexible api for browse and manage folders and files, uploads, tranform images
1
star
34

yii2-arsync

PHP
1
star
35

php-acme-client

ACME Client supported endpoint for ACME v2, written with PHP.
PHP
1
star
36

ucopy

Copy files from one or more directories to target directory with union mode
Python
1
star
37

deployme

PHP
1
star