brick/geo
brick/geo is a PHP geometry library for working with points, lines, polygons, and other shapes. Provides common spatial operations, parsing/formatting, and robust value objects to model geo data cleanly in applications and services.
Strengths:
Fit for Laravel Use Cases:
whereDistance, withinPolygon).Potential Misalignment:
doctrine/dbal (for PostGIS) or turf/turf-php if brick/geo lacks critical features.ST_Intersects, ST_Distance).ST_Distance_Sphere).assertPolygonContainsPoint).where('location', 'within', $polygon)).SPATIAL INDEX in PostGIS).ext-gd for image-based geometries) are optional.geocoder-php) by scoping usage (e.g., brick/geo for computations, geocoder for addresses).composer.json if the package lacks semantic versioning rigor.turf/turf-php).dd($geometry->toWkt())).users split into users_americas, users_europe).isValid().How can I help you explore Laravel packages today?