Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Core Laravel Package

drupal/core

Drupal core is the foundational open-source PHP CMS framework behind Drupal. It provides content modeling, routing, caching, permissions, forms, APIs, and extensible modules and themes, giving teams a secure, scalable base for multilingual, accessible web experiences.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Assessment: Do not embed drupal/core directly into a Laravel application. Treat Drupal as a separate runtime/service if its capabilities are required.

  • Architecture fit: Poor as a Laravel library. drupal/core is not a narrow utility package; it is the Drupal framework/CMS core, including its kernel, DI container, routing, entity system, configuration system, cache layer, and database abstractions. Laravel already owns those concerns, so embedding it creates two competing application kernels and lifecycles.
  • Integration feasibility: Low for in-process integration. Feasible only through a bounded service boundary, such as Drupal running separately and exposing JSON:API, REST, GraphQL, or custom HTTP endpoints. Installing drupal/core into a Laravel composer.json is unsupported and likely to create autoload, container, routing, session, and dependency conflicts.
  • Technical risk: High. Key risks include GPL-2.0 copyleft obligations if distributed, Composer/Symfony version conflicts, unsupported dual-framework bootstrapping, security surface expansion, and lockstep upgrade pressure across Laravel and Drupal. The provided repository metadata is unknown, so verify provenance and release integrity before any adoption.
  • Key questions:
    • Which Drupal capability is actually needed: content modeling, editorial workflow, taxonomy, multilingual content, or something else?
    • Must it run in the same PHP process, or can it be a separate service?
    • Is the product distributed to customers, or internal-only? Has legal reviewed GPL-2.0 obligations?
    • Which Drupal major version and PHP/Symfony constraints are required?
    • Who owns Drupal security updates, upgrades, and incident response?
    • What is the exit plan if Drupal is later removed or replaced?

Integration Approach

  • Stack fit: Weak for a Laravel-native stack. If the business need is CMS/content authoring, prefer a Laravel-native CMS, a headless CMS, or a separately deployed Drupal instance. Do not make drupal/core a transitive dependency of the Laravel app.
  • Migration path: Keep Laravel as the application/API layer and Drupal as a content service. Integrate over HTTP with a clear contract: content retrieval, publishing events, media references, authentication, and cache invalidation. If Drupal already exists, preserve it and integrate rather than rewriting into Laravel or embedding Laravel inside Drupal.
  • Compatibility: Validate PHP version, Symfony component versions, PSR interfaces, database drivers, cache backends, and required PHP extensions before committing. Use Drupal’s supported Composer scaffolding and drupal/core-recommended in its own project, not inside the Laravel project. Confirm namespace isolation (Drupal\Core) and avoid shared runtime assumptions.
  • Sequencing:
    1. Confirm business capability and legal/license acceptance.
    2. Run a time-boxed spike with Drupal deployed as a separate container/service.
    3. Define the API contract and data ownership boundaries.
    4. Integrate authentication via OIDC/SAML or token-based exchange.
    5. Add observability, caching, and failure handling at the service boundary.
    6. Migrate content or consumers incrementally behind a feature flag.
    7. Cut over only after security and upgrade ownership is assigned.

Operational Impact

  • Maintenance: High if embedded; moderate if separated. Two release trains must be maintained: Laravel/PHP dependencies and Drupal core/contrib security releases. Drupal major upgrades are periodic projects, not routine patch bumps.
  • Support: Drupal community support is strong for Drupal itself, but there is no Laravel support path for embedded use. The unknown repository provenance increases supply-chain review burden. Internal ownership must include Drupal-specific expertise.
  • Scaling: A separate Drupal service can scale independently with shared database/cache and horizontal web nodes. Embedded Drupal couples scaling, deployment, and failure domains to the Laravel app, which is operationally undesirable.
  • Failure modes: Composer dependency conflicts, autoload collisions, competing service containers, route collisions, session/auth mismatch, cache invalidation gaps, database transaction boundaries, upgrade lockstep, and delayed security patching. A service boundary reduces blast radius but introduces network, latency, and contract-version failure modes.
  • Ramp-up: Significant. The team needs Drupal architecture, Composer scaffolding, security release, and caching/configuration knowledge in addition to Laravel expertise. Budget for training, runbooks, and explicit on-call ownership before production use.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console