SAF v2.0 —[FREE] Plugin Full OOP rewrite based on your feedback (Security & Admin Framework for WordPress)

A few weeks ago I shared SAF v1 here and got incredibly valuable feedback. Special thanks to everyone who took the time to review and suggest improvements.

What changed based on your feedback:

  • ✅ Full OOP rewrite with PSR-4 autoloader and namespaced classes
  • ✅ WordPress coding standards (escaping, nonces, sanitization on every input)
  • ✅ Autoloading — no more manual require_once chains
  • ✅ Frontend/backend separation — templates in /templates/, assets in /assets/
  • ✅ WooCommerce-style admin menu (submenu pages, only few tabs)
  • ✅ Unit test structure (PHPUnit + WP mocks)
  • ✅ Works on any theme (not just my setup :)
  • ✅ SOLID principles applied where it made sense without over-engineering

What's inside:

  • 6 modules: Security (rate limiting, headers, honeypot), SEO (canonical, OG, JSON-LD), Performance, Cleanup, Duplicate Posts, Post Status
  • 7 shortcodes: breadcrumb, social share (9 platforms), reading time, footer info, NAP, YouTube embed, version info
  • Admin dashboard with security badges, checklist progress bar, diagnostics
  • Robots.txt editor with live export
  • Child theme creation + CSS editor (with backup)
  • Multi-language support (IT/EN)

GitHub: https://github.com/amar-yaoki/saf-security-admin-framework

Feedback welcome — especially on the OOP architecture. Still learning and improving.

Posted Jun 27, 2026, 7:24 AM UTC

10
Loading comments…