Skip to main content

Use Simply CLI

The Simply boilerplate provides you a cli to save you time. It brings some pretty cool commands.

Delete Cache

Delete all content of cache directory.

php bin/console simply:cache:clear

Create Hook Class

If you don't want to use PHP attribute you can use this command to create a Class implement HookableInterface.

php bin/console simply:make:hook

Create plugin boilerplate

php bin/console simply:make:plugin

Create a custom post type

php bin/console simply:make:post-type

Create an empty plugin

php bin/console simply:make:plugin

Create an empty theme

php bin/console simply:make:theme

Create a custom WP CLI command

Create a custom class extends AbstractWordPressCommand for WP CLI command.

php bin/console simply:make:wpclicommand

Contribute

You can contribute (add some commands) here.