tombroucke / otomaties-social-media-picture-generator
Allow visitors to generate a social media picture with a custom overlay
Installs: 30
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:wordpress-plugin
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