Skip to content
Methods relating to Europe and the European Union.
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitattributes
.gitignore
.travis.yml
LICENSE
README.md
composer.json

README.md

European

Downloads License If this project has business value for you then don't hesitate to support me with a small donation.

Methods relating to Europe and the European Union.

Usage

use peterkahl\European\European;

echo (European::ShallTheUKRemainInTheEuropeanUnion()) ? 'yes' : 'no'; # yes, say those who have a brain.

echo (European::isBorisJohnsonCrookedLiar()) ? 'yes' : 'no';  # yes, of course! He shall be prosecuted.

echo (European::isEuropeanCountry('RU')) ? 'yes' : 'no';      # no
echo (European::isEuropeanCountry('AL')) ? 'yes' : 'no';      # yes

echo (European::isEEACountry('AR')) ? 'yes' : 'no';           # no
echo (European::isEEACountry('NO')) ? 'yes' : 'no';           # yes

echo (European::isEuropeanUnionCountry('CA')) ? 'yes' : 'no'; # no
echo (European::isEuropeanUnionCountry('GB')) ? 'yes' : 'no'; # yes

echo (European::countryUsesEuro('GB')) ? 'yes' : 'no';        # no
echo (European::countryUsesEuro('MC')) ? 'yes' : 'no';        # yes
You can’t perform that action at this time.