Download the PHP package evilstudio/composer-parser without Composer
On this page you can find all versions of the php package evilstudio/composer-parser. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download evilstudio/composer-parser
More information about evilstudio/composer-parser
Files in evilstudio/composer-parser
Download evilstudio/composer-parser
More information about evilstudio/composer-parser
Files in evilstudio/composer-parser
Vendor evilstudio
Package composer-parser
Short Description Simple app for parse composer.json file from multiple repositories to one Excel spreadsheet
License MIT
Package composer-parser
Short Description Simple app for parse composer.json file from multiple repositories to one Excel spreadsheet
License MIT
Please rate this library. Is it a good library?
Informations about the package composer-parser
๐ฆ Composer Parser
Introduction
Composer Parser is a CLI tool for comparing Composer dependencies across multiple repositories.
It collects composer.json (optionally composer.lock), groups packages by configurable rules, and exports a consolidated report.
โจ Key Features
-
๐ Multi-repository parsing- Reads dependency data from many repositories into one report.
-
๐ง Multiple parser modescomposerJsoncomposerJsonAndLockcomposerFull(includes latest versions viacomposer outdated)
-
๐ Multiple providersgitRepositorygitlabApiFilesgitlabApiArchive
-
๐ค Multiple output writersxlsxjsonhtmlgoogleSheets
๐งฉ Configurable grouping and styling- Regex-based package groups
- Version-based cell styling (used in XLSX and HTML)
๐ Project Structure
๐ Quick Start
1. Clone and install
2. Prepare configuration
Set at least:
app.config.providerTypeapp.config.parserTypeapp.config.writerType(xlsx,json,html,googleSheets)repository.config.repositoryListwriter.config.shared.sheetName(required)
3. Run parser
4. Cleanup downloaded repositories
๐ป Commands
| Command | Description |
|---|---|
app:run |
Fetches data from configured repositories and writes report |
app:cleanup |
Removes downloaded repositories |
โ๏ธ Writer Configuration
Common local writer fields:
writer.config.local.fileNamewriter.config.local.fileDirectorywriter.config.shared.sheetName(required, used byxlsxandgoogleSheets)
Google Sheets writer (writerType: googleSheets) requires:
writer.config.googleSheets.spreadsheetIdwriter.config.googleSheets.serviceAccountJsonPath
๐ Google Sheets Setup
- Create/open a Google Cloud project.
- Enable
Google Sheets APIin that project. - Create a Service Account and generate a JSON key.
- Share target spreadsheet with the Service Account email as
Editor. - Set in config:
app.config.writerType: googleSheetswriter.config.shared.sheetNamewriter.config.googleSheets.spreadsheetIdwriter.config.googleSheets.serviceAccountJsonPath
๐งญ Notes
- Output file path is built from
writer.config.local.fileDirectory+fileName. {date}infileNameis replaced with current date (Y-m-d).- Errors are logged to
var/log/error.log. composerFullrequirescomposeravailable in PATH.gitRepositoryprovider requires localgit.xlsxoutput requires PHP extensionsext-zipandext-gd.
๐งช Testing
All versions of composer-parser with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.3
ext-gd Version *
ext-json Version *
ext-zip Version *
czproject/git-php Version ^4.6
daniel-ness/ansible-vault Version ^0.0.3
google/apiclient Version ^2.18
mikehaertl/php-shellcommand Version ^1.7
monolog/monolog Version ^3.9
php-curl-class/php-curl-class Version ^12.0.4
phpoffice/phpspreadsheet Version ^5.4.0
symfony/config Version ^7.4
symfony/console Version ^7.4
symfony/dependency-injection Version ^7.4
symfony/expression-language Version ^7.4
symfony/filesystem Version ^7.4
symfony/yaml Version ^7.4
ext-gd Version *
ext-json Version *
ext-zip Version *
czproject/git-php Version ^4.6
daniel-ness/ansible-vault Version ^0.0.3
google/apiclient Version ^2.18
mikehaertl/php-shellcommand Version ^1.7
monolog/monolog Version ^3.9
php-curl-class/php-curl-class Version ^12.0.4
phpoffice/phpspreadsheet Version ^5.4.0
symfony/config Version ^7.4
symfony/console Version ^7.4
symfony/dependency-injection Version ^7.4
symfony/expression-language Version ^7.4
symfony/filesystem Version ^7.4
symfony/yaml Version ^7.4
The package evilstudio/composer-parser contains the following files
Loading the files please wait ...