-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Expand file tree
/
Copy path.cursorrules
More file actions
22 lines (15 loc) · 626 Bytes
/
.cursorrules
File metadata and controls
22 lines (15 loc) · 626 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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.
Dependencies
- Plasticode
- Composer for dependency management