This library provides a curated list of ISCED-F 2013 fields of study for use in PHP applications.
composer require euf/isced
<?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");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