siketyan / kagawa-bundle
Kagawa Prefecture restriction for Symfony.
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Type:symfony-bundle
Requires
- php: ^7.3
- geoip2/geoip2: ^2.10
- symfony/framework-bundle: ^4.4
- symfony/twig-bundle: ^4.4
- symfony/webpack-encore-bundle: ^1.7
Requires (Dev)
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2023-04-29 01:16:29 UTC
README
Kagawa Bundle
🚫 Kagawa Prefecture restriction for Symfony.
🚚 Prequisites
- PHP ^7.3
- Symfony ^4.4
- MaxMind GeoIP Database (*.mmdb)
📦 Installation
-
Download GeoIP database from MaxMind.
https://dev.maxmind.com/geoip/ -
Download the package from Packagist.
$ composer require siketyan/kagawa-bundle
-
Enable the bundle in config/bundles.php .
<?php return [ // ... + Siketyan\KagawaBundle\SiketyanKagawaBundle::class => ['all' => true], ];
-
Configure in config/packages/siketyan_kagawa.yaml .
siketyan_kagawa: geoip_db: '/path/to/geoip_db.mmdb' message: 'Hint message'