Ad

Get Plugin Version Number OctoberCMS

I was wondering if it is possible to get the plugin version number in an octoberCMS plugin, and how this is done. i've been looking for this on google but can't seem to find anything on the subject.

I'm trying to get the number in a controller, but if it is possible in any other way it would be great to hear.

Thanks in advance.

Ad

Answer

@Jasper de Vries you can check the version of plugin inside the version.yaml file under updates directory of the plugin.

Ad
source: stackoverflow.com
Ad