verbb / field-manager

Field Manager is a Craft CMS plugin to make it easy to manage your fields and field groups.
MIT License
199 stars 16 forks source link

Add composer support #29

Closed khamer closed 7 years ago

khamer commented 8 years ago

By moving the guts up a level and adding a simple composer.json file, this plugin can be compatible with composer/installers, which allows for developer to use composer to update and manage versions of craft plugins.

If you accept this pull request, the next step would be to add this plugin to Packagist with your other one(s).

engram-design commented 8 years ago

I've considered this for all our plugins - I'm just not sold on the lack of fieldmanager folder. I'd much prefer people download/clone the repository and copy/paste the folder straight in. I'd also rather not bundle other non-plugin files such as screenshots, examples, readme and other files, it just become messy.

Will leave open after I ponder - I certainly see the benefit for people using Composer, but also know the Craft Plugin store will make all this a moot point...

jackmcpickle commented 7 years ago

👍 for this as craft 3 uses composer out of the box. But up to you. Some of us are just more version control freaks. 😄