Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/.gitattributes export-ignore
/.github/ export-ignore
/.gitignore export-ignore
/.php-cs-fixer.dist.php export-ignore
/renovate.json export-ignore
/.laminas-ci.json export-ignore
/phpunit.xml.dist export-ignore
/test/ export-ignore
/clover.xml export-ignore

# Force our line endings to be LF, even for Windows
* text eol=lf
# Set certain files to be binary
*.png binary
*.jpg binary
*.gif binary
*.tgz binary
*.zip binary
*.tar.gz binary
*.ttf binary
*.svg binary
*.dia binary
*.xcf binary
12 changes: 10 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
/.phpcs-cache
/.php-cs-fixer.cache
/.phpunit.cache
/.psalm-cache
/.phpunit.result.cache
/.phpstan-cache
/phpstan.neon
/phpbench.json
/clover.xml
/coveralls-upload.json
/phpunit.xml
/vendor/
/docs/load-testing/results/**/*.json
/test/k6/results/**/*.json
/.vscode
/k6-v0.56.0-linux-amd64
48 changes: 24 additions & 24 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
{
"name": "php-db/phpdb-changeit",
"description": "",
"name": "php-db/phpdb-mezzio-session",
"description": "PhpDb-backed session persistence for Mezzio (mezzio-session-ext drop-in replacement).",
"license": "BSD-3-Clause",
"keywords": [
"php-db"
"mezzio",
"session",
"phpdb",
"session-handler"
],
"support": {
"issues": "https://github.com/php-db/changeit/issues",
"source": "https://github.com/php-db/changeit"
"issues": "https://github.com/php-db/phpdb-mezzio-session/issues",
"source": "https://github.com/php-db/phpdb-mezzio-session"
},
"minimum-stability": "dev",
"prefer-stable": true,
Expand All @@ -23,47 +26,44 @@
},
"extra": {
"laminas": {
"config-provider": "PhpDb\\ChangeIt\\ConfigProvider"
"config-provider": "PhpDb\\Session\\ConfigProvider"
}
},
"require": {
"php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
"beberlei/assert": "^3.3",
"psr/container": "^2.0"
"php": "~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0",
"mezzio/mezzio-session": "^1.0"
},
"require-dev": {
"laminas/laminas-coding-standard": "^3.0.1",
"laminas/laminas-servicemanager": "^4.4",
"phpunit/phpunit": "^11.5.15",
"psalm/plugin-phpunit": "^0.19.2",
"vimeo/psalm": "^6.8.8"
"php-db/phpdb-mysql": "0.4.x-dev",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-phpunit": "^2.0",
"phpunit/phpunit": "^13.0.0",
"roave/security-advisories": "dev-master"
},
"autoload": {
"psr-4": {
"PhpDb\\ChangeIt\\": "src/"
"PhpDb\\Session\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"PhpDbTest\\ChangeIt\\": "test/unit/",
"PhpDbTestIntegration\\ChangeIt\\": "test/integration/"
"PhpDb\\SessionTest\\": "test/"
}
},
"scripts": {
"check": [
"check-all": [
"@cs-check",
"@static-analysis",
"@sa",
"@test",
"@test-integration"
],
"cs-check": "phpcs",
"cs-fix": "phpcbf",
"test": "phpunit --colors=always --testsuite \"unit test\"",
"test": "phpunit --colors=always",
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml",
"test-integration": "phpunit --colors=always --testsuite \"integration test\"",
"static-analysis": "psalm --shepherd --stats",
"sa-set-baseline": "psalm --set-baseline",
"sa-no-baseline": "psalm --shepherd --stats --ignore-baseline",
"sa": "vendor/bin/phpstan analyse --memory-limit=256M",
"sa-gen-baseline": "vendor/bin/phpstan analyse --memory-limit=256M --generate-baseline",
"sa-verbose": "vendor/bin/phpstan analyse --memory-limit=256M -vv",
"upload-coverage": "coveralls -v"
}
}
Loading
Loading