Allow to retrieve skill and skill set by ID.
Returns PHP classes with proper getter for most important info.
All info are available via PHP array from those classes.
As those are still supported and used by many Unix distributions.
Many software is running on PHP 7.2 and 7.3 and the code base should
support those versions.
Link looks more like a service.
When dealing with dependency injection it would make sense to create a
single instance with settings.
Following calls can then ask to create a button or link with all
necessary information.