2017 © Pedro Peláez
 

library postcode

CIT Postcode class is a UK postcode validator.

image

citco/postcode

CIT Postcode class is a UK postcode validator.

  • Wednesday, May 11, 2016
  • by citco
  • Repository
  • 5 Watchers
  • 1 Stars
  • 90 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Citco Postcode : Simple UK postcode validator

Citco Postcode is developed by CIT Ltd.., (*1)

About

Simple UK postcode validation and parsing., (*2)

Installation

Composer

From the Command Line:, (*3)

composer require citco/postcode:dev-master

In your composer.json:, (*4)

``` json { "require": { "citco/postcode": "dev-master" } }, (*5)


## Basic Usage ```php $parser = new Postcode('Sl1 EY1'); $parser->isValid();//validates postcode $refactored_postcode = $parser->refactor();// sl1ey2 ===> SL1 EY2

License

Citco Postcode is open source software licensed under the MIT license, (*6)

Copyright Creative Investments Technologies, (*7)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:, (*8)

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software., (*9)

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE., (*10)

The Versions

11/05 2016

dev-master

9999999-dev

CIT Postcode class is a UK postcode validator.

  Sources   Download

The Requires

  • php >=5.4.0
  • braemoor/postcode 5.*

 

by Amir