pubvana / blog
Blog module for Pubvana CMS
0.1.1
2026-04-29 03:21 UTC
Requires
- php: ^8.1
- enlivenapp/flight-school: ^0.2
- enlivenapp/flight-shield: ^0.1
- enlivenapp/migrations: ^0.1
- flightphp/active-record: ^0.7
Suggests
- pubvana/admin: Admin UI for blog management
README
Blog module for Pubvana CMS.
Requirements
- PHP 8.1+
- Flight School ^0.2
- Flight Shield ^0.1
- Flight Migrations ^0.1
- Flight ActiveRecord ^0.7
Installation
composer require pubvana/blog
Enable in app/config/config.php:
'plugins' => [ 'pubvana/blog' => [ 'enabled' => true, 'priority' => 60, ], ],
Service
Mapped as $app->blog(). Provides:
- Posts — CRUD, slug management, status (draft/published/scheduled), featured image via media picker, preview tokens, soft delete
- Categories — CRUD with parent/child hierarchy, slug management
- Tags — auto-created on assignment, delete with pivot cleanup
- Revisions — snapshot on every update, prune to configurable max (default 15), restore to any previous revision
- Post Views — recording and counting (stubbed for public frontend)
Config
| Key | Default | Description |
|---|---|---|
max_revisions |
15 |
Maximum revisions kept per post |
Deferred Features
These are planned but not included in the initial build:
- Premium/Paywall —
is_premiumflag and gating (Phase 8 Paywall module) - Social Sharing —
share_on_publishauto-posting to social platforms - Internationalization —
langfield for multi-language posts - Content Type —
content_typefield (html/markdown) — HTML only for now - Public Routes/Controllers — pending theme/Vision integration
License
MIT