mindtwo/two-tility
mindtwo/two-tility is a Laravel utility package from mindtwo that bundles reusable helpers, traits, and convenience tools for common development tasks. It aims to streamline everyday PHP and Laravel workflows, reduce boilerplate, and keep application code cleaner and more consistent.
BaseApiClient rather than maintaining bespoke HTTP wrappers in each Laravel service.retries functional for connection failures and HTTP 429s on Laravel 12/13 — repositioning the package from "retry config that silently no-ops" to a credible resilience layer.Consider it when:
Look elsewhere when:
Http::retry() covers it without another dependency.For executives: A small, low-cost dependency that hardens our integrations against transient API failures and rate limiting, reducing avoidable incidents and support load. It is early-stage, so we recommend a bounded pilot before broad rollout.
For engineering: The package provides a BaseApiClient with configurable retries. Version 1.0.2 fixes a real defect — the retry callback used the wrong signature and never matched, so retries did not fire for connection failures or 429s on Laravel 12/13. Anyone who adopted an earlier version must upgrade and re-test, because prior resilience behavior was effectively inert. Note the behavioral change: retries now actually execute, which can increase request volume against upstream providers — confirm rate-limit budgets and idempotency before enabling in production. Recommended path: pilot on one non-critical integration, add tests asserting retry attempts on connection error and 429, then standardize.
How can I help you explore Laravel packages today?