【文件属性】:
文件名称:NucleosMapsBundle:bundle此捆绑包在symfony应用程序中提供了简单的地图渲染
文件大小:586KB
文件格式:ZIP
更新时间:2021-04-07 11:22:49
php googlemaps symfony maps bundle
NucleosMaps捆绑
该捆绑软件在symfony应用程序中提供了简单的地图呈现。
安装
打开命令控制台,输入项目目录并执行以下命令以下载此捆绑包的最新稳定版本:
composer require nucleos/maps-bundle
composer require geocoder-php/nominatim-provider # if you want OpenStreetMaps Geocoder
启用捆绑
然后,通过将捆绑包添加到项目的config/bundles.php文件中已注册捆绑包的列表中来启用捆绑包:
// config/bundles.php
return [
// ...
Nucleos \ MapsBundle \ NucleosMapsBundle ::class => [ 'all' => true ],
];
配置捆绑
创建一个名
【文件预览】:
NucleosMapsBundle-2.0.x
----README.md(3KB)
----CHANGELOG.md(2KB)
----composer.json(4KB)
----composer-require.json(4B)
----src()
--------Twig()
--------Resources()
--------DependencyInjection()
--------NucleosMapsBundle.php(340B)
--------Block()
----LICENSE.md(1KB)
----phpmd.xml(1KB)
----assets()
--------test()
--------package.json(3KB)
--------dist()
--------src()
--------yarn.lock(368KB)