v1.0

Welcome to blackCurrent

A minimal, fast PHP 8.4 framework. You're reading a fully-rendered page assembled from a layout + header + footer + body content blocks.

How it works → Try a POST form

What's in the box

  • Convention-based routing — no route table to maintain core/Routing/Url.php
  • Template cascade — override any view per controller or globally core/Mvc/View.php
  • Themes — swap whole template sets at runtime (A/B-able) config/config.php § views
  • CSRF + same-origin POST protection core/Http/Csrf.php
  • PDO with real prepared statements only core/Db/Database.php
  • Cache layer with Redis / APCu / File / Null drivers core/Cache/CacheManager.php
  • AB testing, profiler, structured logger built-in core/Ab/Bucket.php
  • Strict PHP 8.1+ with typed properties and CleanInput lenses core/Security/CleanInput.php

Anatomy of this page

HEADER app/Views/partials/header.php
BODY (you are here) app/Views/home/index.php

All three blocks are composed by the app layout (app/Views/layouts/app.php). Any of them can be overridden per-controller or replaced entirely — drop a file at app/Views/<classFolder>/<name>.php and the View engine picks it up automatically.