Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Taxonomies Laravel Package

myerscode/laravel-taxonomies

View on GitHub
Deep Wiki
Context7

Localisation

You can use the built in feature in Laravel for translating text into other languages.

Create a taxonomies and terms language file, using the slug as the key. If a translated value cannot be found, the original value is returned instead.

By default, ->translate() will use the current set locale.

// resources/lang/fr/taxonomies.php
return [
    'hello-world' => 'Bonjour le monde',
]
// resources/lang/fr/terms.php
return [
    'term-one' => 'Terme un',
]
$term = Taxonomy::add('Hello World');
$term->translate('fr')->name
// Returns Bonjour le monde

$term = Term::add('Term One);
$term->translate('fr')->name
// Returns Terme un
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
cgv/localized-resource