Skip to content

A library that provides a list of US states and territories.

License

Notifications You must be signed in to change notification settings

cdtweb/us-states-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

US States List

Build Status

A library that provides a list of US states and territories.

Requirements

PHP 7

Installation

composer require cdtweb/us-states-list

Usage

<?php
use Cdtweb\UsStatesList;

// Get array of abbreviation => name for each state
$states = UsStatesList::all();

// Get array of abbreviations
$abbreviations = UsStatesList::abbreviations();

// Get array of names
$names = UsStatesList::names();
 

About

A library that provides a list of US states and territories.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages