Registry / web-framework / soberwp-controller

soberwp-controller

JSON →
library2.1.3phppackagistunverified

WordPress package to enable a basic controller when using Blade with Sage 9.

composer require soberwp/controller
INSTALL
IMPORT
SIG · SOBERWP-CONTROLLER
S
soberwp-controller
web-frameworkphpv2.1.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Controller
use Sober\Controller\Controller;

Initialize the controller to work with Sage 9 Blade templates.

use Sober\Controller\Controller; add_filter('sage/templates', function ($templates) { return Controller::instance()->get($templates); });
Debug
Known issues
breakingRequires Sage 9 theme
fix
Ensure you are using Sage 9 (roots/sage) as your WordPress theme.
affects: >=2.0
Upgrade
Version history
2.1.3latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
18
Resources
soberwp-controller — pip install soberwp-controller · libregistry