- 134-tool registry with programmatic SEO (unique titles/H1/descriptions, JSON-LD graphs, sitemap index, canonical 301 enforcement via required filter) - DB-backed job queue (SKIP LOCKED) with drivers: Ffmpeg, Images (GD), Pdf (qpdf/gs/poppler), Youtube (thumbnails), Qr (server-side PNG) - Security: SSRF guard, MIME validation, rate limits, API-key auth, bcrypt admin login, security headers - Admin panel: dashboard, tools/categories/guides CRUD, SEO audit, analytics, job inspector with retry, system health, feature flags - Docker deployment (nginx + web/api FPM pools + scalable workers), PHPUnit suite (19 tests / 1139 assertions), PWA manifest + service worker
25 lines
554 B
PHP
25 lines
554 B
PHP
<?php
|
|
|
|
namespace Tests\Support\Models;
|
|
|
|
use CodeIgniter\Model;
|
|
|
|
class ExampleModel extends Model
|
|
{
|
|
protected $table = 'factories';
|
|
protected $primaryKey = 'id';
|
|
protected $returnType = 'object';
|
|
protected $useSoftDeletes = false;
|
|
protected $allowedFields = [
|
|
'name',
|
|
'uid',
|
|
'class',
|
|
'icon',
|
|
'summary',
|
|
];
|
|
protected $useTimestamps = true;
|
|
protected $validationRules = [];
|
|
protected $validationMessages = [];
|
|
protected $skipValidation = false;
|
|
}
|