catfan/Medoo
63.1
Adequate · 17 November 2026
2.3k
lines of production code
PHP
primary language
5
measurements over time
What this system is
Features
Added PHPStan stub for Medoo library
A new PHPStan stub file (Medoo.stub) has been added to provide static analysis metadata for the Medoo database library. This includes PHPStan type definitions for parameters, query logs, column metadata, rows, and conditions, as well as the class structure, enabling stricter type checking for code using Medoo.
phpstan · high confidence
Repository initialization with comprehensive project configuration and documentation
The repository has been initialized with a complete project structure, including a detailed README.md featuring installation instructions, usage examples, and multi-language documentation links. The project is configured for modern PHP development with a .php-cs-fixer.dist.php file enforcing PSR-2/PSR-12 standards, PHPUnit 13 configuration for testing, and PHPStan static analysis configs for both source (PHP 7.3+) and test (PHP 8.4) codebases. A MIT license file and .gitattributes/.gitignore files are also included to standardize development workflows.
(repo-wide) · high confidence
Behavioural changes
Medoo v2.2.1 release introduces Raw object support and query logging
This update to the Medoo database framework adds the ability to use the Medoo::Raw object in column selections, join conditions, and WHERE clauses, allowing for more complex SQL expressions while maintaining prepared statement safety. It also introduces a debug logging mode that captures readable SQL statements for easier troubleshooting, and improves the get() method to return NULL instead of False when no records are found, ensuring more consistent return types for application logic.
src · high confidence
Test coverage
Comprehensive PHPUnit 13 test suite for Medoo
Added a new, extensive test suite covering the core Medoo database operations, including aggregate functions (count, max, min, avg, sum), data mapping with type casting, connection validation (charset/collation), CRUD operations (create, read, get, insert, update, delete, replace), and schema management (drop, quote). The tests verify correct SQL generation across multiple database types (MySQL, PostgreSQL, SQLite, MSSQL, Oracle, Sybase) and ensure compatibility with PHPUnit 13.
tests · high confidence
Dependencies
Initial release of Medoo PHP database framework
This change introduces the composer.json manifest for the Medoo library, establishing it as a lightweight PHP database framework. It defines the project's metadata, including the MIT license and author information, and sets the minimum PHP version requirement to 7.3 with a dependency on the PDO extension. The package is configured for PSR-4 autoloading, mapping the Medoo namespace to the src/ directory and test classes to tests/. Development dependencies are specified for PHPUnit 13 and PHPStan 2.2, along with scripts for running static analysis and tests.
(dependencies) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 63.4 → 63.1 (-0.3)
- Rubric changed (rubric-2026.11.2 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 83.2 → 81.7 (-1.5)
- Architecture 100.0 → 100.0 (0.0)
- Maturity 45.3 → 45.3 (0.0)
- Readiness 68.0 → 68.0 (0.0)
- Security 100.0 → 100.0 (0.0)
Resolved (2)
- Duplicated block (10 lines × 2) (src/Medoo.php)
- Off-boarding risk: anonymized user #1
New (1)
- Off-boarding risk: anonymized user #1
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
catfan/Medoo was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 17 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit bc74728e4c8eaf3be0f8b7af7f2fc031206ebfdc — the exact code this score is about.
- Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.85+preprod-eba6548ac50f.