deepskylog/laravel-astronomy-library
A Laravel astronomy library providing reusable helpers and domain logic for DeepskyLog, including celestial coordinates, observing utilities, and data structures for amateur astronomy applications.
Magnitude::nelmToSqm()), which maps directly to features like dark-sky site ratings, observing-condition summaries, and light-pollution indicators. A PM can use this to justify a narrow, high-credibility feature slice rather than a broad astronomy platform.NAN above ~7.93 NELM; now capped at the 22 mag/arcsec² ceiling). No breaking changes, no new API surface, no deprecations—so it should not disrupt roadmap commitments and can be adopted as a low-risk dependency bump.For executives: This is a small, low-risk Laravel/PHP utility that gives us credible astronomy math—specifically sky-quality and magnitude conversions—without building a scientific library ourselves. The latest patch fixes a numerical edge case that could have produced invalid values for very dark skies; there are no breaking changes, so adopting it does not add delivery risk. It supports differentiated features for astronomy, dark-sky, and outdoor-observation audiences at low cost.
For engineering: The package provides focused domain helpers such as NELM-to-SQM conversion with observer-offset handling. v6.8.6 hardens a boundary case: inputs above ~7.93 NELM previously yielded NAN because the logarithm argument went negative; the function now returns the 22 mag/arcsec² upper bound already reached around 6.6 NELM. Treat it as a narrow, maintained dependency: integrate behind a thin internal service, assert input ranges in our own tests, and avoid assuming it covers broader ephemeris or high-precision photometry needs.
How can I help you explore Laravel packages today?