Skip to content

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

 
 
 

Contributors

Languages