visiosoft/addblock-extension
Visiosoft AddBlock extension for Laravel and the Streams Platform, adding block management to PyroCMS so you can create, organize, and reuse content blocks across pages. A lightweight addon for extending module functionality.
visiosoft/addblock-extension is an OpenClassify/PyroCMS-style addon, not a general-purpose Laravel package. It is designed to be dropped into an existing OpenClassify install to add a UI for placing content blocks onto pages. Treat it as a module you wire into that host application, not something you composer require into an arbitrary Laravel app.
Minimal steps:
composer.json first. Confirm:
"type" — likely an addon/extension type that an OpenClassify installer expects."require" — the pinned OpenClassify/PyroCMS and Laravel versions. Since the last release is 2023-11-11, expect older Laravel constraints (8/9) and plan your host app accordingly.providers array — this tells you the namespace for views, routes, and migrations.composer.json, then running composer update visiosoft/addblock-extension.php artisan addon:install visiosoft.extension.addblock-extension (or the OpenClassify admin install button), followed by php artisan migrate.php artisan cache:clear, php artisan view:clear, and any OpenClassify-specific cache command. Extension registration is cached aggressively in these systems.Where to look first: the service provider (registrations, view namespaces, routes), the resources/views/ directory for the admin UI and the front-end block partial, and src/ for the block definition/controller classes. The admin UI is usually the fastest way to understand the intended workflow.
First use case: log into the OpenClassify admin, open a page in the page editor, and look for the new "Add Block" control. Create a block (title + body/HTML), assign it to a region/partial on a page, save, and confirm it renders on the front end.
Because this is an addon, the patterns are about composition inside OpenClassify, not standalone service classes.
addblock::partials.block) and shadow it in your theme's views directory.Dependents/suggested packages in the host's addon list; installing it in isolation often yields a UI that saves data nothing renders.addon:install in the deploy script, and re-publish assets on every release since the addon is unversioned in practice and may not declare asset publishing.$defer, and Blade syntax that may warn under newer PHP versions (8.2+ deprecations around dynamic properties are common in older addons).vendor:publish --tag=... or the OpenClassify assets command). A blank control in the editor usually means unpublished assets, not a broken install.addblock, blocks, pages), Blade resolution order decides which partial wins. Override in the theme, not by editing vendor views, so upgrades don't clobber your work.src/ directly — with no upstream activity, your patches become permanent maintenance debt with no merge path.composer.json, and own the upgrades yourself.How can I help you explore Laravel packages today?