anotterweb/ux-location

A Symfony bundle providing extra form field to select location with Mapbox map

Maintainers

Package info

github.com/anotterweb/ux-location

Type:symfony-bundle

pkg:composer/anotterweb/ux-location

Statistics

Installs: 11

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0 2026-04-06 19:28 UTC

This package is auto-updated.

Last update: 2026-04-06 19:37:50 UTC


README

A Symfony bundle providing an extra form field to select a location using an interactive Mapbox map. It integrates seamlessly with Symfony UX (Stimulus & AssetMapper).

Installation

Make sure Composer is installed globally, as explained in the installation chapter of the Composer documentation.

Applications that use Symfony Flex

Open a command console, enter your project directory and execute:

composer require anotterweb/ux-location

Applications that don't use Symfony Flex

Step 1: Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

composer require anotterweb/ux-location

Step 2: Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in the config/bundles.php file of your project:

// config/bundles.php

return [
    // ...
    Anotterweb\UxLocation\AnotterWebUxLocationBundle::class => ['all' => true],
];

Documentation

Full documentation is available in the doc/index.md file, including:

  • Requirements and configuration (Mapbox access token)
  • JavaScript setup (AssetMapper)
  • Usage in Symfony forms and Twig
  • Available LocationType options