siketyan/kagawa-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

Kagawa Prefecture restriction for Symfony.

Fund package maintenance!
siketyan
Patreon

Installs: 4

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Type:symfony-bundle

v1.0.1 2020-04-01 06:24 UTC

This package is auto-updated.

Last update: 2023-04-29 01:16:29 UTC


README

kagawa-colored.svg

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