World countries - available in multiple languages, in CSV, JSON, PHP, SQL and XML formats

Overview

zebrajs

World countries  Tweet

available in multiple languages, in CSV, JSON, PHP, SQL and XML formats, with associated codes as defined by the ISO 3166 standard, and with national flags included; also available are the ISO 3166-2 codes used for identifying the principal subdivisions (e.g., provinces or states) of all countries coded in ISO 3166-1

npm Total Monthly JSDelivr License

Constantly updated lists of world countries, territories and areas of geographical interest, with associated alpha-2, alpha-3 and numeric codes as defined by the ISO 3166-1 standard, published and maintained by the International Organization for Standardization, available in CSV, JSON, PHP, SQL and XML formats, in multiple languages and with national flags included. Also available are the ISO 3166-2 codes used for identifying the principal subdivisions (e.g., provinces or states) of all countries coded in ISO 3166-1.

In the language folders (inside data/countries) you will find files named in two different ways.
Here's what you will find in each of them:

File names Content
world.* Files named like this contain all the 249 countries, territories, and areas of geographical interest that have an officially assigned ISO 3166-1 code.
countries.* Files named like this contain 195 entries made up from the 193 sovereign states (commonly referred to as countries) that are members of the United Nations (UN) plus the 2 observer states of Palestine and the Vatican City State.

Note that there are 206 sovereign states in the world, the 11 states that are missing from the countries list being the ones having their sovereignty disputed. See the list of sovereign states with information on their status and recognition of their sovereignty.

The files contain:

  • the ISO 3166-1 numeric country codes
  • the ISO 3166 official short names in English1
  • the ISO 3166-1 alpha-2 two-letter country codes2
  • the ISO 3166-1 alpha-3 three-letter country codes2

1 for other languages the country names are in that particular language
2 ISO 3166-1 alpha codes are uppercase but this library provides them in lowercase

The lists are currently available in 31 languages:

  • Arabic
  • Armenian
  • Basque
  • Bulgarian
  • Chinese (Simplified)
  • Chinese (Traditional)
  • Czech
  • Danish
  • Dutch
  • English
  • Esperanto
  • Estonian
  • Finnish
  • French
  • German
  • Greek
  • Hungarian
  • Italian
  • Japanese
  • Korean
  • Lithuanian
  • Norwegian
  • Polish
  • Portuguese
  • Romanian
  • Russian
  • Slovak
  • Spanish
  • Swedish
  • Thai
  • Ukrainian

The language folders are named based on the ISO 639-1 standard.

ISO 3166-2 codes

The project also tries to be a comprehensive and up-to-date source for ISO 3166-2 which defines codes for identifying the principal subdivisions (e.g., provinces or states) of all countries coded in ISO 3166-1.

The purpose of ISO 3166-2 is to establish an international standard of short and unique alphanumeric codes to represent the relevant administrative divisions and dependent territories of all countries in a more convenient and less ambiguous form than their full names. Each complete ISO 3166-2 code consists of two parts, separated by a hyphen:

US-TX for Texas, USA

The first part is the ISO 3166-1 alpha-2 code of the country; The second part is a string of up to three alphanumeric characters, which is usually obtained from national sources and stems from coding systems already in use in the country concerned, but may also be developed by the ISO itself. Each complete ISO 3166-2 code can then be used to uniquely identify a country subdivision in a global context.

The list is available in CSV, JSON, PHP, SQL and XML formats in the data/subdivisions folder and the CSV one looks like this:

US,US-AL,Alabama
US,US-AK,Alaska
US,US-AZ,Arizona
US,US-AR,Arkansas
US,US-CA,California
US,US-CO,Colorado

The starting point of this list was the ISO 3166-2 Subdivision Code list provided by IP2Location but this one will be maintained by the community.

🎂 Support the development of this project

Your support means a lot and it keeps me motivated to keep working on open source projects.
If you like this project please it by clicking on the star button at the top of the page.
If you are feeling generous, you can buy me a coffee by donating through PayPal, or you can become a sponsor.
Either way - Thank you! 🎉

Star it on GitHub Donate

Installation

The lists are available as a npm package. To install it use:

