Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Symfony
  3. VichGeographicalBundle

VichGeographicalBundle

PHP

A Symfony bundle for automatic geographic coordinate querying and object-oriented JavaScript map rendering for ORM/ODM entities.

GitHubGitHub
105 stars26 forks0 contributors

What is VichGeographicalBundle?

VichGeographicalBundle is a Symfony bundle that provides geographical features for ORM and ODM entities. It automates the process of querying and storing geographic coordinates and enables object-oriented rendering of JavaScript maps within Symfony applications. The bundle solves the problem of integrating mapping functionality with database entities without manual coordinate handling.

Target Audience

Symfony developers working with geospatial data who need to automatically manage coordinates and render maps for their ORM/ODM entities. It's particularly useful for projects requiring location-based features like store locators, event maps, or user location tracking.

Value Proposition

Developers choose VichGeographicalBundle for its seamless integration with Symfony's annotation system, automatic coordinate management, and flexible map rendering that supports multiple providers. Its object-oriented JavaScript approach allows for clean, maintainable map implementations without being tied to a specific mapping service.

Overview

A Symfony2 bundle which provides geographical features for ORM and ODM entities and object oriented javascript maps rendering.

Use Cases

Best For

  • Adding automatic geocoding to Symfony entity models
  • Rendering interactive maps for ORM/ODM entities in Symfony applications
  • Building location-based services with Google Maps integration
  • Creating store locators or event maps with database-backed locations
  • Implementing user location tracking with automatic coordinate storage
  • Developing mapping features with support for multiple map providers

Not Ideal For

  • Projects requiring pure server-side map rendering without JavaScript dependencies
  • Applications using non-standard data persistence layers outside ORM/ODM in Symfony
  • Teams that prefer YAML or XML configuration over annotations for geographical settings

Pros & Cons

Pros

Automatic Geocoding

Automatically queries and stores geographic coordinates for ORM/ODM entities using annotations, eliminating the need for manual geocoding code, as highlighted in the README.

Object-Oriented Maps

Renders interactive JavaScript maps with an object-oriented approach, allowing for clean and maintainable map code independent of entity coordinate features, per the README.

Provider Flexibility

Uses Google Maps by default but supports integration with other map providers and custom renderers, offering extensibility as mentioned in the README.

Annotation Simplicity

Configures geographical features through simple annotations in entity classes, reducing boilerplate configuration in Symfony projects, as described.

Cons

External API Dependency

Relies on external geocoding services for coordinate querying, which can introduce costs, rate limits, and potential downtime, not addressed in the README.

Limited Provider Documentation

The README states 'other maps are always being integrated,' suggesting support for alternative providers might be incomplete or poorly documented, requiring extra effort.

Annotation Lock-in

Configuration is heavily annotation-based, which may not suit projects using Symfony's configuration files or preferring code-based setups, limiting flexibility.

Frequently Asked Questions

Quick Stats

Stars105
Forks26
Contributors0
Open Issues11
Last commit10 years ago
CreatedSince 2011

Tags

#orm#google-maps#geolocation#annotation-based#symfony-bundle#entity-mapping#odm

Built With

D
Doctrine ODM
J
JavaScript
S
Symfony2
D
Doctrine ORM

Included in

Symfony1.6k
Auto-fetched 1 day ago

Related Projects

DoctrineMigrationsBundleDoctrineMigrationsBundle

Symfony integration for the doctrine/migrations library

Stars4,299
Forks218
Last commit1 month ago
DoctrineFixturesBundleDoctrineFixturesBundle

Symfony integration for the doctrine/data-fixtures library

Stars2,532
Forks211
Last commit7 days ago
StofDoctrineExtensionsBundleStofDoctrineExtensionsBundle

Integration bundle for DoctrineExtensions by l3pp4rd in Symfony

Stars1,927
Forks382
Last commit9 months ago
SncRedisBundleSncRedisBundle

A Redis bundle for Symfony supporting Predis and PhpRedis

Stars1,049
Forks318
Last commit2 months ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub