EventSubscriber) to intercept requests/responses without modifying core logic. Ideal for Symfony 5.4+ applications.config/services.yaml. No database schema changes or ORM modifications.KernelEvents::REQUEST, KernelEvents::RESPONSE), enabling monitoring of:
google/cloud-pubsub (v1.35+) for request batching. Could introduce cloud provider lock-in or operational complexity if not using GCP.EventSubscriber and DI container. No framework modifications needed.APITOOLKIT_KEY set to a test API key.APITOOLKIT_KEY to .env.APIToolkitService in config/services.yaml (as per README).Feature component) to toggle monitoring per environment.curl and json (standard in PHP 8.0+). google/cloud-pubsub adds GCP dependency.APITOOLKIT_KEY and service registration).monolog) to trace SDK events.services.yaml or environment variables.google/cloud-pubsub for breaking changes (e.g., GCP API deprecations).symfony/http-kernel:^5.4).| Failure Scenario | Impact | Mitigation |
|---|---|---|
| APItoolkit service outage | Lost observability data. | Fallback to local logging (e.g., Monolog). |
| Pub/Sub batching failures | Increased latency or dropped events. | Configure retries/exponential backoff. |
| Incorrect redaction rules | Data leaks (compliance risk). | Automated validation (e.g., regex tests). |
| High request volume | Pub/Sub throttling or timeouts. |
How can I help you explore Laravel packages today?