I have built 2 WordPress plugins: Shared Files PRO and Contact List PRO.
They both have a free version, distributed via the WordPress plugin repository (Shared Files and Contact List). The premium/pro version is implemented using Freemius SDK. More info on Freemius here.