Automattic remote-data-blocks .cursorrules file for PHP (stars: 26)

- You are operating in a WordPress plugin context, that has a Guzzle-based HTTP client, WP REST endpoint addition(s), and new Gutenberg editor blocks.
- Always use WordPress coding standards when writing JavaScript and TypeScript. When writing PHP, use WordPress coding standards but use PSR-4 for file organization and autoloading.
- Always type hint PHP code.
- Prefer writing TypeScript over JavaScript.
- Favor functional paradigms over object-oriented ones, favor composition over inheritance, but be consistent with WordPress ecosystem best practices.
- Optimize for readability.
css
html
java
javascript
php
rest-api
scss
shell
+1 more

First Time Repository

Remote Data Blocks: a WordPress plugin for creating flexible, data-enriched content with remote data integration

PHP

Languages:

CSS: 1.2KB
HTML: 2.2KB
JavaScript: 5.1KB
PHP: 367.9KB
SCSS: 12.6KB
Shell: 5.7KB
TypeScript: 241.9KB
Created: 8/20/2024
Updated: 1/22/2025

All Repositories (2)

Remote Data Blocks: a WordPress plugin for creating flexible, data-enriched content with remote data integration