edudevinfo / libfinder
Maps which projects are using a library
v1.0.2
2026-07-10 00:25 UTC
Requires
- php: ^8.3
- ext-json: *
- ext-mbstring: *
- guzzlehttp/guzzle: ^7.13
Requires (Dev)
- phpunit/phpunit: ^9.5
This package is not auto-updated.
Last update: 2026-07-24 22:52:16 UTC
README
1. Set the environment variables inside the container.
make up
make php
GITLAB_TOKEN=<gitlab-token>
GITLAB_GROUP_ID=<group-id>
BRANCH_NAME=<branch-name> #default: main
COMPOSER_LIB=<composer-lib>
Notice 1: Only the projects to which your user has access will be mapped.
Example:
GITLAB_TOKEN=glpat-yadayadayada
GITLAB_GROUP_ID=1234
BRANCH_NAME=main
COMPOSER_LIB=edudevinfo/libfinder
2. Variable checks
echo $GITLAB_TOKEN $GITLAB_GROUP_ID $BRANCH_NAME $COMPOSER_LIB
3. Install dependencies
make install
4. Map dependencies
- If you installed it as a dependency in your project, you can use:
vendor/bin/libfinder group/lib-name
Ex:
vendor/bin/libfinder edudevinfo/libfinder
- Or if you cloned it, use:
php libfinder group/lib-name
- If you set COMPOSER_LIB variable, you can use without parameter:
vendor/bin/libfinder
OR
php libfinder
5. Results
- A JSON file with the mapped library name will be generated in the folder.
./var
Example:
php libfinder edudevinfo/libfinder
├── var
│ └── .gitignore
│ └── edudevinfo@libfinder.json