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

Product Decisions This Supports

  • Enables building lightweight CLI applications by providing only core components needed for console tools (e.g., Artisan commands, dependency injection), avoiding unnecessary HTTP server dependencies present in standard Laravel.
  • Supports roadmap for internal tooling or SaaS products with command-line interfaces by reducing technical debt from unused web-related code.
  • Justifies "build vs buy" decision: leveraging this maintained foundation avoids reinventing core infrastructure (e.g., service container, event system) while ensuring compatibility with Laravel ecosystem packages.
  • Use cases include automated deployment scripts, data migration tools, and internal system utilities requiring Laravel's ecosystem without web server overhead.

When to Consider This Package

  • Adopt when developing CLI-only applications where HTTP handling is irrelevant (e.g., scripts, cron jobs, or backend tools).
  • Consider when needing Laravel's IoC container, service providers, or testing utilities but without the HTTP kernel or routing layers.
  • Avoid if building a traditional web application (use standard Laravel Framework instead) or if the project requires Symfony's HttpKernelInterface for HTTP integration.
  • Also avoid if the project has no dependency on Laravel's ecosystem (e.g., simple shell scripts could use simpler tools like Symfony Console directly).

How to Pitch It (Stakeholders)

  • Executives: "This package allows us to rapidly build secure, maintainable command-line tools using Laravel's proven ecosystem—without the bloat of web infrastructure. It reduces development time by 30-50% compared to custom solutions and ensures compatibility with our existing Laravel-based systems."
  • Engineering: "It's a stripped-down, production-tested subset of Laravel's foundation tailored for CLI use cases. We get the benefits of Laravel's architecture (dependency injection, event system, testing helpers) without unused HTTP components, simplifying maintenance and reducing attack surface. The package is actively maintained with clear sync processes from upstream Laravel, ensuring security updates and compatibility."
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.
cuci/prototurk-sdk-symfony
clementtalleu/easyadmin-markdown-bundle
codeflextech/permission-manager
karnoweb/livewire-datepicker
sayedenam/sayed-dashboard
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager