vix / syntra
Syntra — unified CLI for PHP project health checks, code refactoring, and extensible framework integrations.
Requires
- php: ^8.2
- symfony/console: ^5.4 || ^6.0 || ^7.0
- symfony/filesystem: ^5.4 || ^6.0 || ^7.0
- symfony/process: ^5.4 || ^6.0 || ^7.0
- symfony/yaml: ^5.4 || ^6.0 || ^7.0
- symplify/rule-doc-generator: ^12.2
Suggests
- phpstan/phpstan: Required for static analysis
- phpunit/phpunit: Required for running tests
- rector/rector: Required for code refactoring
This package is auto-updated.
Last update: 2025-06-06 23:40:54 UTC
README
Syntra is a unified CLI tool for PHP projects, designed to streamline health checks, code refactoring, and framework integrations. It automates routine tasks, enforces coding standards, and provides a modular architecture for extensibility.
Features
- Project Health Checks: Run diagnostics using tools like Composer, PHPStan, PHPUnit, PHP-CS-Fixer, and security scanners.
- Code Refactoring: Apply automated code transformations using Rector and custom refactorers.
- Framework Integrations: Seamlessly integrate with popular PHP frameworks (planned).
- Extension Support: Easily extend Syntra with custom commands and plugins (planned).
Installation
composer require vix/syntra
Usage
Run Syntra commands using the CLI:
vendor/bin/syntra [command] [options]
Example
vendor/bin/syntra project:check --path=/path/to/your/project
Configuration
Syntra uses a configuration file (syntra.yml
or syntra.json
) located at the root of your project. This file allows you to customize tool settings, paths, and other options.
Contributing
Contributions are welcome! Please fork the repository and submit a pull request with your improvements.
License
This project is licensed under the MIT License.