wilzokch/php-malaysia-postcode-to-state

PHP library that convert Malaysia post code into state.


Keywords
package, template, composer
License
CNRI-Python-GPL-Compatible

Documentation

PHP Library - Convert Malaysia Post Code to State

This library will convert Malaysia Post Code to State

Installation via "composer require"

    composer require wilzokch/php-malaysia-postcode-to-state

Example


    use Wilzokch\MalaysiaPostcodeToState\MyPostCode;
    
    $postCode = new MyPostCode('84000');
    
    echo $postCode->getState(); // you will get "Johor"