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.
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle