reachweb/locale-lander
Laravel middleware that detects a visitor's preferred locale from the Accept-Language header and redirects them to the matching localized landing page. Configure supported locales and a fallback so multilingual sites send every visitor to the right place.
This release is a compatibility release: v3.3.0 adds Statamic 6 support. There is no new feature surface to learn, so the first job is verifying that your application and this addon are on compatible versions.
composer.json accepts the Statamic version you run. A typical constraint should look like "statamic/cms": "^5.0|^6.0"; if it only allows one major, you may be forced onto a specific Statamic line.composer require vendor/package:^3.3
If the package publishes config or assets, republish and diff rather than overwrite:
php artisan vendor:publish --provider="Vendor\\Package\\ServiceProvider"
php artisan config:clear
php artisan cache:clear
php artisan view:clear
php artisan statamic:stache:clear
src/ServiceProvider.php). For a Statamic addon, that is where bootstrapping, tags, fieldtypes, and CP routes are registered.{{ package_tag }};config/package.php.Statamic::booted(...) or the addon’s service provider boot() method, not in register(). Follow the package’s existing conventions rather than moving registrations around.Statamic::fake(), addon test cases) where available. If you maintain custom tests, run the suite against both Statamic 5 and 6 if the package supports both.^5.0 to ^6.0, that is effectively a breaking change for applications still on Statamic 5. Pin to the last 3.2.x release if needed.php artisan statamic:stache:clear
php artisan statamic:stache:warm
vendor:publish --force can overwrite local customisations. Publish to a temp location or review the diff.APP_DEBUG=true and review storage/logs/laravel.log for deprecation notices from Statamic 6.php artisan about / package discovery output), confirm config is published and cached correctly, clear caches, then isolate by disabling other addons. Most “it stopped working after upgrade” reports are cache or version-constraint issues rather than addon logic.How can I help you explore Laravel packages today?