Weave Code
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.
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle
elriseio/finance-money-bundle