goldbroker/cmf
goldbroker/cmf is a Laravel content management framework package that provides reusable building blocks for defining content types, managing pages, and structuring admin backends, aimed at speeding up CMF-style application development with a clean, modular PHP architecture.
doctrine/phpcr-dbal). If you are in a Laravel codebase, do not expect an Eloquent-style integration; you would be running a Symfony kernel or extracting concepts rather than installing this directly.composer require goldbroker/cmf, then read vendor/goldbroker/cmf/composer.json. The fork exists to merge abandoned symfony-cmf/* packages, so check its replace/provide entries and confirm whether it is a drop-in for the old packages or uses renamed namespaces such as GoldBroker\CMF\....config/bundles.php — typically the core, content, menu, routing, and block bundles. If the fork kept Symfony CMF namespaces, these will look like Symfony\Cmf\Bundle\...; if it renamed them, use the classes actually present under vendor/goldbroker/cmf.config/packages/doctrine_phpcr.yaml with a session, workspace, and connection. For local development, the simplest path is usually doctrine/phpcr-dbal with a relational database; for production parity with Jackrabbit, configure the Jackrabbit session instead.bin/console doctrine:phpcr:database:init and bin/console doctrine:phpcr:workspace:create <workspace>. Missing node types are a common first-run failure.Page document with a title, body, parent, and children; let RoutingAuto create a route from the page hierarchy; render the page through a content controller; render navigation with the CMF menu provider. That single vertical slice exercises the package’s main value: content documents, automatic routes, tree-based menus, and admin editing.composer.json, bundle registration, and tests before the upstream Symfony CMF docs. The upstream docs are still the best conceptual reference, but the fork’s source and tests are the source of truth for namespace and version differences.ParentDocument and Children mappings for page trees. This is what enables tree browsing, menu generation, and parent-aware routing. Avoid ad-hoc parent references that bypass the hierarchy.cmf_render_block, menu rendering helpers, and content helpers keep templates consistent with the package’s expectations.symfony-cmf/* packages. Namespace and service collisions are likely. Check replace/conflict rules and remove the abandoned packages first.doctrine/phpcr-dbal behave differently for node types, workspace setup, and queries. Document your chosen backend and initialization steps; a fresh environment that skips workspace setup will fail in confusing ways.var_dump. Use bin/console doctrine:phpcr:node:dump, workspace commands, and debug:container to inspect services. Most “content is missing” issues are wrong workspace, wrong base path, or missing node types.How can I help you explore Laravel packages today?