euf/isced

PHP library providing ISCED-F 2013 fields of study.

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

This package is not auto-updated.

Last update: 2026-01-29 14:23:26 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