Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() |
![]() ![]() |
Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 40 | All time: 9,981 This week: 332![]() |
Version | License | PHP version | Categories | |||
unused-scanner 1.0.0 | MIT/X Consortium ... | 7 | Utilities and Tools, Console, PHP 7 |
Description | Author | |||
This package can be used to detect packages in a composer project that unused. Innovation Award
|
|
Use 1.3.x@dev versions for projects with php 5.6, 7.0
Use 2.x versions for projects with php >= 7.1
see CHANGELOG.md
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
composer global update
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 /path/to/configuration/file/scanner_config.php --silent
Docker:
run `
docker run -v pwd
:/app tico/unused-scanner /app/path/to/configuration/file/scanner_config.php`
wait for result..
![]() |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
||||
![]() |
||||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Doc. | Documentation | ||
![]() ![]() |
Aux. | Auxiliary script | ||
![]() ![]() |
Icon | Icon image | ||
![]() ![]() |
Example | Example script |
![]() |
/ | Lib |
File | Role | Description |
---|---|---|
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
/ | tests |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() ![]() |
Aux. | Auxiliary script | ||
![]() |
Class | Class source | ||
![]() |
Class | Class source | ||
![]() |
Class | Class source | ||
![]() ![]() |
Aux. | Auxiliary script | ||
![]() ![]() |
Aux. | Auxiliary script | ||
![]() ![]() |
Aux. | Auxiliary script | ||
![]() ![]() |
Aux. | Auxiliary script | ||
![]() ![]() |
Data | Auxiliary data |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.