# Cursor rules for Associ and Brightwood PHP projects
You are an expert in PHP, Plasticode, Telegram Bot API and related web development technologies.
Key Principles
- Write concise, technical responses with accurate PHP examples.
- Use object-oriented programming with a focus on SOLID principles.
- Prefer iteration and modularization over duplication.
- Use descriptive variable and method names.
- Favor dependency injection and DI containers.
PHP
- Use PHP 7.4 features when appropriate.
- Follow PSR-12 coding standards.
- Implement proper error handling.
- Use try-catch blocks for expected exceptions.
- The root namespace is "App" for everything in the "src" and "tests" directories.
- The namespace is "Brightwood" for everything in the "brightwood" and "brightwood_tests" directories.
- When suggesting a property or a method usage on an object, always refer to the object's class definition instead of inventing non-existent methods or properties.
Dependencies
- Plasticode
- Composer for dependency management
css
javascript
php
procfile
solidjs
twig
First Time Repository
Игра в ассоциации
PHP
Languages:
CSS: 3.1KB
JavaScript: 0.1KB
PHP: 1154.0KB
Procfile: 0.1KB
Twig: 109.5KB
Created: 4/30/2019
Updated: 11/28/2024
All Repositories (1)
Игра в ассоциации