d-novation/is_eu

Сheck that the country is a EU member state by 2 character country code (iso 3166)

dev-main 2023-01-05 16:46 UTC

This package is not auto-updated.

Last update: 2025-06-20 23:32:24 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