{"id":20520956,"url":"https://github.com/markjivko/wordpress-code-review","last_synced_at":"2025-10-05T08:03:50.140Z","repository":{"id":229041174,"uuid":"462785554","full_name":"markjivko/wordpress-code-review","owner":"markjivko","description":"Automatic WordPress plugin review tool","archived":false,"fork":false,"pushed_at":"2022-03-09T15:24:42.000Z","size":376,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-16T10:35:46.964Z","etag":null,"topics":["code-review","cybersecurity","markjivko","php-code-review","php-cybersecurity","wordpress-code-review","wordpress-cybersecurity"],"latest_commit_sha":null,"homepage":"https://markjivko.com/potrivit/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/markjivko.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}},"created_at":"2022-02-23T15:07:58.000Z","updated_at":"2025-01-15T14:37:51.000Z","dependencies_parsed_at":"2024-03-21T19:05:34.618Z","dependency_job_id":null,"html_url":"https://github.com/markjivko/wordpress-code-review","commit_stats":null,"previous_names":["markjivko/wordpress-code-review"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markjivko%2Fwordpress-code-review","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markjivko%2Fwordpress-code-review/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markjivko%2Fwordpress-code-review/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markjivko%2Fwordpress-code-review/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markjivko","download_url":"https://codeload.github.com/markjivko/wordpress-code-review/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242124424,"owners_count":20075548,"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":["code-review","cybersecurity","markjivko","php-code-review","php-cybersecurity","wordpress-code-review","wordpress-cybersecurity"],"created_at":"2024-11-15T22:24:51.392Z","updated_at":"2025-10-05T08:03:45.119Z","avatar_url":"https://github.com/markjivko.png","language":"PHP","readme":"# WordPress Code Review\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://potrivit.com\"\u003e\n        \u003cimg src=\"https://repository-images.githubusercontent.com/462785554/0649e40d-fd0e-481b-ab2e-86a4a66003c8\"/\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\nGenerate Quality Assurance tests for public WordPress plugins and store them as static HTML pages.\n\n## Install procedure\n\nInstall the required packages (LAMP stack \u0026 PHPMyAdmin)\n\n```\nsudo apt-get install -y apache2 mysql-server php7.4 php-sqlite3 curl phpmyadmin chromium-browser wpcloc pngquant subversion\n```\n\n\u003e Store the phpmyadmin password in \"./app/config/config.ini\"/\n\nInstall chrome and chromedriver\n\n```\nsudo apt-get install unzip \u0026\u0026 a=$(uname -m) \u0026\u0026 rm -r /tmp/chromedriver/\n```\n\n```\nmkdir /tmp/chromedriver/ \u0026\u0026\nwget -O /tmp/chromedriver/LATEST_RELEASE http://chromedriver.storage.googleapis.com/LATEST_RELEASE \u0026\u0026\nif [ $a == i686 ]; then b=32; elif [ $a == x86_64 ]; then b=64; fi \u0026\u0026\nlatest=$(cat /tmp/chromedriver/LATEST_RELEASE) \u0026\u0026\nwget -O /tmp/chromedriver/chromedriver.zip 'http://chromedriver.storage.googleapis.com/'$latest'/chromedriver_linux'$b'.zip' \u0026\u0026\nsudo unzip /tmp/chromedriver/chromedriver.zip chromedriver -d /usr/local/bin/\n```\n\nStore your user and group by running the following commands as yourself (not root) from inside the project folder (same level as run.php)\n\n```sed -i -E \"s/\\buser\\s*=\\s*.*$/user = \\\"$(whoami)\\\"/\" \"./app/config/config.ini\"```\n\n```sed -i -E \"s/\\bgroup\\s*=\\s*.*$/group = \\\"$(id -g -n)\\\"/\" \"./app/config/config.ini\"```\n\nRun the installer as root\n\n```sudo php -f run.php install```\n\nYou can now use ```wp``` commands which support chaining (```wp first \u0026\u0026 wp second```)\n\n## Common commands\n\nPlugins:\n\n * Remove all plugins:  ```wp plugin purge```\n * Install a plugin:    ```wp plugin install {plugin-slug}```\n * Uninstall a plugin:  ```wp plugin uninstall {plugin-slug}```\n * Activate a plugin:   ```wp plugin activate {plugin-slug}```\n * Deactivate a plugin: ```wp plugin deactivate {plugin-slug}```\n \nTests:\n\n * Run test suites on a plugin: ```wp test run {plugin-slug}```\n * Render all assets and listings: ```wp render```\n * Purge all references: ```wp render run purge```\n\nBatch:\n * Test newly added plugins: ```wp batch new [{limit}]```\n * Test updated plugins:     ```wp batch updates [{limit}]```\n * Re-test local plugins:    ```wp batch local [{limit}]```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkjivko%2Fwordpress-code-review","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkjivko%2Fwordpress-code-review","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkjivko%2Fwordpress-code-review/lists"}