Skip to content

Small, fast library for matching browser lang code with country and local currency based on the main browser lang

Notifications You must be signed in to change notification settings

pilotpirxie/php-country-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Country and Currency Detection

How to use

<?php
// hook up a library
require 'CountryDetection.class.php';
// use static method and get country
// ex. New Zealand
echo CountryDetection::get('country');
// other nice stuff to detect
// ex. NZD
echo CountryDetection::get('currency');

License

MIT

About

Small, fast library for matching browser lang code with country and local currency based on the main browser lang

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages