x7media/laravel-planetscale
A Laravel integration for PlanetScale that simplifies connecting your app to PlanetScale’s MySQL-compatible database and managing common PlanetScale workflows from Artisan, making serverless database setup and branch-based development easier.
composer require <vendor>/<package>:^1.1 and verify composer.json resolves illuminate/support to ^10.0 — on Laravel 9 you can stay on the 1.0 line, but do not assume a single constraint covers both.composer update on 8.0 is not possible here.config/ directory. Standard Laravel packages expose their surface there — that is where you learn which bindings are container-resolved, which are facades, and which settings are publishable versus read-only.php artisan vendor:publish --provider="Vendor\Package\PackageServiceProvider" --tag=config (adjust the tag to whatever the package documents). Commit the published file so environment-specific overrides are visible in review rather than hidden in vendor defaults.app(YourFacade::class) call plus one real request is a better smoke test than reading the README twice.config/<package>.php at boot. Set per-environment values in .env and reference them from the published config rather than branching on app()->environment() in your own code.App\Services\... class that owns the package dependency keeps the blast radius of a future major version to a single file and gives you an obvious seam for fakes.Package::fake() plus assertion helpers. Prefer those over Http::fake()/Queue::fake() unless the package is thin enough that a generic fake is equivalent.^1.1 in composer.json but run your test suite against the lowest and highest resolvable versions (e.g. a CI matrix across Laravel 10.x minors) so a future patch release can't silently break you.php artisan package:discover (or composer dump-autoload) — a stale bootstrap/cache/packages.php is the usual cause of "class not found" immediately after a version bump.php artisan config:clear — edits to a published config file are invisible while a cached config is in play, and this burns people most often in staging.^9.0, Composer will refuse the upgrade. composer why-not illuminate/support 10 localizes the culprit faster than reading the resolution error.doctrine/dbal, verify column-change behaviour on a copy of a real database before trusting it in production.vendor/ patches — should be treated as private and will not survive the next minor release.app()->bound(YourClass::class) and app()->make(YourClass::class) in tinker isolate whether the problem is registration or behaviour. Registration failures are almost always cache, provider, or constraint related — rarely the package itself.How can I help you explore Laravel packages today?