diff --git a/CLAUDE.md b/CLAUDE.md
index 450b223..35c627e 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -9,12 +9,13 @@ This is the **Core Admin Package** (`lthn/php-admin`) - an admin panel and servi
## Commands
```bash
-php artisan serve # Laravel dev server
-npm run dev # Vite dev server (Tailwind v4)
-npm run build # Production asset build
-./vendor/bin/pint --dirty # Format changed files only
-./vendor/bin/pest # Run all tests
-./vendor/bin/pest --filter=SearchTest # Run specific test
+composer test # Run all tests (Pest)
+composer test -- --filter=SearchTest # Run specific test
+composer lint # Fix code style (Pint)
+./vendor/bin/pint --dirty # Format changed files only
+php artisan serve # Laravel dev server
+npm run dev # Vite dev server (Tailwind v4)
+npm run build # Production asset build
```
CI matrix: PHP 8.2, 8.3, 8.4.
diff --git a/composer.json b/composer.json
index eef175a..3253fc5 100644
--- a/composer.json
+++ b/composer.json
@@ -40,6 +40,10 @@
]
}
},
+ "scripts": {
+ "test": "vendor/bin/pest",
+ "lint": "vendor/bin/pint"
+ },
"minimum-stability": "stable",
"prefer-stable": true,
"replace": {
diff --git a/phpstan.neon b/phpstan.neon
new file mode 100644
index 0000000..8926d7e
--- /dev/null
+++ b/phpstan.neon
@@ -0,0 +1,7 @@
+parameters:
+ level: 5
+ paths:
+ - src
+ excludePaths:
+ - vendor
+ - tests
diff --git a/phpunit.xml b/phpunit.xml
index 61c031c..28b553c 100644
--- a/phpunit.xml
+++ b/phpunit.xml
@@ -11,6 +11,10 @@
tests/Feature
+
+ src/Search/Tests
+ src/Mod/Hub/Tests
+
diff --git a/pint.json b/pint.json
new file mode 100644
index 0000000..078e2f2
--- /dev/null
+++ b/pint.json
@@ -0,0 +1,8 @@
+{
+ "preset": "psr12",
+ "rules": {
+ "declare_strict_types": true,
+ "ordered_imports": true,
+ "no_unused_imports": true
+ }
+}
diff --git a/src/Mod/Hub/Migrations/2026_01_11_000001_create_honeypot_hits_table.php b/src/Mod/Hub/Migrations/2026_01_11_000001_create_honeypot_hits_table.php
index 75b5bce..967dcae 100644
--- a/src/Mod/Hub/Migrations/2026_01_11_000001_create_honeypot_hits_table.php
+++ b/src/Mod/Hub/Migrations/2026_01_11_000001_create_honeypot_hits_table.php
@@ -1,5 +1,7 @@