d-novation / is_eu
Сheck that the country is a EU member state by 2 character country code (iso 3166)
Installs: 212
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/d-novation/is_eu
Requires
- php: >=7.4
This package is not auto-updated.
Last update: 2025-12-20 01:37:26 UTC
README
Сheck that the country is a EU member state by 2 character country code (iso 3166)
Installation
This project using composer.
$ composer require d-novation/is_eu
Usage
Сheck that the country is a EU member state by 2 character country code (iso 3166)
<?php
use function Dnovation\is_EU;
$result = is_EU('DE'); // true
or
<?php
use Dnovation\IsEu;
$result = IsEu::check('DE'); // true