geostack/languages

A list of languages

v0.0.2 2020-09-15 17:10 UTC

This package is auto-updated.

Last update: 2024-12-16 02:34:10 UTC


README

The GeoStack Languages library provides ISO 639-3 language names, with data provided by GeoNames. This library automatically updates its data everyday.

Installation

composer require geostack/languages

Usage

Language::findByCode('eng'); // ['code' => 'eng', 'name' => 'English']

// or

Language::all(); // all languages