A Symfony bundle for running application-level health checks via CLI or REST API, ensuring your production environment is fully operational.
LiipMonitorBundle is a Symfony bundle that provides a framework for running application-level health checks to ensure all dependencies and configurations are operational. It goes beyond basic server monitoring by validating PHP extensions, service connections (like Redis, Memcache, databases), directory permissions, and custom business logic within the application's actual environment. This helps catch configuration issues that might not be visible to traditional infrastructure monitoring tools.
Symfony developers and DevOps teams who need to verify application readiness and monitor production environments for configuration errors or service failures. It's particularly useful for teams deploying Symfony applications to production who want automated health validation.
Developers choose LiipMonitorBundle because it integrates seamlessly with Symfony's service container, allows custom health checks as tagged services, and provides multiple interfaces (CLI and REST API) for integration into existing workflows. Unlike generic monitoring tools, it runs checks in the exact same environment as the application, catching configuration-specific issues before they affect users.
Integrates the LiipMonitor library into Symfony
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Seamlessly leverages Symfony's service container for check registration and autoconfiguration, making it a natural fit for Symfony ecosystems, as shown by the tagged service approach in the README.
Comes pre-loaded with checks for PHP extensions, databases (Doctrine), caches (Redis, Memcache), and more, covering common application dependencies out of the box, detailed in the 'Full Default Config' section.
Supports CLI commands for manual checks and a JSON REST API for automated monitoring, with provided Nagios scripts for easy DevOps integration, enhancing flexibility in deployment workflows.
Allows developers to add any application-specific logic as custom checks via tagged Symfony services, enabling tailored health validation, as demonstrated in the 'Adding Health Checks' section.
Exclusively designed for Symfony, so it cannot be used in projects with other PHP frameworks or vanilla PHP setups, limiting its versatility across different tech stacks.
Requires YAML configuration and service tagging for checks, which can be daunting for developers not familiar with Symfony's advanced features, adding setup overhead.
The web interface is static and minimal, lacking advanced features like real-time updates or historical data tracking, which might necessitate additional tools for comprehensive monitoring dashboards.
Built-in alerting is basic with a mailer feature; for robust notifications, integration with external tools like Nagios is required, adding setup complexity and potential points of failure.