Tests / PHP 8.4 (push) Failing after 3m23s
A command line for the library, kept deliberately small: no console component, no dependency added to the consumer's tree. - Application/Command/Input/Output: parsing, dispatch, exit codes and capturable output. Commands return an exit code instead of calling exit(), so every one is testable. - seed: runs the registered SeederRunner inside one transaction, with --list and --only=name[,name]. - doctor: one round-trip that fails loudly when the DSN is wrong. - make:model and make:seeder: live scaffolding into the consumer's code, sharing name validation, the overwrite guard and directory creation through MakeCommand. The binary ships an empty runner; an application composes SeedCommand into its own Application to register its seeders.
80 lines
2.1 KiB
JSON
80 lines
2.1 KiB
JSON
{
|
|
"name": "camelia/orm",
|
|
"description": "Lightweight attribute-mapped Active Record ORM for MariaDB/MySQL over PDO.",
|
|
"type": "library",
|
|
"license": "MIT",
|
|
"keywords": ["orm", "activerecord", "pdo", "mysql", "mariadb"],
|
|
"authors": [
|
|
{
|
|
"name": "Dario Garcia",
|
|
"email": "dario61081@gmail.com"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": ">=8.4",
|
|
"ext-mbstring": "*",
|
|
"ext-pdo": "*",
|
|
"psr/log": "^3.0"
|
|
},
|
|
"require-dev": {
|
|
"carthage-software/mago": "^1.60",
|
|
"phpstan/phpstan": "2.3",
|
|
"phpunit/phpunit": "^10.5 || ^11.0"
|
|
},
|
|
"suggest": {
|
|
"brick/math": "Support for BigDecimal-mapped properties"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Camelia\\Orm\\": "src/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Camelia\\Orm\\Tests\\": "tests/"
|
|
}
|
|
},
|
|
"bin": [
|
|
"bin/camelia-orm"
|
|
],
|
|
"scripts": {
|
|
"test": "phpunit --configuration phpunit.xml.dist",
|
|
"test:integration": "phpunit --configuration phpunit.integration.xml.dist",
|
|
"coverage": "phpunit --configuration phpunit.coverage.xml.dist --coverage-text",
|
|
"fmt": "mago fmt",
|
|
"fmt:check": "mago fmt --check",
|
|
"lint": "mago lint",
|
|
"analyze": "mago analyze",
|
|
"phpstan": "php -d memory_limit=1G vendor/bin/phpstan analyse --configuration phpstan.neon --no-progress",
|
|
"check": [
|
|
"@fmt:check",
|
|
"@lint",
|
|
"@analyze",
|
|
"@phpstan",
|
|
"@test"
|
|
]
|
|
},
|
|
"config": {
|
|
"sort-packages": true
|
|
},
|
|
"minimum-stability": "stable",
|
|
"prefer-stable": true,
|
|
"archive": {
|
|
"exclude": [
|
|
"/tests",
|
|
"/mago-baseline.toml",
|
|
"/mago.toml",
|
|
"/phpstan.neon",
|
|
"/phpunit.integration.xml.dist",
|
|
"/phpunit.xml.dist",
|
|
"/AGENTS.md",
|
|
"/.gitignore"
|
|
]
|
|
},
|
|
"extra": {
|
|
"branch-alias": {
|
|
"dev-main": "1.0.x-dev"
|
|
}
|
|
}
|
|
}
|