# the "--save" argument adds the plugin as a dependency in packages.json
npm install world_countries_lists --save

You can install the lists via Composer

composer require stefangabos/world_countries

Alternatively, you can load data from JSDelivr CDN like this:

">
<script src="https://cdn.jsdelivr.net/npm/world_countries_lists@latest/data/countries/en/countries.json">script>

Or

download a customized build.

Data formats

SQL

Excerpt from the data/countries/en/countries.sql file:

(250,'fr','fra','France'),
(266,'ga','gab','Gabon'),
(270,'gm','gmb','Gambia'),
(268,'ge','geo','Georgia'),
(276,'de','deu','Germany'),
(288,'gh','gha','Ghana'),
(300,'gr','grc','Greece'),
(308,'gd','grd','Grenada'),

CSV

Excerpt from the data/countries/en/countries.csv file:

250,fr,fra,France
266,ga,gab,Gabon
270,gm,gmb,Gambia
268,ge,geo,Georgia
276,de,deu,Germany
288,gh,gha,Ghana
300,gr,grc,Greece
308,gd,grd,Grenada

JSON

Excerpt from the data/countries/en/countries.json file:

{"id":250,"alpha2":"fr","alpha3":"fra","name":"France"},
{"id":266,"alpha2":"ga","alpha3":"gab","name":"Gabon"},
{"id":270,"alpha2":"gm","alpha3":"gmb","name":"Gambia"},
{"id":268,"alpha2":"ge","alpha3":"geo","name":"Georgia"},
{"id":276,"alpha2":"de","alpha3":"deu","name":"Germany"},
{"id":288,"alpha2":"gh","alpha3":"gha","name":"Ghana"},
{"id":300,"alpha2":"gr","alpha3":"grc","name":"Greece"},
{"id":308,"alpha2":"gd","alpha3":"grd","name":"Grenada"},

Here's a little helper function for searching for a specific country's data

The helper function assumes that the JSON with the countries data is associated with a variable named countries which is in the same scope as the function

The helper function is to be used with the non-combined data sets.
For the combined data sets you can write the function yourself.

//  returns an object with the sought country's data if the search yields a result
//  returns undefined if no results could be found or if argument is incorrect
function search_country(query) {

    // if argument is not valid return false
    if (undefined === query.id && undefined === query.alpha2 && undefined === query.alpha3) return undefined;

        // iterate over the array of countries
	return countries.filter(function(country) {

        // return country's data if
        return (
            // we are searching by ID and we have a match
            (undefined !== query.id && parseInt(country.id, 10) === parseInt(query.id, 10))
            // or we are searching by alpha2 and we have a match
            || (undefined !== query.alpha2 && country.alpha2 === query.alpha2.toLowerCase())
            // or we are searching by alpha3 and we have a match
            || (undefined !== query.alpha3 && country.alpha3 === query.alpha3.toLowerCase())
        )

    // since "filter" returns an array we use pop to get just the data object
    }).pop()

}

Usage

search_country({id: 250})
search_country({alpha2: 'fr'})
search_country({alpha3: 'fra'})

TypeScript

Typings are available (source):

import { Country, LanguageCode, TranslatedCountry } from 'world_countries_lists'

PHP

Excerpt from the data/countries/en/countries.php file:

250 => array('id' => 250, 'alpha2' => 'fr', 'alpha3' => 'fra', 'name' => 'France'),
266 => array('id' => 266, 'alpha2' => 'ga', 'alpha3' => 'gab', 'name' => 'Gabon'),
270 => array('id' => 270, 'alpha2' => 'gm', 'alpha3' => 'gmb', 'name' => 'Gambia'),

Here's a little helper function for searching for a specific country's data

The helper function is to be used with the non-combined data sets.
For the combined data sets you can write the function yourself.

//  this function assumes that you have done this:
$countries = require 'path/to/countries.php';

