Initial habit tracker project

This commit is contained in:
2026-07-10 16:18:31 +02:00
commit 23416ee382
20 changed files with 1157 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
<?php
class Category
{
public static function all(): array
{
return Database::connection()
->query('SELECT id, name, color FROM categories ORDER BY name')
->fetchAll();
}
}