phlexible / google-maps-bundle
phlexible google maps bundle
1.1.0
2017-01-27 13:47 UTC
Requires
- php: >=5.6.0
- ext-json: *
Requires (Dev)
- phlexible/gui-bundle: ~1.3
- phpunit/phpunit: ~5.6
This package is auto-updated.
Last update: 2024-09-08 06:37:14 UTC
README
PhlexibleGoogleMapsBundle 为 phlexible 添加了基于国家的内容支持。
安装
- 使用 composer 下载 PhlexibleGoogleMapsBundle
- 启用 Bundle
- 清除 symfony 缓存
步骤 1:使用 composer 下载 PhlexibleGoogleMapsBundle
运行以下命令添加 PhlexibleGoogleMapsBundle
$ php composer.phar require phlexible/google-maps-bundle "~1.0.0"
Composer 会将 bundle 安装到项目的 vendor/phlexible
目录。
步骤 2:启用 Bundle
在 kernel 中启用 Bundle
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Phlexible\Bundle\GoogleMapsBundle\PhlexibleGoogleMapsBundle(), ); }
步骤 3:清除 symfony 缓存
如果您的 phlexible 应用程序运行在环境 prod,请清除缓存
$ php app/console cache:clear --env=prod