boxybird / inertia-wordpress

The WordPress adapter for Inertia.js.
170 stars 26 forks source link

Add support for `composer/installers` #17

Closed alexstewartja closed 2 years ago

alexstewartja commented 2 years ago

Allows automatic installation into plugins directory via Composer Installer

boxybird commented 2 years ago

@alexstewartja Thanks for the PR!

However, I'm new to the "composer/installers" concept, and after going over their readme, I'm failing to understand how this benefits this package over the current install process.

If you wouldn't mind, I love to understand what problem/issue it solves?

mortensassi commented 2 years ago

@boxybird for me it helps me organizing my wp repos so that others won't miss a critical plugin like this one. with roots/bedrock you have a composer file in the root where i enter all important plugins and having yours marked as "wordpress-plugin" saves the work to manually it to /plugins

boxybird commented 2 years ago

Thanks for helping me understand, @mortensassi.

alexstewartja commented 2 years ago

@boxybird

@mortensassi explained it perfectly. The current install process assumes a plain vanilla WP directory structure. Like @mortensassi, I use Bedrock exclusively for its enhanced application security and pragmatic approach to dependency management.