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.
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?
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.
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.
How can I help you explore Laravel packages today?