Laravel Packages

Install Spark in an Existing Laravel App

Published

With the alpha release of Laravel Spark, it includes an installer for scaffolding out everything for a new Laravel app but it left out the ability to add it to an existing app. Mike Bronner created a new package to fill this void:

This is very much a pre-release version. As long as Laravel Spark is not stable, neither is this package. Please test on a new branch of your Laravel app, so in case it doesn’t work as expected you won’t lose anything. If it does work, just PR the branch into your release branch for your app once you are satisfied.

You can find the package on Github with instructions.

Eric L. Barnes photo

Eric is the creator of Laravel News and has been covering Laravel since 2012.

Sponsored

serpapi logo
SerpApi

The Web Search API for Your LLM and AI Applications

Visit SerpApi

The latest

View all →
Securing Filament plugins with Plumb image

Securing Filament plugins with Plumb

Read article
LayaPHP: Self-Hosted Text Classification for PHP and Laravel image

LayaPHP: Self-Hosted Text Classification for PHP and Laravel

Read article
WhenMounted and BigInt Props in Inertia.js v3.8 image

WhenMounted and BigInt Props in Inertia.js v3.8

Read article
Postcodes for Laravel: GB Postcode Lookup and Geography Data image

Postcodes for Laravel: GB Postcode Lookup and Geography Data

Read article
Laravel 14 Adds a defaults() Method to Eloquent Models image

Laravel 14 Adds a defaults() Method to Eloquent Models

Read article
Laravel AI SDK and Laravel MCP Security Fixes: Update Now image

Laravel AI SDK and Laravel MCP Security Fixes: Update Now

Read article