NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #559 most downloaded on Packagist
A trait to make an Eloquent model hold translations
Latest stable
6.15.0
Last release 1 months ago
19 Oct 2026
Ships fairly regularly
a new release about every 3 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
82 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
Add whereTranslationLike() to search partial translated values across one or more columns and locales, with grouped query constraints and bound search
whereTranslationLike() to search partial translated values across one or more columns and locales, with grouped query constraints and bound search patterns. Configure default search locales with Translatable::locales(). Thanks @OthmanHaba for #526.Validation: all six test matrix jobs and PHPStan pass. The suite contains 89 tests and 140 assertions. Local SQLite, MariaDB, PostgreSQL, Pint, Composer validation, and actionlint checks also pass.
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.14.2...6.15.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Ensure locales() always returns a sequential list when translatable attributes share locales, so JSON serialization produces an array rather than an o
locales() always returns a sequential list when translatable attributes share locales, so JSON serialization produces an array rather than an object (#525, fixes #524). Thanks @MohannadElemary.Validation: all four test matrix jobs and PHPStan pass; the test suite contains 82 tests and 123 assertions.
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.14.0...6.14.1
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.14.0...6.14.1
Fix docs title: 'Validation translations' -> 'Validating translations' by @tareq-halaby in https://github.com/spatie/laravel-translatable/pull/516
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.13.0...6.14.0
## What's Changed - Add Laravel 13 support
Bump aglipanci/laravel-pint-action from 2.4 to 2.5 by @dependabot[bot] in https://github.com/spatie/laravel-translatable/pull/489
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.11.4...6.12.0
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.11.3...6.11.4
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.11.3...6.11.4
Allow null value in translations if allowNullForTranslation is true by @dont-know-php in https://github.com/spatie/laravel-translatable/pull/488
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.10.2...6.11.3
Fix casts on initialization of HasTranslation by @thaqebon in https://github.com/spatie/laravel-translatable/pull/486
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.10.1...6.10.2
Handle null database values as null in translations by @alipadron in https://github.com/spatie/laravel-translatable/pull/479
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.10.0...6.10.1
Support clearing translations using an empty array by @alipadron in https://github.com/spatie/laravel-translatable/pull/478
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.9.3...6.10.0
Revert return value change when column value is null by @vencelkatai in https://github.com/spatie/laravel-translatable/pull/474
null by @vencelkatai in https://github.com/spatie/laravel-translatable/pull/474Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.9.2...6.9.3
Improve setAttribute to handle array list as value for translation by @alipadron in https://github.com/spatie/laravel-translatable/pull/469
setAttribute to handle array list as value for translation by @alipadron in https://github.com/spatie/laravel-translatable/pull/469Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.9.1...6.9.2
Fix attribute mutators by @vencelkatai in https://github.com/spatie/laravel-translatable/pull/470
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.9.0...6.9.1
PHP 8.4 deprecates implicitly nullable parameter types. by @selfsimilar in https://github.com/spatie/laravel-translatable/pull/458
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.8.0...6.9.0
Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 by @dependabot in https://github.com/spatie/laravel-translatable/pull/453
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.7.1...6.8.0
fix: PHPDoc block in Translatable facade by @kyryl-bogach in https://github.com/spatie/laravel-translatable/pull/448
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.7.0...6.7.1
Add method comment to Facade for IDE autocompletion by @Muetze42 in https://github.com/spatie/laravel-translatable/pull/438
array $translatable by @fahrim in https://github.com/spatie/laravel-translatable/pull/441Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.6.2...6.7.0
Fix toArray when using accessors on translatable attributes by @vencelkatai in https://github.com/spatie/laravel-translatable/pull/437
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.6.1...6.6.2
fix: allow raw searchable umlauts by @Muetze42 in https://github.com/spatie/laravel-translatable/pull/436
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.6.0...6.6.1
Add laravel 11 support by @mokhosh in https://github.com/spatie/laravel-translatable/pull/434
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.5.5...6.6.0
Revert "Keep null value" by @mabdullahsari in https://github.com/spatie/laravel-translatable/pull/428
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.5.4...6.5.5
Bump actions/checkout from 3 to 4 by @dependabot in https://github.com/spatie/laravel-translatable/pull/413
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.5.3...6.5.4
Bump dependabot/fetch-metadata from 1.5.1 to 1.6.0 by @dependabot in https://github.com/spatie/laravel-translatable/pull/398
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.5.2...6.5.3
Bump dependabot/fetch-metadata from 1.4.0 to 1.5.1 by @dependabot in https://github.com/spatie/laravel-translatable/pull/394
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.5.1...6.5.2
Bump dependabot/fetch-metadata from 1.3.6 to 1.4.0 by @dependabot in https://github.com/spatie/laravel-translatable/pull/389
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.5.0...6.5.1
update customize-the-toarray-method.md by @moham96 in https://github.com/spatie/laravel-translatable/pull/387
$this->translations() in factories by @bram-pkg in https://github.com/spatie/laravel-translatable/pull/382Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.4.0...6.5.0
Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in https://github.com/spatie/laravel-translatable/pull/376
tests status in README.md by @gomzyakov in https://github.com/spatie/laravel-translatable/pull/377Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.3.0...6.4.0
Laravel 10.x support by @erikn69 in https://github.com/spatie/laravel-translatable/pull/374
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.2.0...6.3.0
Add Dependabot Automation by @patinthehat in https://github.com/spatie/laravel-translatable/pull/366
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.1.0...6.2.0
PHPUnit to Pest Converter by @freekmurze in https://github.com/spatie/laravel-translatable/pull/335
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.0.0...6.1.0
improved fallback customisations
- support Laravel 9
Return any translation if neither preferred locale nor fallback locale found by @marvin-wtt in https://github.com/spatie/laravel-translatable/pull/312
Full Changelog: https://github.com/spatie/laravel-translatable/compare/5.0.3...5.1.0
solve the string value issue in filterTranslations method
specify locales in get translations method
fix return types of getTranslation
implement spatie/laravel-package-tools
spatie/laravel-package-tools- add support for PHP 8.0 (#241) - drop support for Laravel 5.8
- revert #235
use string casting for translatable columns
- add replaceTranslations method
rename withLocale to usingLocale
withLocale to usingLocale- elegant syntax update
- add support for Laravel 8
make possible to set multiple translations on mutator model field with array
fix forgetTranslation & forgetAllTranslations on fields with mutator
forgetTranslation & forgetAllTranslations on fields with mutator (#205)- Lumen fix
- add support for Laravel 7
- open up for non-model objects
add third param to translate method
- make compatible with Laravel 6
re-added the translatable.fallback_local config which overrule app.fallback_local (see https://github.com/spatie/laravel-translatable/issues/170)
translatable.fallback_local config which overrule app.fallback_local (see https://github.com/spatie/laravel-translatable/issues/170)- improve dependencies
allow false and true values in translations
- fix service provider error
drop support for Laravel 5.7 and below
app.fallback_local will now be used (see #148)
app.fallback_local will now be used (see #148)- add support for Laravel 5.8
- add hasTranslation
hasTranslationOne column per quarter.