edudevinfo/libfinder
Composer 安装命令:
composer require edudevinfo/libfinder
包简介
Maps which projects are using a library
README 文档
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
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-07-10