Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

siketyan/kagawa-bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kagawa Bundle

Packagist Version GitHub Workflow Status Licence

🚫 Kagawa Prefecture restriction for Symfony.


🚚 Prequisites

  • PHP ^7.3
  • Symfony ^4.4
  • MaxMind GeoIP Database (*.mmdb)

📦 Installation

  1. Download GeoIP database from MaxMind.
    https://dev.maxmind.com/geoip/

  2. Download the package from Packagist.

    $ composer require siketyan/kagawa-bundle
  3. Enable the bundle in config/bundles.php .

    <?php
    
    return [
        // ...
    +   Siketyan\KagawaBundle\SiketyanKagawaBundle::class => ['all' => true],
    ];
  4. Configure in config/packages/siketyan_kagawa.yaml .

    siketyan_kagawa:
      geoip_db: '/path/to/geoip_db.mmdb'
      message: 'Hint message'

📷 Screenshot

Screenshot