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.
emuniq/filament-browser-notifications
syriable/filament-translator
hungnm28/livewire-form
wenprise/eloquent
crudly/encrypted
fadion/bouncy
cuci/prototurk-sdk
gos/pubsub-router-bundle
cuci/prototurk-sdk-symfony
clementtalleu/easyadmin-markdown-bundle
codeflextech/permission-manager
karnoweb/livewire-datepicker
sayedenam/sayed-dashboard
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui