xver / micartera-domain
MiCartera Domain
Package info
github.com/xver-por-ver/micartera-domain
Type:project
pkg:composer/xver/micartera-domain
Requires
- php: ^8.5
- doctrine/doctrine-bundle: ^3.2
- doctrine/doctrine-migrations-bundle: ^4.0
- doctrine/orm: ^3.3
- symfony/console: ^8.1
- symfony/dotenv: ^8.1
- symfony/flex: ^2.5
- symfony/monolog-bundle: ^4.0
- symfony/runtime: ^8.1
- symfony/uid: ^8.1
- symfony/yaml: ^8.1
- xver/php-auth-core: ^3.0
Requires (Dev)
- doctrine/doctrine-fixtures-bundle: ^4.1
- phpunit/phpunit: ^13.1
- symfony/finder: ^8.1
- vimeo/psalm: ^6.10
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
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
Upgrading from 2.0.2 or earlier
Before running doctrine:migrations:migrate, update the Doctrine migrations version table to reflect the renamed initial migration. The initial schema migration was renamed from VersionInitial to Version20231217111100; without this step, Doctrine may try to run the initial schema migration again.
Run these commands once against each existing database, using the same environment and database configuration as the subsequent migration:
bin/console doctrine:migrations:version 'DoctrineMigrations\VersionInitial' --delete bin/console doctrine:migrations:version 'DoctrineMigrations\Version20231217111100' --add
Then run the pending migrations as usual:
bin/console doctrine:migrations:migrate
Do not run the version-table commands on a fresh database, or on a database that has already recorded DoctrineMigrations\Version20231217111100 as executed. Back up the database before upgrading.
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.