Download the PHP package moox/localization without Composer
On this page you can find all versions of the php package moox/localization. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download moox/localization
More information about moox/localization
Files in moox/localization
Package localization
Short Description This is my package localization
License MIT
Homepage https://moox.org/
Informations about the package localization

Moox Localization
This is a package for Laravel to handle localization and requires the package astrotomic/laravel-translatable.
Quick Installation
These two commmands are all you need to install the package:
Curious what the install command does? See manual installation below.
What it does
-
Will create a new table
localizationswith the following columns:language_idrouting_pathtitledescriptionkeywordsauthorcreated_atupdated_at
- Has dependencies to the
astrotomic/laravel-translatableandmoox/corepackage. - Has Language Switcher Livewire Component and LocalizationPanelProvider.
LocalizationPanelProvider
To use the LocalizationPanelProvider, you need to enable it in the config file:
now the panel will be available at /localization
Language Switcher
Include a Language switcher which wil rely on your created locales. To include it in filament panel
or just use the livewire component in your blade view:
LanguageMiddleware
The LanguageMiddleware is used to set a session cookie for the language.
Tabs and Translation
Moox Core features like Dynamic Tabs and Translatable Config. See the config file for more details, but as a quick example:
All options for Tabs are explained in Moox Core docs.
Manual Installation
Instead of using the install-command php artisan localization:install you are able to install this package manually step by step:
use it
We are requiring astrotomic/laravel-translatable to use it see doc: https://docs.astrotomic.info/laravel-translatable
Changelog
Please see CHANGELOG for more information on what has changed recently.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of localization with dependencies
moox/data Version 5.0.12
astrotomic/laravel-translatable Version ^11.16