Skip to content

Commit 717f33e

Browse files
committed
docs: update library description and keywords for v2.7.0
- Updated composer.json description to highlight new features - Added keywords: query-caching, read-write-splitting, full-text-search, pagination, schema-introspection, json-loader, export-helpers, load-balancing, master-replica, cursor-pagination, psr-16, performance - Updated README.md feature list with all v2.7.0 capabilities - Reorganized features to highlight most impactful ones first - Added specific test and assertion counts (533 tests, 2397 assertions)
1 parent 505d3b3 commit 717f33e

File tree

2 files changed

+24
-9
lines changed

2 files changed

+24
-9
lines changed

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,21 @@
1414
Built on top of PDO with **zero external dependencies**, it offers:
1515
- **Fluent Query Builder** - Intuitive, chainable API for all database operations
1616
- **Cross-Database Compatibility** - Automatic SQL dialect handling (MySQL, PostgreSQL, SQLite)
17-
- **Read/Write Splitting** - Horizontal scaling with master-replica architecture and load balancing
18-
- **JSON Operations** - Native JSON support with consistent API across all databases
1917
- **Query Caching** - PSR-16 integration for result caching (10-1000x faster queries)
18+
- **Read/Write Splitting** - Horizontal scaling with master-replica architecture and load balancing
19+
- **Full-Text Search** - Cross-database FTS with unified API (MySQL FULLTEXT, PostgreSQL tsvector, SQLite FTS5)
20+
- **Schema Introspection** - Query indexes, foreign keys, and constraints programmatically
2021
- **Advanced Pagination** - Full, simple, and cursor-based pagination with metadata
22+
- **JSON Operations** - Native JSON support with consistent API across all databases
2123
- **Bulk Operations** - CSV/XML/JSON loaders, multi-row inserts, UPSERT support
24+
- **Export Helpers** - Export results to JSON, CSV, and XML formats
2225
- **Transactions & Locking** - Full transaction support with table locking
2326
- **Batch Processing** - Memory-efficient generators for large datasets
2427
- **Exception Hierarchy** - Typed exceptions for precise error handling
2528
- **Connection Retry** - Automatic retry with exponential backoff
26-
- **Helper Functions** - 80+ SQL helpers for strings, dates, math, JSON, aggregations
27-
- **Fully Tested** - Comprehensive test coverage across all dialects
28-
- **Type-Safe** - PHPStan level 8 validated code
29+
- **80+ Helper Functions** - SQL helpers for strings, dates, math, JSON, aggregations, and more
30+
- **Fully Tested** - 533 tests, 2397 assertions across all dialects
31+
- **Type-Safe** - PHPStan level 8 validated, PSR-12 compliant
2932

3033
Inspired by [ThingEngineer/PHP-MySQLi-Database-Class](https://github.com/ThingEngineer/PHP-MySQLi-Database-Class)
3134

composer.json

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
{
22
"name": "tommyknocker/pdo-database-class",
3-
"description": "Lightweight PHP database library with unified API for MySQL, PostgreSQL & SQLite. Features fluent QueryBuilder, connection pooling, UPSERT support, and comprehensive testing.",
3+
"description": "Lightweight PHP database library with unified API for MySQL, PostgreSQL & SQLite. Features fluent QueryBuilder, query caching (10-1000x faster), read/write splitting, full-text search, advanced pagination, schema introspection, bulk operations, and 80+ SQL helpers.",
44
"type": "library",
55
"keywords": [
66
"pdo",
77
"pdodb",
88
"pdo-db",
99
"query-builder",
1010
"sql-builder",
11-
"data-access-layer",
1211
"database-abstraction-layer",
1312
"database-abstraction",
1413
"dbal",
@@ -18,21 +17,34 @@
1817
"sqlite",
1918
"database",
2019
"prepared-statements",
20+
"query-caching",
21+
"psr-16",
22+
"read-write-splitting",
23+
"load-balancing",
24+
"master-replica",
25+
"full-text-search",
26+
"pagination",
27+
"cursor-pagination",
28+
"schema-introspection",
2129
"upsert",
2230
"bulk-insert",
31+
"bulk-operations",
2332
"transactions",
2433
"connection-pooling",
25-
"table-locking",
2634
"csv-loader",
2735
"xml-loader",
36+
"json-loader",
37+
"export-helpers",
2838
"helper-functions",
39+
"sql-helpers",
2940
"static-analysis",
3041
"type-safe",
3142
"security",
3243
"sql-injection",
3344
"php8",
3445
"lightweight",
35-
"cross-platform"
46+
"cross-platform",
47+
"performance"
3648
],
3749
"homepage": "https://github.com/tommyknocker/pdo-database-class",
3850
"license": "MIT",

0 commit comments

Comments
 (0)