costamateus/bracketsmith

A lightweight PHP tool that polishes array formatting โ€” keeping your brackets neat and consistent.

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/costamateus/bracketsmith

v0.1.1 2025-11-03 13:12 UTC

This package is auto-updated.

Last update: 2025-11-04 18:27:00 UTC


README

BracketSmith is a lightweight PHP tool for standardizing array spacing โ€” keeping your square brackets [ ] clean and consistent.

๐Ÿš€ Installations

composer require costamateus/bracketsmith

Or for global use:

composer global require costamateus/bracketsmith

๐Ÿ’ก CLI usage

vendor/bin/bracketsmith --dry-run

Optional parameters:

  • --dry-run โ†’ only checks, without altering files.
  • --verbose โ†’ shows processed files.
  • --help โ†’ displays help information.
  • It is possible to pass specific files or directories:
    vendor/bin/bracketsmith app/Models/User.php    # Process single file
    vendor/bin/bracketsmith app/Models/            # Process directory

๐Ÿงช Tests

composer test

๐Ÿ“„ License

MIT ยฉ Mateus Costa