spatie/our-ray
Send Ray (myray.app) debug payloads to the cloud using ourray.app. Install via Composer and use the our() helper to forward any ray() calls: our()->ray('my debug data'); Great for sharing logs and debugging output across environments and teams.
ourray.app), making it a low-overhead solution for debugging/logging in Laravel applications. It aligns well with observability-first architectures where distributed tracing (Ray) is already in use.spatie/laravel-ray), this package extends functionality by offloading payloads to a cloud service, reducing local storage pressure.our() helper, maintaining clean separation from core business logic..env). No database migrations or complex setup.spatie/laravel-ray or similar). If Ray isn’t already in use, adoption may require additional justification.ourray.app for cloud storage. If the service changes pricing, availability, or API, migration could be costly.Why Cloud Over Local?
Ray Adoption
spatie/laravel-ray already in use? If not, what’s the ROI of adding Ray + this package vs. native Laravel logging?Data Sensitivity
Fallback Strategy
ourray.app is down? Will payloads be dropped or queued locally?Monitoring & Alerts
Long-Term Maintenance
spatie/laravel-ray, laravel-debugbar/ray).spatie/laravel-ray).OURRAY_APP_API_KEY (or similar) in .env.ourray.app has size limits (e.g., 1MB payloads). Large payloads may need compression.composer require spatie/our-ray
.env:
OURRAY_APP_API_KEY=your_api_key_here
our()->ray('Debug data', ['key' => 'value']);
ourray.app.ourray.app remains stable. Tasks include:
.env periodically.spatie/our-ray for breaking changes.ourray.app changes pricing or API, the team must migrate or negotiate.our()->ray() syntax).ourray.app’s rate limits and costs at scale. High-volume apps may need:
ourray.app may add latency. Test in production-like conditions.| Failure Scenario | Impact | Mitigation |
|---|---|---|
ourray.app API downtime |
Lost payloads | Local fallback cache (DB/filesystem) |
| Invalid API key | All payloads fail silently | Validate key on startup; alerting |
| Payload size exceeds limits | Dropped payloads | Compress payloads or filter data |
| Network partition | Debug data loss | Queue payloads for retry |
ourray.app API changes |
Package breaks | Monitor changelog; test updates |
| PII in payloads | Compliance violation | Sanitize data before sending |
our()->ray() vs. local logging.How can I help you explore Laravel packages today?