simple-reviews/ Pick any file or folder on the left to see what it is, why it exists, when you add it and the mistakes people make with it. Switch the stage to watch the project grow.
Top level, at Growing .git Git history, created by `git init`. bin Helper scripts for development. build Compiled blocks and scripts from `npm run build`, plus blocks-manifest.php. includes Your PHP classes, autoloaded by Composer under the `SimpleReviews\` namespace. languages Translation template and bundled translations. node_modules npm packages: @wordpress/scripts and everything it needs. src Block sources compiled by @wordpress/scripts into build/: one folder per block, plus other entry points. templates PHP templates for HTML that is not a block, such as emails. tests PHP tests with the WordPress test suite, JavaScript unit tests, and Playwright tests in a real editor. vendor Composer packages and the generated autoloader. .editorconfig Tabs for PHP and JS, LF line endings, following the WordPress coding standards. .gitignore Ignores node_modules, logs, coverage, .env and the plugin zip. .nvmrc The Node version for building, read by nvm and actions/setup-node. .wp-env.json The local WordPress setup: core version, PHP version, plugins and themes to load. .wp-env.override.json Your personal wp-env changes, such as a different port or PHP version. composer.json PSR-4 autoloading for includes/ and dev tools: WPCS, PHPStan, PHPUnit. composer.lock Exact versions of every Composer package. package.json npm scripts from create-block: build, start, format, lint:css, lint:js, plugin-zip, env. package-lock.json Exact npm package versions. phpcs.xml.dist PHP_CodeSniffer rules: WordPress standards, your prefixes and text domain, PHP version range. phpstan.neon.dist PHPStan settings with the WordPress extension and stubs. phpunit.xml.dist PHPUnit config: bootstrap file and the Integration and Unit test suites. README.md The developer readme for GitHub: setup, scripts, architecture, contributing. readme.txt The WordPress.org readme: description, installation, FAQ, screenshots, changelog and the Stable tag. simple-reviews.php The main plugin file: the plugin header, an ABSPATH guard and the code that boots the plugin. uninstall.php Runs when a site owner deletes the plugin: removes options, reviews and scheduled events. webpack.config.js Extends the wp-scripts webpack config to add the admin settings entry point.