//  returns an array with the sought country's data if the search yields a result
//  returns false if no results could be found or if argument is incorrect
function search_country($query) {

    // make the countries available in the function
    global $countries;

    // if argument is not valid return false
    if (!isset($query['id']) && !isset($query['alpha2']) && !isset($query['alpha3'])) return false;

    // iterate over the array of countries
    $result = array_filter($countries, function($country) use ($query) {

        // return country's data if
        return (
            // we are searching by ID and we have a match
            (isset($query['id']) && $country['id'] == $query['id'])
            // or we are searching by alpha2 and we have a match
            || (isset($query['alpha2']) && $country['alpha2'] == strtolower($query['alpha2']))
            // or we are searching by alpha3 and we have a match
            || (isset($query['alpha3']) && $country['alpha3'] == strtolower($query['alpha3']))
        );

    });

    // since "array_filter" returns an array we use pop to get just the data object
    // we return false if a result was not found
    return empty($result) ? false : array_pop($result);

}

Usage

search_country(array('id' => 250));
search_country(array('alpha2' => 'fr'));
search_country(array('alpha3' => 'fra'));

XML

Excerpt from the data/countries/en/countries.xml file:

">
<country id="250" alpha2="fr" alpha3="fra" name="France"/>
<country id="266" alpha2="ga" alpha3="gab" name="Gabon"/>
<country id="270" alpha2="gm" alpha3="gmb" name="Gambia"/>
<country id="268" alpha2="ge" alpha3="geo" name="Georgia"/>
<country id="276" alpha2="de" alpha3="deu" name="Germany"/>
<country id="288" alpha2="gh" alpha3="gha" name="Ghana"/>
<country id="300" alpha2="gr" alpha3="grc" name="Greece"/>
<country id="308" alpha2="gd" alpha3="grd" name="Grenada"/>

Flags

The package also contains the national flags of each country as a 16x16, 24x24, 32x32, 48x48, 64x64 and 128x128 PNG images, courtesy of IconDrawer. The image files are named using the ISO 3166-1-alpha-2 code of the country they represent, for easily pairing flags with countries.

Flag images are also available as single JSON files, one for each of the available sizes, containing all flag images as data-uri

Data sources

Country names in all languages are taken from Wikipedia.

