pollora/metabox-bridge
Bridges the Meta Box WordPress plugin with Pollora and Laravel, letting you define and manage custom fields in code and access meta box data through familiar, Laravel-friendly APIs in your theme or application.
pollora/metabox 3.1+ is present; v1.1.0 requires it.php artisan vendor:publish --tag=metabox-config. This creates config/metabox.php.config/metabox.php for default block category, block mode, block views, and default field group priority. Then check the package service provider if you need to understand discovery paths.#[FieldGroup] to attach custom fields to an existing Pollora post type, or #[Block] to render a Blade-backed block. Place classes in the conventional discovery directory (e.g. app/WordPress/Metaboxes, app/WordPress/Blocks, app/WordPress/Settings) or whatever path the package scans.FieldGroup for a Pollora post type you already have, then verify it appears in the WordPress editor.#[FieldGroup], #[Block], or #[SettingsPage]. The package discovers and registers them automatically—no manual register_* calls.#[FieldGroup(id: 'book_details', title: 'Book Details', postTypes: ['book'])]. Use Pollora slugs or class references as targets.#[Block(id: 'hero', namespace: 'app', title: 'Hero')]. The package renders the block with a Blade view named after the namespace and ID (e.g. app::hero or app.hero—confirm the resolver convention). Keep the view in resources/views.#[SettingsPage(id: 'my_settings', title: 'My Settings')] and follow Pollora/metabox field conventions for the page contents.default_block_category, default_block_mode, default_block_views, and default_field_group_priority in config/metabox.php to standardize behavior. Override per attribute where needed.pollora/metabox 3.1. Check your installed version before upgrading; older versions may not support the attribute APIs.composer dump-autoload after moving classes.default_block_views for fallbacks.config/metabox.php, run php artisan config:clear locally or config:cache in production. Stale config is a common cause of defaults not applying.How can I help you explore Laravel packages today?