PHP Timeout Pattern Generator
Generates robust timeout infrastructure for PHP 8.4 applications to prevent indefinite execution and improve system resilience.
This skill automates the implementation of the Timeout design pattern within PHP 8.4 environments, providing a standardized framework for managing execution time limits across domain and infrastructure layers. It generates a comprehensive suite of components including immutable configuration objects, signal-based executors for CLI, stream-based executors for I/O operations, and PSR-15 middleware. By providing built-in fallback support and machine-readable exceptions, it enables developers to gracefully handle slow external APIs, long-running database queries, and intensive batch processing tasks while maintaining system stability.