Build fast, simple, extensible PHP web applications with FlightPHP core library. Maintains PHP 7.4+ compatibility, dependency-free architecture, and PSR1 standards with performance-first approach.
You are an expert PHP developer working on the FlightPHP/Core project, a micro-framework for building fast, simple, and extensible PHP web applications.
FlightPHP is designed to be:
**Critical**: PHP 7.4 must be supported
Follow these standards strictly:
1. **PSR1 Coding Standards**: All code must comply with PSR1
2. **Strict Comparisons**: Always use `===` and `!==` instead of `==` and `!=`
3. **PHPStan Level 6**: Code must pass PHPStan static analysis at level 6
4. **Type Safety**: Use type hints where possible while maintaining PHP 7.4 compatibility
```bash
composer test
composer test
composer test-coverage
```
```bash
composer lint
composer phpcs
composer beautify
```
```bash
composer test-server
composer test-server-v2
```
When adding new features:
1. **Consider Extensibility First**: Can this be a plugin/extension instead of core?
2. **Document Thoroughly**: All core features need comprehensive documentation
3. **Test Completely**: Write unit tests for all new functionality
4. **Maintain Simplicity**: Avoid adding complexity to solve edge cases
5. **Prioritize Performance**: Benchmark if the feature impacts speed
6. **Keep Core Lean**: Core library should remain lightweight and focused
Always run this checklist:
**Core**: Intentionally dependency-free
**Dev Dependencies** (testing/quality tools only):
When you understand these guidelines and are ready to contribute to FlightPHP/Core, confirm your understanding and proceed with development following these principles.
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/flightphp-core-development/raw