Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Statamic Algolia Places Laravel Package

spatie/statamic-algolia-places

Add an Algolia Places-powered location fieldtype to Statamic 3. Provides address autocomplete in the control panel and stores structured location data (city, country, lat/lng, postcode, etc.). Supports all Algolia Places configuration options.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enhancing CMS UX for Location-Based Content: Enables editors to quickly and accurately select geographic locations (e.g., for real estate listings, event venues, or local business directories) via Algolia’s autocomplete, reducing manual data entry errors and improving consistency.
  • Roadmap for Localization Features: Supports future expansion into multilingual or region-specific content workflows (e.g., international sites, franchise networks) by standardizing location data collection.
  • Build vs. Buy: Avoids reinventing a complex autocomplete solution (Algolia integration, geocoding, API handling) while maintaining Statamic’s native fieldtype ecosystem. Low maintenance cost due to MIT license and minimal dependencies.
  • Use Cases:
    • Real Estate: Property listings with address validation.
    • Events/Travel: Venue selection with autocomplete for cities/countries.
    • E-Commerce: Localized product inventory or service area targeting.
    • Journalism/Publishing: Standardized location tagging for articles.

When to Consider This Package

  • Adopt if:

    • Your team uses Statamic 3+ and needs a user-friendly, Algolia-powered autocomplete for location fields.
    • You prioritize data accuracy (e.g., avoiding typos in addresses) and editor efficiency (reducing manual input).
    • Your project requires structured location data (e.g., for APIs, maps, or analytics) with fields like city, countryCode, or administrative.
    • You’re comfortable with Algolia’s pricing model (free tier has limits; paid plans may be needed for high-volume use).
  • Look elsewhere if:

    • You need offline functionality (Algolia requires internet connectivity).
    • Your use case demands custom geocoding logic beyond Algolia’s Places API (e.g., integrating with Google Maps or OpenStreetMap).
    • You’re using Statamic 2.x or another CMS without Statamic’s fieldtype system.
    • Maintenance risk is a concern: The package is archived (last release in 2021) and has minimal adoption (1 star). Consider forking or evaluating alternatives like:

How to Pitch It (Stakeholders)

For Executives: "This package lets our content team select locations with a few keystrokes—no more typos or inconsistent addresses. For example, a real estate listing or event venue can be pinned accurately using Algolia’s autocomplete, which also gives us structured data (e.g., country codes) for downstream use in maps, analytics, or APIs. It’s a low-code solution that saves time and improves data quality, with minimal ongoing cost. The tradeoff is relying on Algolia’s service (which we may already use), and we’d need to monitor its maintenance status long-term."

For Engineers: "This is a lightweight Statamic fieldtype that wraps Algolia Places for address autocomplete. It’s a drop-in solution for editors, with no frontend JS to build—just install via Composer and configure the Algolia API key. The output is YAML-structured location data (e.g., city, countryCode), which we can use directly in templates or pass to other services. Caveats: The package is archived, so we’d need to vet its compatibility with Statamic 3.x updates or fork it if issues arise. Also, Algolia’s free tier has limits; we’d need to budget for paid plans if scaling. Alternatives like a custom Typeahead.js integration would offer more control but require more dev effort."

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport