Move to using CycleORM

This commit is contained in:
Dave Smith-Hayes 2025-06-23 01:36:52 +00:00
parent 7c4012c9fd
commit ad81fa935f
2 changed files with 147 additions and 2 deletions

View File

@ -19,7 +19,8 @@
"ramsey/uuid": "^4.7",
"cycle/orm": "^2.10",
"cycle/annotated": "^4.3",
"cycle/schema-builder": "^2.11"
"cycle/schema-builder": "^2.11",
"cycle/entity-behavior": "^1.4"
},
"require-dev": {
"phpunit/phpunit": "^11.1",

146
app/composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "a4ac1c81728394c5661da7b17d9c72fc",
"content-hash": "603e7a3826c49462a29dfb5e74fc1bdb",
"packages": [
{
"name": "brick/math",
@ -556,6 +556,80 @@
],
"time": "2025-03-27T15:49:53+00:00"
},
{
"name": "cycle/entity-behavior",
"version": "1.4.0",
"source": {
"type": "git",
"url": "https://github.com/cycle/entity-behavior.git",
"reference": "7499560c927814c630587db99fca43ca450d1e68"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/cycle/entity-behavior/zipball/7499560c927814c630587db99fca43ca450d1e68",
"reference": "7499560c927814c630587db99fca43ca450d1e68",
"shasum": ""
},
"require": {
"cycle/orm": "^2.10",
"cycle/schema-builder": "^2.8",
"php": ">=8.0",
"psr/container": "^1.0|^2.0",
"psr/event-dispatcher": "^1",
"yiisoft/injector": "^1.0"
},
"require-dev": {
"cycle/annotated": "^3.0",
"phpunit/phpunit": "^9.5",
"ramsey/uuid": "^4.5",
"spiral/code-style": "^2.2",
"spiral/tokenizer": "^2.8 || ^3.0",
"vimeo/psalm": "^5.11 || ^6.8"
},
"type": "library",
"autoload": {
"psr-4": {
"Cycle\\ORM\\Entity\\Behavior\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Anton Titov (wolfy-j)",
"email": "wolfy-j@spiralscout.com"
},
{
"name": "Aleksei Gagarin (roxblnfk)",
"email": "alexey.gagarin@spiralscout.com"
},
{
"name": "Pavel Butchnev (butschster)",
"email": "pavel.buchnev@spiralscout.com"
},
{
"name": "Maksim Smakouz (msmakouz)",
"email": "maksim.smakouz@spiralscout.com"
}
],
"description": "Provides a collection of attributes that add behaviors to Cycle ORM entities",
"homepage": "https://cycle-orm.dev",
"support": {
"chat": "https://discord.gg/spiralphp",
"docs": "https://cycle-orm.dev/docs",
"issues": "https://github.com/cycle/entity-behavior/issues",
"source": "https://github.com/cycle/entity-behavior"
},
"funding": [
{
"url": "https://github.com/sponsors/cycle",
"type": "github"
}
],
"time": "2025-03-17T13:01:43+00:00"
},
{
"name": "cycle/orm",
"version": "v2.10.1",
@ -5702,6 +5776,76 @@
}
],
"time": "2021-10-26T21:43:25+00:00"
},
{
"name": "yiisoft/injector",
"version": "1.2.0",
"source": {
"type": "git",
"url": "https://github.com/yiisoft/injector.git",
"reference": "0dc0127a7542341bdaabda7b85204e992938b83e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/yiisoft/injector/zipball/0dc0127a7542341bdaabda7b85204e992938b83e",
"reference": "0dc0127a7542341bdaabda7b85204e992938b83e",
"shasum": ""
},
"require": {
"php": "^7.4|^8.0"
},
"require-dev": {
"maglnet/composer-require-checker": "^3.8|^4.2",
"phpbench/phpbench": "^1.1",
"phpunit/phpunit": "^9.5",
"psr/container": "^1.0|^2.0",
"rector/rector": "^0.18.12",
"roave/infection-static-analysis-plugin": "^1.16",
"spatie/phpunit-watcher": "^1.23",
"vimeo/psalm": "^4.30|^5.7",
"yiisoft/test-support": "^1.2"
},
"suggest": {
"psr/container": "For automatic resolving of dependencies"
},
"type": "library",
"autoload": {
"psr-4": {
"Yiisoft\\Injector\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause"
],
"description": "PSR-11 compatible injector. Executes a callable and makes an instances by injecting dependencies from a given DI container.",
"homepage": "https://www.yiiframework.com/",
"keywords": [
"PSR-11",
"dependency injection",
"di",
"injector",
"reflection"
],
"support": {
"chat": "https://t.me/yii3en",
"forum": "https://www.yiiframework.com/forum/",
"irc": "irc://irc.freenode.net/yii",
"issues": "https://github.com/yiisoft/injector/issues?state=open",
"source": "https://github.com/yiisoft/injector",
"wiki": "https://www.yiiframework.com/wiki/"
},
"funding": [
{
"url": "https://github.com/yiisoft",
"type": "github"
},
{
"url": "https://opencollective.com/yiisoft",
"type": "open_collective"
}
],
"time": "2023-12-20T09:39:03+00:00"
}
],
"packages-dev": [