Comments
  • Add new language: basque

    Add new language: basque

    Hi:

    This project has been very useful for us to get the translations of the country names for a project.

    Can you please add basque (eu) translations? The wikipedia page is up to date with official basque names, and if someone is missing I will update it right away:

    opened by erral 16
  • Typo in readme causing error

    Typo in readme causing error

    In the readme.md there are a few error's causing error's in the code. search_county(array('id' => 250}); search_county(array('alpha2' => 'fr'}); search_county(array('alpha3' => 'fra'});

    =>

    1. This should be search_country instead of county!
    2. This should be )); instead of });
    3. $countries = require 'path/to/countries.php'; does not work, you need just require 'path/to/countries.php'; This one already creates the $countries variable.
    4. Your sample code does not seem to work with the _combined file.

    The sample php code also does not work, I get following error: Fatal error: Uncaught TypeError: array_filter(): Argument #1 ($array) must be of type array, int given in C:\xampp\htdocs\account.php:214 Stack trace: #0 C:\xampp\htdocs\account.php(214): array_filter(1, Object(Closure)) #1 C:\xampp\htdocs\account.php(222): search_country(Array) #2 {main} thrown in C:\xampp\htdocs\account.php on line 214

    I tried both loading the _combined as the language specific file, neither solves the issue. /vendor/stefangabos/world_countries/data/countries/en/countries.php

    • Maybe add an example how to use it using composer?
    opened by KRens 14
  • Armenian country and subdivision names

    Armenian country and subdivision names

    Hi! I'd like to contribute the Armenian translations for country and also (some) subdivision names. In #60 you mention you do not take any direct contributions for country names but rather fetching them from Wikipedia. If that's the case, this is the page that can be used for it https://hy.wikipedia.org/wiki/ISO_3166-1. Please suggest if the format is not suitable, or otherwise if the direct PR with translation is needed. Also, any idea how to maintain subdivision name translations?

    opened by t1gr4n 9
  • ISO 3166-2 Province/State/Region Offical Breakout of Countires

    ISO 3166-2 Province/State/Region Offical Breakout of Countires

    I am not sure what kind of scripting you have to bread this out, but what about adding the ISO 3166-2 as a seperate data file

    Pulling data from the official ISO website is probably a good idea anyway as it is the official source.

    https://www.iso.org/obp/ui/#iso:pub:PUB500001:en

    depending on your script you cold pull AA -ZZ and get all official ISO names/countries and the breakout of countries. like province/state/region etc.

    I would ask you to remove the * from the sub area code names

    Tanzania https://www.iso.org/obp/ui/#iso:code:3166:TZ

    Subdivision category | 3166-2 code | Subdivision name | Local variant | Language code | Romanization system | Parent subdivision -- | -- | -- | -- | -- | -- | -- region | TZ-01 | Arusha |   | sw |   |   region | TZ-19 | Coast |   | en |   |   region | TZ-02 | Dar es Salaam |   | sw |   |   region | TZ-03 | Dodoma |   | sw |   |   region | TZ-27* | Geita |   | sw |   |   region | TZ-04 | Iringa |   | sw |   |   region | TZ-05 | Kagera |   | sw |   |   region | TZ-06 | Kaskazini Pemba |   | sw |   |   region | TZ-07 | Kaskazini Unguja |   | sw |   |   region | TZ-28* | Katavi |   | sw |   |   region | TZ-08 | Kigoma |   | sw |   |   region | TZ-09 | Kilimanjaro |   | sw |   |   region | TZ-10 | Kusini Pemba |   | sw |   |   region | TZ-11 | Kusini Unguja |   | sw |   |   region | TZ-12 | Lindi |   | sw |   |   region | TZ-26* | Manyara |   | sw |   |   region | TZ-13 | Mara |   | sw |   |   region | TZ-14 | Mbeya |   | sw |   |   region | TZ-15 | Mjini Magharibi |   | sw |   |   region | TZ-16 | Morogoro |   | sw |   |   region | TZ-17 | Mtwara |   | sw |   |   region | TZ-18 | Mwanza |   | sw |   |   region | TZ-29* | Njombe |   | sw |   |   region | TZ-06 | Pemba North |   | en |   |   region | TZ-10 | Pemba South |   | en |   |   region | TZ-19 | Pwani |   | sw |   |   region | TZ-20 | Rukwa |   | sw |   |   region | TZ-21 | Ruvuma |   | sw |   |   region | TZ-22 | Shinyanga |   | sw |   |   region | TZ-30* | Simiyu |   | sw |   |   region | TZ-23 | Singida |   | sw |   |   region | TZ-31 | Songwe |   | en |   |   region | TZ-31 | Songwe |   | sw |   |   region | TZ-24 | Tabora |   | sw |   |   region | TZ-25 | Tanga |   | sw |   |   region | TZ-07 | Zanzibar North |   | en |   |   region | TZ-11 | Zanzibar South |   | en |   |   region | TZ-15 | Zanzibar West |   | en

    opened by asjones987 8
  • Separate simplified and traditional Chinese versions needed

    Separate simplified and traditional Chinese versions needed

    Some of the countries have different translation in simplified and traditional Chinese, thus should be collected separately. For example, Antigua and Barbuda(zh-tw:安地卡及巴布達; zh-cn:安提瓜和巴布达) and Cyprus(zh-tw:賽普勒斯;zh-cn:塞浦路斯). Wikipedia provides many kinds of Chinese variation, including Mainland China Chinese(zh-cn), Taiwan Chinese(zh-tw), Hong Kong Chinese(zh-hk)(not to be confused w/ Cantonese), Macau Chinese(zh-mo), Singapore Chinese(zh-sg) and Malaysia Chinese(zh-my). Mainly zh-cn and zh-tw are needed, but finishing all these versions is appreciated.

    opened by peter17ji 7
  • How to add flags inside to database

    How to add flags inside to database

    Hello!

    Sorry about my question maybe it will be out of logic but how can i added the flags inside to database you privide ? Also flags i downloaded from your code.

    Thank you very much!

    opened by PetrosPoll 6
  • JSON with data URI flags

    JSON with data URI flags

    Many thanks for this stuff, it came really handy to me.

    It would be nice if you could provide a JSON file that would contain flags as data URI strings, or perhaps just an additional JSON with alpha2 + data URI properties. This way they could be downloaded in one request instead of many. For example, in a current project we needed a country dropdown with flags and that would mean 193 individual image request.

    image

    I manually created such JSON in a web controller and added to a cache, but an "official" version would be nice.

    opened by rolandtoth 6
  • wrong format of swiss flag

    wrong format of swiss flag

    The swiss flag has the wrong format. It should have a square format and not a rectangle.

    https://www.swissinfo.ch/eng/olympic-parade_the-swiss-flag-is-square---except-when-it-isn-t/43873350

    opened by maisen20 6
  • php - use return statement instead of assignment

    php - use return statement instead of assignment

    Hopefully code samples explain all ;)

    Current

    require '...../world.php'; // $world = [...]
    
    // where the heck the $world variable is coming from? phpstan/psalm/editor complains about undefined variable
    print_r($world); 
    

    Proposal

    $world = require '...../world.php'; // return [...]
    
    // all is well
    print_r($world); 
    
    enhancement 
    opened by jacekkarczmarczyk 5
  • alpha-2 and alpha-3 data violates ISO 3166-1:2020

    alpha-2 and alpha-3 data violates ISO 3166-1:2020

    Chapter 5.1 says:

    LATIN CAPITAL LETTER A through LATIN CAPITAL LETTER Z; Code elements alpha-2 and alpha-3 are formed with LETTERS,

    All country codes in data is wrong because it does not use uppercase letters, but lowercase letters. Lowercase letters are used with ISO 639 for languages only.

    Please correct the data.

    opened by michael-o 4
  • English translation of Viet Nam

    English translation of Viet Nam

    English isn't my first language but when I saw the name for "Viet Nam" it felt off. I double checked and it seems to me that the name should be Vietnam".

    https://en.wikipedia.org/wiki/Vietnam https://politics.stackexchange.com/questions/25642/preferred-or-correct-english-spelling-vietnam-or-viet-nam

    opened by StefanJanssen95 4
  • Change data source to official EU data

    Change data source to official EU data

    As I understand actually you take the data from Wikipedia. There may be some of "poetic freedom" inside. Is it not more convenient to use official EU data (or to verify with them). They are well maintained and contain some more data (e. g. the capital and the currency, currency subunit and currency code) and all 24 EU languages. http://publications.europa.eu/code/en/en-5000500.htm http://publications.europa.eu/code/de/de-5000500.htm http://publications.europa.eu/code/fr/fr-5000500.htm http://publications.europa.eu/code/lt/lt-5000500.htm ...

    enhancement 
    opened by 463 1
  • Kosovo is missing in world list

    Kosovo is missing in world list

    FIrst of all, thanks for work!

    I've recently used your world list to translate a list of around 250 country codes. But I've noticed that the country code "xk" for "Kosovo" didn't get translated and after further research I found, that Kosovo and it's code are not represented in your world list based on ISO-3166.

    Opening up the german wikipedia page for ISO-3166 it is there, but not on the englisch wikipedia page it doesn't seem to be there.

    Notice, that Kosovo doesn't have a numeric ISO-3166 code

    I'm not sure, if not containing Kosovo is intended, but in case not, I wanted to notify you of my findings.

    opened by totti-rdz 3
  • Will you take ISO-639-2 ?

    Will you take ISO-639-2 ?

    Hi, I was curious to know that do you only take contribution (Translation of Country names in various ways) for ISO-632-1 ( having two language code names) only? More clearly can i contribute for the translation of the country names in language with only three ISO codes https://en.wikipedia.org/wiki/List_of_ISO_639-2_codes like Santali language.. As i have seen only 2 iso coded languages contributions in translation.

    opened by Prasanta-Hembram 3
  • Add native country name

    Add native country name

    Could you please add the name of the country in their respective native language? For countries with several languages, use the official, primary or most spoken language.

    opened by benbucksch 1
