This application is a PWA (Progressive Web Application) built with Symfony and PHPWA.
This project uses Castor to simplify development tasks. All commands below assume you have castor
installed globally (via Composer or PHAR).
- Docker
- Docker Compose v2.10+
- Castor
castor build # Build the Docker images
castor start # Start the application and its services
Then open https://localhost in your browser and accept the self-signed TLS certificate if prompted.
To stop the project:
castor stop
To rebuild everything from scratch:
castor destroy --force
castor build
castor start
Command | Description |
---|---|
castor frontend |
Compile frontend assets (Importmap, Tailwind…) |
castor update |
Update PHP deps, run migrations, etc. |
castor phpunit |
Run PHPUnit tests with coverage |
castor ecs |
Run Easy Coding Standard checks |
castor ecs-fix |
Fix code style issues |
castor rector |
Run Rector in dry-run mode |
castor rector-fix |
Apply Rector changes |
castor phpstan |
Run static analysis with PHPStan |
castor infect |
Run mutation testing with Infection |
castor deptrac |
Check architectural boundaries |
castor lint |
Run syntax checks |
castor check-licenses |
Check that all dependencies use allowed licenses |
This project is licensed under the MIT License.