madforwebs/google-maps-bundle

本包为symfony2提供了一个googlemapsbundle

安装: 14

依赖: 0

建议者: 0

安全: 0

星标: 0

关注者: 2

分支: 0

开放问题: 0

类型:symfony-bundle

dev-master 2021-08-01 14:49 UTC

This package is auto-updated.

Last update: 2024-09-29 06:25:47 UTC


README

GoogleMapsBundle意味着在您的Symfony应用中实现简单且功能丰富的地图!

安装

下载Bundle

打开命令行,进入您的项目目录,然后执行以下命令以下载此Bundle的最新稳定版本

$ composer require madforwebs/google-maps-bundle

此命令需要您已全局安装Composer,如Composer文档的安装章节中所述。

启用Bundle

然后,通过在您的项目app/AppKernel.php文件中添加以下行来启用该Bundle

// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...

            new MadForWebs\GoogleMapsBundle\GoogleMapsBundle(),
        );

        // ...
    }

    // ...
}