edalzell / statamic-forma

Give your Statamic addons a beautiful CP configuration page
MIT License
9 stars 4 forks source link

Allow using a different config file name from package name #14

Open vmitchell85 opened 1 year ago

vmitchell85 commented 1 year ago

As we discussed at FlatCamp it seems the best option is to add another parameter and update the navigation to use a new handle parameter that is then used by Forma to find the file.

MeMattStone commented 6 months ago

+1 for this feature. Would be good for when addons have their name changed but retain the original addon handle.

e.g. I recently renamed SendInBlue for Statamic to Bravo for Statamic but had to retain the configuration file name as sendinblue.php

edalzell commented 5 months ago

@vmitchell85 @MeMattStone we'd have to add it to the addon registration (\Edalzell\Forma\Forma::add('silentz/mailchimp', ConfigController::class);), would that be OK?