Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Tooly Composer Script Laravel Package

tm/tooly-composer-script

Tooly Composer Script integrates Tooly with Composer to simplify running common Laravel/PHP development tasks. Define reusable scripts in composer.json for testing, linting, static analysis, and other tooling, then run them consistently in local workflows and CI.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

  • Architecture fit: Unchanged. This is a build-time Composer script, not a runtime Laravel dependency. It fits where the team needs to produce a PHAR artifact from a Laravel/PHP project — typically a CLI tool, internal binary, or distributable console application. Because it is wired through composer.json, it avoids application-level coupling and can remain in require-dev; that is architecturally clean for a TPM-managed build pipeline.
  • Integration feasibility: Still feasible only as a small, isolated build step, and still requiring a proof of concept. The 1.4.1 release ([FIXED] #18 Fix checksum) is a narrow patch: it addresses correctness of checksum generation, which is directly relevant to artifact integrity for PHAR distribution, but it does not demonstrate modern PHP 8 / Composer 2 support. The underlying feasibility question — does it work on our version matrix — remains open and must be validated by test, not by release notes.
  • Technical risk: Medium-to-high for long-term use, unchanged in substance. The project remains low-community-validation (103 stars, zero dependents, low score ~2.35) and 1.4.1 is a single targeted bug fix rather than evidence of sustained maintenance. The fix does slightly reduce one specific risk — shipping artifacts with incorrect checksums, which can cause verification failures downstream or mask tampering — but it does not reduce abandonment risk. Risk stays contained to the build pipeline: a failure breaks releases rather than production traffic, but it can still block PHP/Composer upgrades. MIT licensing is acceptable; internal ownership is still required.
  • Key questions: Do we actually need PHAR distribution, or would a Composer package/container image suffice? Which PHP and Composer versions must be supported? Does 1.4.1 work with Composer 2 and PHP 8.x? Does our distribution/consumption path verify the checksums this release fixes — and if so, does the fix change the artifacts we publish today? Is humbug/box or a native Phar build script a better-supported alternative? Do we need signing, reproducible builds, or CI artifact attestation? Who owns the build script if the package is abandoned?

Integration Approach

  • Stack fit: Unchanged. Good conceptual fit for Laravel/PHP teams already using Composer scripts. It belongs in require-dev with a script entry such as build:phar. It does not require a Laravel service provider and should not be introduced into runtime dependencies. Best suited to internal CLI tooling or small distributable binaries, not web request paths.
  • Migration path: Unchanged in shape, with one pinning decision. Add the package as a pinned dev dependency at 1.4.1 or later — do not pin to a pre-1.4.1 version, since the checksum defect would then be baked into released artifacts. Move PHAR configuration into composer.json or a dedicated config file, and keep the old build command available until parity is proven. If compatibility fails, migration to humbug/box or a short custom Phar script remains straightforward because the package is not embedded in application code.
  • Compatibility: Validate explicitly against the project’s PHP matrix, Composer 1 vs. 2, ext-phar, phar.readonly=0 in CI, OpenSSL availability if signing is used, and filesystem/path assumptions. The 1.4.1 patch does not evidence PHP 8 or Composer 2 support — assume issues until tested. Pin the exact version and commit the lockfile; do not allow floating upgrades in CI, and treat any future patch release as requiring re-validation.
  • Sequencing: 1) Confirm the artifact consumer and distribution requirement, including whether anything downstream verifies checksums; 2) run a time-boxed proof of concept in an isolated CI job using 1.4.1; 3) verify checksum output against an independently computed checksum, not just "build succeeded"; 4) test on oldest and newest supported PHP/Composer versions; 5) complete security/license review (MIT is fine, but inspect dependencies); 6) decide whether to adopt, fork, or replace with Box; 7) document the build command and fallback; 8) roll out behind a non-blocking CI job before making it the release path.

Operational Impact

  • Maintenance: Low day-to-day effort if it works, but high ownership risk because upstream maintenance remains effectively absent — one patch fix does not change that trajectory. Treat it as internally owned build tooling: pin it, document it, and review whenever PHP or Composer has a major release. Budget for a fork or replacement rather than assuming upstream fixes; note that 1.4.1 shows someone can still merge a fix, which slightly improves the outlook for a targeted upstream contribution if we hit a specific bug.
  • Support: No vendor support and limited community surface. Internal engineers must be able to read the source and debug build failures. Support cost is concentrated in CI/release engineering, not application support. The checksum fix removes one known class of "why is verification failing?" support ticket, which is a small but real reduction in expected support load.
  • Scaling: Scales with CI runners rather than application traffic. PHAR build time and artifact size are the practical limits; parallel CI jobs can handle multiple targets. The package itself is unlikely to become a throughput bottleneck.
  • Failure modes: Composer 2 incompatibility, PHP 8 deprecations, missing ext-phar, phar.readonly misconfiguration, signing/OpenSSL issues, path assumptions, and stale dependency conflicts. Checksum mismatches are now less likely on 1.4.1, but remain a failure mode if we pin older versions or if the fix is incomplete for our build layout — verify explicitly. Failures should surface at build time, which is preferable to runtime, but a broken release pipeline can still block delivery. Maintain a documented fallback to Box or a native PHAR script.
  • Ramp-up: Low for engineers comfortable with Composer scripts; likely a few hours for a proof of concept. The main ramp-up cost is not learning the package but validating its compatibility and deciding on a fallback. A TPM should keep the adoption decision reversible and avoid making it a critical single point of failure.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package