{"id":26793224,"url":"https://github.com/beapi/wp-cli-reduce-db-command","last_synced_at":"2025-03-29T16:19:32.859Z","repository":{"id":268462490,"uuid":"904418634","full_name":"BeAPI/wp-cli-reduce-db-command","owner":"BeAPI","description":"Reducing database size for local development","archived":false,"fork":false,"pushed_at":"2025-02-14T19:37:32.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-25T09:18:14.778Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BeAPI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-16T21:14:28.000Z","updated_at":"2025-02-14T19:37:10.000Z","dependencies_parsed_at":"2024-12-16T23:34:20.882Z","dependency_job_id":"b17985d5-a540-4551-ae38-7ede3936b92e","html_url":"https://github.com/BeAPI/wp-cli-reduce-db-command","commit_stats":null,"previous_names":["beapi/wp-cli-reduce-db-command"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeAPI%2Fwp-cli-reduce-db-command","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeAPI%2Fwp-cli-reduce-db-command/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeAPI%2Fwp-cli-reduce-db-command/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BeAPI%2Fwp-cli-reduce-db-command/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BeAPI","download_url":"https://codeload.github.com/BeAPI/wp-cli-reduce-db-command/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246207566,"owners_count":20740737,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-29T16:19:32.113Z","updated_at":"2025-03-29T16:19:32.853Z","avatar_url":"https://github.com/BeAPI.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WP-CLI Reduce DB Command\n\nOptimize your WordPress database size efficiently using WP-CLI.\n\n## Overview\n\nThis command-line tool allows you to significantly reduce the size of your WordPress database by:\n\n- **Removing Non-Essential Data**:\n  - Deletes revisions\n  - Clears transients\n  - Removes orphaned entries\n- **Content Optimization**:\n  - Retains only the 500 most recent contents for each content type\n  - Retains only the 500 most recent comments\n\n## Plugin Data Removal\n\nThe following plugin data will be purged during optimization:\n\n- **Action Scheduler**\n- **Broken Link Checker**\n- **Cavalcade**\n- **Contact Form 7**\n- **FacetWP**\n- **FormidableForms**\n- **GDPR Cookie Consent**\n- **GravityForms**\n- **Log HTTP Requests**\n- **Matomo**\n- **PublishPress Future (post-expirator)**\n- **Rank Math**\n- **Redirection**\n- **SearchWP 3.x \u0026 4.x**\n- **Stream**\n- **TA Links**\n- **ThirstyAffiliates**\n- **WP All Export**\n- **WP Cerber**\n- **WP Forms**\n- **WP Mail Log**\n- **WP Mail Logging**\n- **WordPress Native PHP Sessions**\n- **WP Rocket**\n- **WP Security Audit Log**\n- **WooCommerce**\n- **Yoast SEO**\n- **Yop Polls**\n\n## Installing\n\nInstalling this package requires WP-CLI v0.23.0 or greater. Update to the latest stable release with `wp cli update`.\n\nTo install the package, run:\n```\nwp package install BeAPI/wp-cli-reduce-db-command\n```\nTo update the package, use:\n```\nwp package update\n```\n\n## Usage\n\nStart database cleanup\n```\nwp reduce-db\n```\n## Credits\n\nBased on https://github.com/BeAPI/wp-cli-light-db-export for the table/plugin list\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeapi%2Fwp-cli-reduce-db-command","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeapi%2Fwp-cli-reduce-db-command","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeapi%2Fwp-cli-reduce-db-command/lists"}