A PHP extension is an external PHP library that accomplishes particular goals. The YAML extension provides a small but powerful library of functions to PHP.
In Linux, the PHP YAML library can be installed with the following command: apt install php7.X-yaml
where X is the version of PHP 7 you are using. This installation command also enables the extension in PHP.
11 / 2019