stolt/lean-package-validator
CLI tool to validate a PHP project/micro-package for “leanness” by ensuring common repo artifacts aren’t shipped in release archives. Also creates and updates .gitattributes export-ignore entries to enforce lean release assets.
--agentic-run with JSON output for machine consumption. Closes #64.validating, creating, and updating the package's .gitattributes file.HEADERS (generated|modified) are written.--dry-run option for the init command.--dry-run option for the update and create command.preset option for the validate command. Closes #53.stdin-input option. Closes #42.tree --dist-package command is a Git repository.tree command. Closes #49.--src option now excludes files from .gitignore and the .git directory.--dist-package option.tree command, that displays the source and dist package structure. Closes #48.--keep-readme and --keep-glob-pattern options. Closes #47.8.0..gitattributes file is set as a comment.7.4..gitattributes file.7.3 and 7.2.7.1.5.6 and 7.0.. Closes #29.tests or specs are export-ignored only once. Closes #24.--align-export-ignores|-a option to align the export-ignores which improves readability. Closes #23.--enforce-alignment option to enforce that all export-ignores are aligned.*.dist files.init command to create a .lpv file with the default glob patterns. Closes #18..gitattributes file with no export-ignore entries. Fixes #16.--keep-license option to allow license files in releases. Closes #15.--glob-pattern-file option to load custom glob patterns from a file. Closes #9.--enforce-strict-order option to enforce a strict order comparison of export-ignores in the .gitattributes file. Closes #6..gitattributes files are overwritable. Closes #8.export-ignores comparison. Related to #3..gitattributes files are really validated. Closes #3.directory argument usage and validation.--glob-pattern option. Closes #2.How can I help you explore Laravel packages today?