JSON
MariaDB
SQL sorguları
Veritabanı bağlantıları
Dosya işlemleri
Veri dönüştürme
Ağ işlemleri
Yapılandırma dosyaları
Lisans: MIT
JSON — composer.json
JSON MariaDB entegrasyonlu — SQL sorguları, Veritabanı bağlantıları, Dosya işlemleri. SQL sorgusu içerir.
{
"name": "tommyknocker/pdo-database-class",
"description": "Framework-agnostic PHP database library with unified API for MySQL, MariaDB, PostgreSQL, SQLite, MSSQL, and Oracle. Query Builder, caching, sharding, window functions, CTEs, JSON, migrations, ActiveRecord, CLI tools, AI-powered analysis. No framework dependency.",
"type": "library",
"keywords": [
"pdo",
"pdodb",
"query-builder",
"sql-builder",
"dbal",
"database",
"mysql",
"mariadb",
"postgresql",
"sqlite",
"mssql",
"sql-server",
"oracle",
"activerecord",
"orm",
"migrations",
"transactions",
"upsert",
"query-caching",
"read-write-splitting",
"sharding",
"outbox",
"inbox",
"cli-tools",
"framework-agnostic",
"ai-analysis",
"mcp"
],
"homepage": "https://github.com/tommyknocker/pdo-database-class",
"license": "MIT",
"support": {
"issues": "https://github.com/tommyknocker/pdo-database-class/issues"
},
"authors": [
{
"name": "Vasiliy Krivoplyas",
"email": "vasiliy@krivoplyas.com"
}
],
"require": {
"php": "^8.4",
"ext-pdo": "*",
"ext-mbstring": "*",
"psr/log": "^3.0",
"psr/simple-cache": "^3.0",
"psr/event-dispatcher": "^1.0"
},
"suggest": {
"monolog/monolog": "If you need robust logging capabilities.",
"symfony/cache": "For query result caching (PSR-16 implementation). Provides Filesystem, Redis, APCu, Memcached and other adapters.",
"ext-apcu": "For APCu-based query caching (requires symfony/cache)",
"ext-redis": "For Redis-based query caching (requires symfony/cache)",
"ext-memcached": "For Memcached-based query caching (requires symfony/cache)",
"ext-simplexml": "For bulk XML insert support",
"ext-xmlreader": "For bulk XML insert support",
"ext-xmlwriter": "For XML export support",
"ext-pdo_mysql": "Required for MySQL and MariaDB database support",
"ext-pdo_pgsql": "Required for PostgreSQL database support",
"ext-pdo_sqlite": "Required for SQLite database support",
"ext-pdo_sqlsrv": "Required for Microsoft SQL Server (MSSQL) database support",
"ext-pdo_oci": "Required for Oracle database support",
"ext-openssl": "HTTPS requests to AI providers; the AI features also need allow_url_fopen=On in php.ini"
},
"require-dev": {
"phpunit/phpunit": "^11.5.0",
"monolog/monolog": "^3.9",
"symfony/cache": "^7.3",
"phpstan/phpstan": "^2.0",
"phpstan/phpstan-phpunit": "^2.0",
"friendsofphp/php-cs-fixer": "^3.89",
"infection/infection": "^0.31"
},
"autoload": {
"psr-4": {
"tommyknocker\\pdodb\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"tommyknocker\\pdodb\\tests\\": "tests/"
}
},
"bin": [
"bin/pdodb",
"bin/pdodb-mcp"
],
"scripts": {
"pdodb:test": "phpunit",
"pdodb:test:mysql": "phpunit tests/mysql/*Tests.php",
"pdodb:test:postgresql": "phpunit tests/postgresql/*Tests.php",
"pdodb:test:sqlite": "phpunit tests/sqlite/*Tests.php",
"pdodb:test:shared": "phpunit tests/shared/*Tests.php",
"pdodb:test:ai": "@php vendor/bin/phpunit tests/shared/AiAgentTests.php tests/shared/AiAdviceShowcaseTests.php tests/shared/AiQueryAdviceTests.php tests/shared/AiHttpCompatibilityTests.php tests/shared/AiLiveRunnerTests.php tests/shared/McpPolicyTests.php",
"pdodb:test:ai:check": "@php scripts/test-ai-live.php --check",
"pdodb:test:ai:live": "@php scripts/test-ai-live.php --run",
"pdodb:test:ai:db": "@php vendor/bin/phpunit tests/integration/AiQueryAdviceDatabaseTests.php",
"pdodb:test:mcp:db": "@php vendor/bin/phpunit tests/integration/McpDatabasePolicyTests.php",
"pdodb:test:integration": "@php vendor/bin/phpunit --testsuite \"Integration Tests\"",
"pdodb:test:dialects": "@php scripts/test-dialect-regressions.php",
"pdodb:phpstan": "phpstan analyse",
"pdodb:check-doc-links": "@php scripts/check-doc-links.php",
"pdodb:api-surface": "@php scripts/api-surface.php",
"pdodb:api-surface:write": "@php scripts/api-surface.php --write",
"pdodb:cs-fix": "php-cs-fixer fix",
"pdodb:cs-check": "php-cs-fixer fix --dry-run --diff",
"pdodb:test-examples": "bash scripts/test-examples.sh",
"pdodb:quality-check": "@pdodb:check-all",
"pdodb:infection": "infection",
"pdodb:infection:quick": "infection --min-msi=50 --min-covered-msi=60 --threads=4",
"pdodb:infection:ci": "infection --min-msi=70 --min-covered-msi=75 --logger-github",
"pdodb:check": [
"@pdodb:phpstan",
"@pdodb:test",
"@pdodb:test-examples"
],
"pdodb:check-all": [
"@pdodb:phpstan",
"@pdodb:cs-check",
"@pdodb:check-doc-links",
"@pdodb:api-surface",
"@pdodb:test",
"@pdodb:test:integration",
"@pdodb:test:dialects",
"@pdodb:test-examples"
],
"pdodb:migrate": "php scripts/migrate.php",
"pdodb:migrate:create": "php scripts/migrate.php create",
"pdodb:migrate:up": "php scripts/migrate.php migrate",
"pdodb:migrate:down": "php scripts/migrate.php rollback",
"pdodb:migrate:history": "php scripts/migrate.php history",
"pdodb:migrate:new": "php scripts/migrate.php new",
"pdodb:make:migration": "php scripts/make-migration.php",
"pdodb:make:model": "php scripts/make-model.php",
"pdodb:schema:inspect": "php scripts/schema-inspect.php",
"pdodb:query:test": "php scripts/query-test.php",
"pdodb:check-all-with-infection": [
"@pdodb:check-all",
"@pdodb:infection:ci"
],
"pdodb:fix-all": [
"@pdodb:cs-fix",
"@pdodb:test"
]
},
"config": {
"platform": {
"php": "8.4.0"
},
"allow-plugins": {
"infection/extension-installer": true
}
}
}
Tespit Edilen SQL Sorguları
with unified API for MySQL, MariaDB, PostgreSQL, SQLite, MSSQL, and Oracle. Query Builder, caching, sharding, window functions, CTEs, JSON, migrations, ActiveRecord, CLI tools, AI-powered analysis. No framework dependency.