Populate
Easily generate dummy data for testing and development using WP-CLI commands.
by Sukhendu Sekhar Guria · github.com/sukhendu2002/populate · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/sukhendu2002/populate/archive/refs/heads/main.zipDescription
The Populate plugin is a tool designed to populate your WordPress database with dummy data using the WP-CLI command line interface. This can be useful for testing and development purposes, allowing you to quickly generate posts, pages, authors, categories, tags, and more.
Features
- Generate dummy posts with various options such as tags, categories, authors, comments, and images.
- Create dummy pages with customizable options.
- Generate dummy authors with specified attributes.
- Quickly populate your WordPress database with categories and tags.
- Easy-to-use WP-CLI commands for streamlined data population.
Usage
The plugin provides WP-CLI commands for populating your WordPress database. Here are some examples:
Populate Posts
- Populate the WordPress database with dummy posts.
wp populate post --count=10 --tags=true --category=true --author=true --comment=true --image=true --all=true
Populate Pages
- Populate the WordPress database with dummy pages.
wp populate page --count=5
Populate Authors
- Populate the WordPress database with dummy authors.
wp populate author --count=5
Populate Categories
- Populate the WordPress database with dummy categories.
wp populate category --count=5
Populate Tags
- Populate the WordPress database with dummy tags.
wp populate tag --count=5
Populate All
- Populate post and pages with all options
wp populate all
Contributing
Feel free to contribute to this project by submitting issues or pull requests on the this GitHub repository.