Releases(2.6.0)
  • 2.6.0(Jun 19, 2022)

  • 2.5.1(May 10, 2022)

  • 2.5.0(Mar 30, 2022)

    • added ISO 3166-2 codes; see #61; thanks to Alan Jones for providing the links; what we have at this point should be considered as a start - a lot of codes are missing (according to Wikipedia which says there are 5047 while our list has only 3607) and names are written in their anglicized version rather than local - this will have to be updated by the community
    • added Esperanto language
    • updated formatting and usage of PHP files; thanks to Jacek Karczmarczyk for suggesting - see #58
    Source code(tar.gz)
    Source code(zip)
  • 2.4.0(Feb 6, 2022)

    • added XML file format
    • added combined lists; see #29
    • aded a note about the fact that alpha-2 and alpha-3 codes are lowercase instead of uppercase as defined by ISO 3166-1; see #50
    • fixed id of Sudan for Swedish language
    • fixed broken SQL files
    • changed folder structure in preparations for adding more data to the library; for now, countries moved to their own countries folder inside the data folder and the flags folder was moved inside the data folder
    Source code(tar.gz)
    Source code(zip)
  • 2.3.0(Sep 28, 2021)

    • flags are now available as JSON files with data uris; see #41
    • fixed folder name for Estonian translations; see #52
    • fixed a potential issue with the lists for German language by removing a soft-hyphen (\u00ad) from country names; see #54
    • fixed broken download links for Basque
    Source code(tar.gz)
    Source code(zip)
  • 2.2.0(Jun 11, 2021)

  • 2.1.1(Oct 17, 2020)

  • 2.1.0(Oct 15, 2020)

  • 2.0.0(Sep 25, 2020)

    • added Basque translation; thanks erral!
    • changed data folder name for Chinese (Simplified) from cn to zh to correctly reflect ISO-639 language codes
    • changed data folder name for Chinese (Traditional) from cn to zh-tw to correctly reflect ISO-639 language codes
    • changed data folder name for Estonian from et to ee to correctly reflect ISO-639 language codes
    • updates to some country names in Arabic, German, Ukrainian, Traditional Chinese
    Source code(tar.gz)
    Source code(zip)
  • 1.1.1(Aug 2, 2020)

  • 1.1.0(Aug 2, 2020)

  • 1.0.2(May 22, 2020)

    • added Swedish translations
    • Chinese translations are now in simplified Chinese instead of a mix (see #32); thanks Sun Jiao for the help!
    • fixed #33 where the country code of Sudan, for some translations, it was saved as string instead of int in the JSON format - thanks (Ruben Lie King)[https://github.com/rl-king] for reporting!
    • all data in files is up to date as of May 22nd, 2020
    Source code(tar.gz)
    Source code(zip)
Owner
Stefan Gabos
Web developer working from Bucharest, Romania. I'm half Hungarian, stubborn, articulate, and slightly afraid of women.
Stefan Gabos
🌐 A minimalist languages library that made plugins support multiple languages.

libLanguages · libLanguages is a PocketMine-MP library for making plugins support multiple languages. Easy To Learn: Just declare it in onEnable() fun

thebigcrafter 1 May 1, 2022
Provide CSV, JSON, XML and YAML files as an Import Source for the Icinga Director and optionally ship hand-crafted additional Icinga2 config files

Icinga Web 2 Fileshipper module The main purpose of this module is to extend Icinga Director using some of it's exported hooks. Based on them it offer

Icinga 25 Sep 18, 2022
Improve default Magento 2 Import / Export features - cron jobs, CSV , XML , JSON , Excel

Improve default Magento 2 Import / Export features - cron jobs, CSV , XML , JSON , Excel , mapping of any format, Google Sheet, data and price modification, improved speed and a lot more!

Firebear Studio 173 Dec 17, 2022
JSONFinder - a library that can find json values in a mixed text or html documents, can filter and search the json tree, and converts php objects to json without 'ext-json' extension.

JSONFinder - a library that can find json values in a mixed text or html documents, can filter and search the json tree, and converts php objects to json without 'ext-json' extension.

Eboubaker Eboubaker 2 Jul 31, 2022
A plugin to make life easier for users who need to edit specific functions of a world and also create, rename and delete worlds quickly using commands or the world management menu.

A plugin to make life easier for users who need to edit specific functions of a world and also create, rename and delete worlds quickly using commands or the world management menu.

ImperaZim 0 Nov 6, 2022
YCOM Impersonate. Login as selected YCOM user 🧙‍♂️in frontend.

YCOM Impersonate Login as selected YCOM user in frontend. Features: Backend users with admin rights or YCOM[] rights, can be automatically logged in v

Friends Of REDAXO 17 Sep 12, 2022
A horrendous PM plugin to manually load all the chunks in your world without logging on. Only for the sole purpose of aiding in PM4 -> DF world conversion.

ChunkLoader A horrendous PM plugin to manually load all the chunks in your world without logging on. Only for the sole purpose of aiding in PM4 -> DF

null 2 Aug 10, 2022
Magento commands to find translations that are present in one CSV file but not in another, and to translate CSV dicts with DeepL

Hyvä Themes - Magento translation CSV comparison command hyva-themes/magento2-i18n-csv-diff This module adds the bin/magento i18n:diff-csv and i18n:tr

Hyvä 6 Oct 26, 2022
A comprehensive library for generating differences between two strings in multiple formats (unified, side by side HTML etc). Based on the difflib implementation in Python

PHP Diff Class Introduction A comprehensive library for generating differences between two hashable objects (strings or arrays). Generated differences

Chris Boulton 708 Dec 25, 2022
Learning about - Basic HTML & CSS, JSON, XML, Session & Cookies, CRUD Operations in Php using MySQL and Create MVC from scratch

This Project is based on course CSC 3215. Learning about - Basic HTML & CSS, JSON, XML, Session & Cookies, CRUD Operations in Php using MySQL and Create MVC (Model–View–Controller) from scratch. Just learning about web technologies, Not focusing on UI (Bootstrap or other 3rd-Party UI libraries or frameworks).

Alvi Hasan 5 Sep 21, 2022
The main website source code based on php , html/css/js and an independent db system using xml/json.

jsm33t.com Well umm, a neat website LIVE SITE » View Demo · Report Bug · Request a feature About The Project Desc.. Built Using Php UI Frameworks Boot

Jasmeet Singh 5 Nov 23, 2022
A small CLI tool to check missing dependency declarations in the composer.json and module.xml

Integrity checker Package allows to run static analysis on Magento 2 Module Packages to provide an integrity check of package. Supported tools: Compos

run_as_root GmbH 13 Dec 19, 2022
The easiest way to match data structures like JSON/PlainText/XML against readable patterns. Sandbox:

PHP Matcher Library created for testing all kinds of JSON/XML/TXT/Scalar values against patterns. API: PHPMatcher::match($value = '{"foo": "bar"}', $p

Coduo 774 Dec 31, 2022
Sistema disema con aplicación de consultas en XML y JSON

disema-XML-JSON Sistema web para empresa de diseño "Disema", con operaciones básicas CRUD y uso de html, JQ, JS, php y css. Incluye aplicación de cons

null 1 Jan 12, 2022
laminas-xml2json provides functionality for converting XML structures to JSON

laminas-xml2json This package is considered feature-complete, and is now in security-only maintenance mode, following a decision by the Technical Stee

Laminas Project 13 Dec 28, 2022
Import data from and export data to a range of different file formats and media

Ddeboer Data Import library This library has been renamed to PortPHP and will be deprecated. Please use PortPHP instead. Introduction This PHP library

David de Boer 570 Dec 27, 2022
This package is used to validate the telephone numbers of the countries taken into account. It also makes it possible to verify that a number is indeed a number of an operator X

phone-number-checker This package is used to validate the telephone numbers of the countries taken into account. It also makes it possible to verify t

faso-dev 4 Feb 7, 2022
Helper for countries laravel package

Countries helper Helper for countries laravel package Installation You can install the package via composer: composer require eliseekn/countries-helpe

Kouadio Elisée N'GUESSAN 1 Oct 15, 2021
This project is very diverse and based upon many languages and libraries such as C++, Python, JavaScript, PHP and MQTT

ADMS-Real-time-project This project is very diverse and based upon many languages and libraries such as C++, Python, JavaScript, PHP and MQTT Advance_

Nitya parikh 1 Dec 1, 2021