euf/isced

PHP library providing ISCED-F 2013 fields of study.

v0.1.0 2026-01-29 01:33 UTC

Requires

  • php: >=8.2

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT ac5056ab82c6383a6b50cbb3101e0a94d24e5272

  • Tiago Simões <tiago.simoes.woop@uni-foundation.eu>

This package is not auto-updated.

Last update: 2026-06-18 16:13:01 UTC


README

This library provides a curated list of ISCED-F 2013 fields of study for use in PHP applications.

Installation

composer require euf/isced

Usage example

<?php

require_once 'vendor/autoload.php';

use Isced\IscedFieldsOfStudy;

$iscedF = new IscedFieldsOfStudy();

$list = $iscedF->getList();

try {
 $is = $iscedF->isBroad("0711");
} catch (\Throwable $th) {
 echo($th->getMessage());
}

$tree = $iscedF->getTree();

echo(json_encode($tree, JSON_PRETTY_PRINT) . "\n");

Development

git clone https://github.com/EuropeanUniversityFoundation/isced_php.git
cd isced_php/
composer update --prefer-stable
php build.php
phpstan analyze src/ data/ build.php --level=10
phpcs src/ build.php
phpcs data/ --exclude=Generic.Files.LineLength