spatie/sun
Compute sun position times for any coordinates: get sunrise, solar noon (zenith), and sunset as Carbon instances, optionally for a specific date. Simple PHP API from Spatie, ideal for scheduling, dashboards, and daylight-aware features.
astral or Node.js’s sun-calc.For Executives: "This lightweight Laravel package delivers accurate sun position data (sunrise, sunset, daylight duration) with zero API costs or maintenance. It’s ideal for features like smart lighting automation, travel planning, or health apps—enabling us to ship solar-aware functionality in weeks, not months. MIT-licensed and dependency-free, it’s a risk-free way to add geospatial intelligence to our product."
For Engineering:
*"Spatie’s sun package provides a clean PHP interface to NOAA’s astronomical algorithms. Key benefits:
How can I help you explore Laravel packages today?