tombroucke / otomaties-social-media-picture-generator
Allow visitors to generate a social media picture with a custom overlay
Package info
github.com/tombroucke/otomaties-social-media-picture-generator
Type:wordpress-plugin
pkg:composer/tombroucke/otomaties-social-media-picture-generator
1.0.8
2025-01-17 08:21 UTC
Requires
- php: >=8
- stoutlogic/acf-builder: ^1.12
Requires (Dev)
- php-stubs/acf-pro-stubs: ^6.0
- phpunit/phpunit: ^9.5
- squizlabs/php_codesniffer: ^3.6
- szepeviktor/phpstan-wordpress: ^1.1
README
Clone
git clone git@github.com:tombroucke/plugin-boilerplate.git
Rename
PLUGIN_NAME="my-plugin" PLUGIN_NAMESPACE="MyPlugin" rm -rf plugin-boilerplate/.git mv plugin-boilerplate/plugin-boilerplate.php plugin-boilerplate/"$PLUGIN_NAME".php mv plugin-boilerplate "$PLUGIN_NAME" find "$PLUGIN_NAME" -type f -name '*.php' -not -path '"$PLUGIN_NAME"/vendor/*' -exec sed -i '' "s/PluginBoilerplate/${PLUGIN_NAMESPACE}/g" {} \; find "$PLUGIN_NAME" -type f -name '*.php' -not -path '"$PLUGIN_NAME"/vendor/*' -exec sed -i '' "s/plugin-boilerplate/${PLUGIN_NAME}/g" {} \; sed -i '' "s/PluginBoilerplate/${PLUGIN_NAMESPACE}/g" "$PLUGIN_NAME"/composer.json