xver / micartera-frontend-symfony
MiCartera Frontend build using Symfony Framework
Package info
github.com/xver-por-ver/micartera-frontend-symfony
Type:project
pkg:composer/xver/micartera-frontend-symfony
Requires
- php: ^8.5
- ext-opentelemetry: *
- nyholm/psr7: ^1.8
- open-telemetry/api: ^1.2
- open-telemetry/exporter-otlp: ^1.2
- open-telemetry/opentelemetry-auto-pdo: ^0.5
- open-telemetry/opentelemetry-auto-symfony: ^1.0
- open-telemetry/sem-conv: ^1.30
- phpdocumentor/reflection-docblock: ^6.0
- phpstan/phpdoc-parser: ^2.1
- symfony/console: ^8.1
- symfony/dotenv: ^8.1
- symfony/flex: ^2.5
- symfony/form: ^8.1
- symfony/framework-bundle: ^8.1
- symfony/http-client: ^8.1
- symfony/mime: ^8.1
- symfony/monolog-bundle: ^4.0
- symfony/property-access: ^8.1
- symfony/property-info: ^8.1
- symfony/runtime: ^8.1
- symfony/security-bundle: ^8.1
- symfony/serializer: ^8.1
- symfony/translation: ^8.1
- symfony/twig-bundle: ^8.1
- symfony/validator: ^8.1
- symfony/webpack-encore-bundle: ^2.2
- symfony/yaml: ^8.1
- twig/extra-bundle: ^3.21
- twig/intl-extra: ^3.21
- xver/micartera-domain: ^5.0
Requires (Dev)
- doctrine/doctrine-fixtures-bundle: ^4.1
- phpunit/phpunit: ^13.1
- symfony/browser-kit: ^8.1
- symfony/css-selector: ^8.1
- symfony/debug-bundle: ^8.1
- symfony/stopwatch: ^8.1
- symfony/web-profiler-bundle: ^8.1
- vimeo/psalm: ^6.10
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Upgrading from 2.0.2
Back up each existing database before upgrading. The xver/micartera-domain 3.0.0 upgrade renamed the initial Doctrine migration. On each existing database, update the migrations version table once, using the same environment and database configuration that you will use to run migrations:
devbox run -- bin/console doctrine:migrations:version 'DoctrineMigrations\VersionInitial' --delete devbox run -- bin/console doctrine:migrations:version 'DoctrineMigrations\Version20231217111100' --add devbox run -- bin/console doctrine:migrations:migrate
Do not run the version-table commands on a fresh database or on a database that already records DoctrineMigrations\Version20231217111100 as executed. Run only the migration command for those databases.
Continuous Integration
This project uses GitHub Actions for continuous integration.
The main workflow is .github/workflows/ci-orchestrator.yml, which delegates to reusable workflows in this order:
.github/workflows/symfony-recipe-check.ymlchecks whether Symfony Flex recipes are outdated..github/workflows/application-quality-assurance.ymlruns the application quality checks after the recipe check succeeds.
CI runs on pushes and pull requests targeting main, except for documentation-only changes, license updates, and changes under translations/.
The application quality workflow performs:
- Composer validation
- Dependency installation
- PHPUnit test suite execution with coverage output
- Psalm static analysis
Symfony Recipe Maintenance
.github/workflows/symfony-recipe-maintenance.yml keeps Symfony Flex recipes current. It runs on pushes and pull requests targeting main, on a weekly schedule, and by manual dispatch.
When recipe updates are available, it applies composer recipes:update, commits the changes, and opens or updates the automated/symfony-recipe-updates pull request. If a recipe update fails or creates conflicts, the workflow fails so the update can be resolved manually.