Weave Code
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

laravel-zero/foundation

Mirror of Laravel’s Illuminate\Foundation for Laravel Zero. Includes small compatibility tweaks: Application doesn’t implement HttpKernelInterface, MAIN_REQUEST constant copied, Kernel::load path handling differs, and queue teardown runs only when Queue exists.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit is strictly limited to Laravel Zero CLI projects; it is a modified subset of Laravel Framework's Foundation components tailored for command-line applications. Standard Laravel web projects should use the official laravel/framework package instead. Integration feasibility is low for non-Laravel-Zero projects due to critical modifications (e.g., Application class omitting HttpKernelInterface implementation), which would break HTTP middleware, routing, and request handling in traditional web contexts. Technical risks include untested edge cases from forked code (e.g., modified Console\Kernel::load() path handling), lack of community testing (0 dependents), and potential security vulnerabilities from outdated syncs with upstream Laravel. Key questions: Why is this package being considered instead of the official Laravel Framework? Is the project exclusively a CLI tool using Laravel Zero? What specific modifications justify the risk over standard Laravel?

Integration Approach

Stack fit is exclusive to Laravel Zero’s CLI ecosystem; it cannot coexist with standard Laravel web projects due to conflicting class implementations. Migration path requires full adoption of Laravel Zero (not just this package), involving significant refactoring of HTTP-centric code to CLI patterns. Compatibility is limited to Laravel Zero 12.x+; using it outside this context will cause fatal errors (e.g., missing HttpKernelInterface methods). Sequencing is irrelevant for standalone use—this package is automatically installed as a dependency when setting up Laravel Zero, not manually integrated.

Operational Impact

Maintenance burden falls entirely on Laravel Zero maintainers; the bin/sync script may not keep pace with Laravel Framework updates, risking security gaps or feature drift. Support is minimal due to near-zero community adoption (0 dependents, 33 stars), with no dedicated support channels beyond Laravel Zero’s core team. Scaling is irrelevant for this package’s intended use case (CLI tools), but misuse in web projects would cause catastrophic failures during request handling. Failure modes include runtime errors from missing HTTP kernel interfaces, inconsistent command discovery due to non-canonicalized app paths, and queue-related test failures when Queue dependencies are absent.

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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport