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

Foundation Laravel Package

cortex/foundation

Cortex Foundation supplies the shared core of the Cortex ecosystem: base contracts, service providers, and supporting utilities that modular Laravel applications build on. It standardises bootstrapping, configuration, and package integration so add-on packages stay consistent and lightweight.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

  • Architecture fit: cortex/foundation is the core of Rinvex Cortex’s modular Laravel application architecture, so it is conceptually relevant only if the target product is a Laravel modular monolith using Rinvex conventions. It is not a general-purpose Laravel package and is unlikely to fit API-first, microservice, serverless, or non-Rinvex architectures without significant adaptation.
  • Integration feasibility: Low for production adoption. The repository is archived, has 7 stars, 0 dependents, and is explicitly the “classic” foundation, indicating legacy status. Composer installability against current Laravel/PHP versions must be proven with a time-boxed spike before any roadmap commitment.
  • Technical risk: High. Archived status means no upstream security patches, no Laravel compatibility updates, no dependency maintenance, and no community support. As a foundational package, it likely couples module loading, service providers, configuration, migrations, and companion Rinvex packages, creating broad blast radius if adopted.
  • Leverage position: Treat it primarily as a reference implementation for modular Laravel patterns, not as a runtime dependency. MIT licensing allows harvesting ideas or forking code, but any fork creates an internal product with an owner, security process, and upgrade budget.
  • Key questions:
    • Which Laravel and PHP versions does the target platform require, and does this package resolve under those constraints?
    • Which companion Rinvex/Cortex packages are required, and are they also archived or unavailable?
    • Does the package provide module discovery, service-provider loading, config publishing, migrations, auth/ACL, tenancy, or admin tooling that the product actually needs?
    • Is there a maintained successor or migration path from “classic” to a current Cortex release?
    • What is the internal appetite to own a forked foundation package, including security patching and framework upgrades?
    • Can the desired modular architecture be achieved with maintained alternatives such as Laravel package discovery, Composer path repositories, or nwidart/laravel-modules?

Integration Approach

  • Stack fit: Validate fit only against a Laravel modular-monolith target. If the product is not committed to Rinvex-style modules, do not integrate this package; use it as an architectural reference instead.
  • Compatibility gate: Before integration, run a Composer dependency audit against the target Laravel/PHP matrix. Check composer.json constraints, service providers, aliases, config files, migrations, and whether required companion packages resolve. A failed composer why-not or unresolved dependency graph should be a no-go.
  • Migration path: Prefer a reference-only path first: extract patterns, contracts, and module-boundary conventions without adding the package. If direct reuse is justified, fork under an internal namespace, pin to a specific commit, and isolate the foundation behind internal interfaces so it can be replaced.
  • Sequencing:
    1. Inventory required capabilities and map them to package modules.
    2. Run a sandbox spike on the exact target Laravel/PHP version.
    3. Audit transitive dependencies, licenses, migrations, and service-provider boot behavior.
    4. Decide: reference-only, internal fork, or no-go.
    5. If adopted, wrap the module registry and bootstrapping behind internal contracts.
    6. Migrate one low-risk module first behind a feature flag.
    7. Add contract tests and a rollback path before expanding adoption.
  • Compatibility strategy: Pin exact versions, avoid floating constraints, document the supported Laravel/PHP matrix, and maintain a compatibility shim if the product must run on newer framework versions. Budget for periodic framework-upgrade work because upstream will not provide it.

Operational Impact

  • Maintenance: Adoption converts an archived dependency into an internally maintained platform component. Assign an owner, define a patching SLA, run dependency and security scanning, and budget for Laravel/PHP upgrade work. Without this, the package becomes a frozen liability.
  • Support: Expect no upstream fixes, limited documentation, and minimal community knowledge. Ramp-up depends on reading source code and companion packages. A senior Laravel engineer should lead the spike; estimate 1–3 sprints for dependency audit, sandbox validation, and architecture assessment before committing.
  • Scaling: Unknown. Modular bootstrapping, service-provider loading, and database/module coupling may add overhead and make horizontal scaling or tenant isolation harder to reason about. Load-test only after the architecture is proven; do not assume the foundation scales with the product.
  • Failure modes: Composer resolution failures on modern Laravel, framework-upgrade breakage, service-provider boot-order issues, migration collisions, missing archived companion packages, auth/ACL or tenancy defects, and security vulnerabilities with no upstream patch. These are high-severity because the package is foundational.
  • Ramp-up and exit: Treat adoption as a platform bet. Maintain an exit plan: internal interfaces around module loading, documented data migrations, and a path to replace the foundation with maintained Laravel-native modular tooling. If the team cannot fund ongoing stewardship, the correct TPM decision is to use cortex/foundation as a design reference only and avoid production dependency.
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.
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
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource