New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

wotz/laravel-locale-collection

Locale Collection package for Laravel
5,910
Install
composer require wotz/laravel-locale-collection
Latest Version:v2.1.0
PHP:^8.3
Laravel:12 · 13
Older releases:10 · 11
License:MIT
Last Updated:Jul 22, 2026
Links: GitHub  ·  Packagist
Maintainer: Who Owns The Zebra

Locale Collection for Laravel

A package to define locales via a facade for your project.

Installation

You can install the package via composer:

composer require wotz/laravel-locale-collection

Usage

use Wotz\LocaleCollection\Facades\LocaleCollection;
use Wotz\LocaleCollection\Locale;

LocaleCollection::add(new Locale('nl-BE', 'whoownsthezebra.be', 'nl'))
    ->add(new Locale('fr-BE', 'whoownsthezebra.be', 'fr'))
    ->add(new Locale('en-GB', 'whoownsthezebra.com', 'en'));

Documentation

For the full documentation, check here.

Testing

vendor/bin/pest

Changelog

Please see CHANGELOG for more information on what has changed recently.

Upgrading

Please see UPGRADING for more information on how to upgrade to a new version.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

If you discover any security-related issues, please email info@whoownsthezebra.be instead of using the issue tracker.

License

The MIT License (MIT). Please see License File for more information.

Related Packages

wotz/filament-translatable-tabs

This is my package filament-translatable-tabs

5,224 1
wotz/filament-link-picker

A custom field for Filament for picking routes

4,178 1
wotz/filament-resource-picker

This is my package filament-resource-picker

2,818 2
wotz/filament-placeholder-input

A field for Filament that allows you to add content to another field

2,395 1
wotz/filament-mail-templates

A package to create customizable mail templates in Filament

2,214 4

Version History

Version Released PHP Laravel License
v2.1.0 ^8.3 ^12.0 || ^13.0 MIT
v2.0.0 ^8.2 ^10.4 || ^11.0 || ^12.0 MIT
v1.2.1 ^8.2 ^10.4|^11.0|^12.0 MIT
v1.2.0 ^8.2 ^10.4|^11.0|^12.0 MIT
v1.1.0 ^8.2|^8.3 ^10.4|^11.0 MIT