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

illuminate/foundation

The foundational layer of the Laravel framework, illuminate/foundation supplies the application bootstrap and container setup, service provider and facade registration, HTTP and console kernels, configuration loading, and environment detection used by Laravel applications.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for app scaffolding. Foundation supplies the parts of an application nobody wants to own: the application container and bootstrapping, HTTP and console kernels, service provider registration, middleware pipeline, exception handling/rendering, environment and config loading, and the framework's testing helpers. The product decision it settles is "stop maintaining a bespoke bootstrap and standardize on a maintained one."
  • Platform standardization. Whether to ship an internal starter kit/skeleton used by every new service, so every app has the same lifecycle, error-reporting policy, and CI test harness. This is a leverage decision, not a feature decision.
  • Roadmap timing and upgrade cadence. Foundation is the tightest coupling point to the framework's major versions. Committing to it means committing to an upgrade slot roughly every framework major; that belongs on the roadmap alongside feature work, with budget attached.
  • Use cases it unblocks: greenfield Laravel services, consolidating divergent in-house bootstraps, a uniform exception/observability policy across services, and reliable database-backed test suites via the shipped testing traits.
  • DX investment sizing. Onboarding time, first-deploy time, and CI stability are the metrics this decision moves; frame the investment against those, not against feature output.
  • Vendor and dependency risk. Whether a given package is safe to require directly, pin, or avoid entirely (see the due-diligence flag below).

When to Consider This Package

Consider it when:

  • The team is already committed to Laravel. In practice you receive this transitively via laravel/framework — it is not a separate adoption decision, and the decision was really made when Laravel was chosen.
  • You need a full application lifecycle (HTTP, console, queue, scheduler, exception rendering) rather than one isolated component.
  • You want framework-maintained testing helpers and a documented, community-tested upgrade path.
  • Multiple teams need a common application skeleton.

Look elsewhere when:

  • You only need a container, router, or HTTP layer — take illuminate/container, illuminate/routing, illuminate/http individually for a much smaller footprint.
  • You are not on Laravel. Pulling the foundation out of context means inheriting its bootstrap contract, directory conventions, and release cadence for little benefit; Symfony's HttpKernel/FrameworkBundle or Slim are better-matched.
  • You need a non-standard runtime (edge/serverless, heavily customized long-running workers).

Due-diligence flag on this specific listing: zero stars, zero dependents, no version history, and a one-line description. Foundation is not published as a standalone, independently consumable package — it ships inside laravel/framework (with the laravel/laravel skeleton as the reference application). Treat this repository as unverified: a mirror, a fork, or a name-squat. Do not require it directly. Require laravel/framework at a pinned version, and gate adoption on: maintainer identity matching the Laravel core team, releases tracking framework majors, security advisories flowing through the framework's channel, and Composer metadata resolving to the official source.

How to Pitch It (Stakeholders)

For executives: We are not adding a vendor — this is the scaffolding already inside Laravel. Choosing Laravel means committing to its foundation for application bootstrapping, error handling, and CLI tooling, with our product code sitting on top. The trade is a predictable upgrade roughly once a year in exchange for never building or owning a server bootstrap, dependency-injection container, console runner, error renderer, and test harness ourselves — weeks of engineering plus permanent maintenance burden avoided. One caveat: the repository in this evaluation shows no adoption signals (no stars, no dependents, no history). We will consume the capability only through the official laravel/framework release, pinned in composer.json, and revisit the pin at each major upgrade.

For engineering: Foundation provides the Application container and bootstrap, the HTTP and Console kernel lifecycles, provider registration, the middleware pipeline, the exception handler and rendering, config/environment loading, and the testing traits. Plan: standardize the starter kit on it, freeze and then delete bespoke bootstrap code, and put framework majors on the upgrade calendar. Do not fork it — if we need different behavior, extend at the edges with service providers and decorators, and keep the dependency pinned to the official release.

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.
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
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core