I’m attempting to use Bedrock for a new site I’m building. The site uses Gravity Forms, which is unavailable both on WPackagist and GitHub.
The /app/plugins/ directory is .gitignored, so when I do a push to deploy the stuff to the server, none of the plugins are being deployed with it (though the theme is, which makes sense).
That’s all well and good, as I then SSH to the server and run composer install, but of course since GravityForms isn’t on composer it is not installed. At this point my options are either to:
- Modify .gitignore to specifically allow this plugin to be uploaded and tracked in git.
- Manually upload the files for this plugin.
Surely there’s a better way? I’ve read a couple guides about turning the plugin into a composer package, but at that point wouldn’t I still have to upload it to a repo or something so Composer will be able to download it?
Is there any way to tell composer “this thing is a plugin, it’s a package but it doesn’t have a remote source. the source exists locally in this location. take it from there and install it to the regular folder with the rest of the plugins”.
Sorry if any of this is vague, and thanks in advance!