spatie/laravel-translatable
A trait to make an Eloquent model hold translations
6.14.1
29M downloads/mo
#613 most downloaded on Packagist
spatie/laravel-translatable
What this package is like to depend on
Last release 4 months ago
23 Apr 2026
Release timing varies
gaps range from 2 weeks to 9 months
Nearly every release is documented
notes for 78 of 80 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
80 releases · first in 2016
4 releases in the last 12 months
see the full history below
Release timeline
80 releases · Apr 2016 to Apr 2026Releases
latest 60 of 80-
6.14.123 Apr 2026Release notes
Open source →Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.14.0...6.14.1
-
6.14.023 Apr 2026Release notes
Open source →What's Changed
- Fix docs title: 'Validation translations' -> 'Validating translations' by @tareq-halaby in #516
- Bump dependabot/fetch-metadata from 2.5.0 to 3.0.0 by @dependabot[bot] in #514
- Fix code bug: inconsistent variable name $newsItem -> $newItem in set… by @tareq-halaby in #517
- Add PHP attribute support for defining translatable columns by @MehediDracula in #515
New Contributors
- @tareq-halaby made their first contribution in #516
- @MehediDracula made their first contribution in #515
Full Changelog: 6.13.0...6.14.0
Release notes
Open source →What's Changed
- Fix docs title: 'Validation translations' -> 'Validating translations' by @tareq-halaby in https://github.com/spatie/laravel-translatable/pull/516
- Bump dependabot/fetch-metadata from 2.5.0 to 3.0.0 by @dependabot[bot] in https://github.com/spatie/laravel-translatable/pull/514
- Fix code bug: inconsistent variable name $newsItem -> $newItem in set… by @tareq-halaby in https://github.com/spatie/laravel-translatable/pull/517
- Add PHP attribute support for defining translatable columns by @MehediDracula in https://github.com/spatie/laravel-translatable/pull/515
New Contributors
- @tareq-halaby made their first contribution in https://github.com/spatie/laravel-translatable/pull/516
- @MehediDracula made their first contribution in https://github.com/spatie/laravel-translatable/pull/515
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.13.0...6.14.0
-
6.13.021 Feb 2026 -
6.12.024 Nov 2025Release notes
Open source →What's Changed
- Bump aglipanci/laravel-pint-action from 2.4 to 2.5 by @dependabot[bot] in #489
- Bump dependabot/fetch-metadata from 2.3.0 to 2.4.0 by @dependabot[bot] in #496
- Update README.md by @Afzaal565 in #497
- Bump stefanzweifel/git-auto-commit-action from 5 to 6 by @dependabot[bot] in #500
- Bump aglipanci/laravel-pint-action from 2.5 to 2.6 by @dependabot[bot] in #504
- Update issue template by @AlexVanderbist in #507
- Bump stefanzweifel/git-auto-commit-action from 6 to 7 by @dependabot[bot] in #508
- Bump actions/checkout from 4 to 5 by @dependabot[bot] in #506
- Fix method call to use instance instead of static by @IndyIndyIndy in #510
- Bump actions/checkout from 5 to 6 by @dependabot[bot] in #511
New Contributors
- @Afzaal565 made their first contribution in #497
- @AlexVanderbist made their first contribution in #507
- @IndyIndyIndy made their first contribution in #510
Full Changelog: 6.11.4...6.12.0
Release notes
Open source →What's Changed
- Bump aglipanci/laravel-pint-action from 2.4 to 2.5 by @dependabot[bot] in https://github.com/spatie/laravel-translatable/pull/489
- Bump dependabot/fetch-metadata from 2.3.0 to 2.4.0 by @dependabot[bot] in https://github.com/spatie/laravel-translatable/pull/496
- Update README.md by @Afzaal565 in https://github.com/spatie/laravel-translatable/pull/497
- Bump stefanzweifel/git-auto-commit-action from 5 to 6 by @dependabot[bot] in https://github.com/spatie/laravel-translatable/pull/500
- Bump aglipanci/laravel-pint-action from 2.5 to 2.6 by @dependabot[bot] in https://github.com/spatie/laravel-translatable/pull/504
- Update issue template by @AlexVanderbist in https://github.com/spatie/laravel-translatable/pull/507
- Bump stefanzweifel/git-auto-commit-action from 6 to 7 by @dependabot[bot] in https://github.com/spatie/laravel-translatable/pull/508
- Bump actions/checkout from 4 to 5 by @dependabot[bot] in https://github.com/spatie/laravel-translatable/pull/506
- Fix method call to use instance instead of static by @IndyIndyIndy in https://github.com/spatie/laravel-translatable/pull/510
- Bump actions/checkout from 5 to 6 by @dependabot[bot] in https://github.com/spatie/laravel-translatable/pull/511
New Contributors
- @Afzaal565 made their first contribution in https://github.com/spatie/laravel-translatable/pull/497
- @AlexVanderbist made their first contribution in https://github.com/spatie/laravel-translatable/pull/507
- @IndyIndyIndy made their first contribution in https://github.com/spatie/laravel-translatable/pull/510
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.11.4...6.12.0
-
6.11.420 Feb 2025Release notes
Open source →Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.11.3...6.11.4
-
6.11.314 Feb 2025Release notes
Open source →What's Changed
- Allow null value in translations if allowNullForTranslation is true by @dont-know-php in #488
New Contributors
- @dont-know-php made their first contribution in #488
Full Changelog: 6.10.2...6.11.3
Release notes
Open source →What's Changed
- Allow null value in translations if allowNullForTranslation is true by @dont-know-php in https://github.com/spatie/laravel-translatable/pull/488
New Contributors
- @dont-know-php made their first contribution in https://github.com/spatie/laravel-translatable/pull/488
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.10.2...6.11.3
-
6.10.203 Feb 2025Release notes
Open source →What's Changed
- 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
-
6.10.131 Jan 2025Release notes
Open source →What's Changed
- Handle null database values as null in translations by @alipadron in #479
Full Changelog: 6.10.0...6.10.1
Release notes
Open source →What's Changed
- 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
-
6.10.031 Jan 2025Release notes
Open source →What's Changed
- Support clearing translations using an empty array by @alipadron in #478
- Bump dependabot/fetch-metadata from 2.2.0 to 2.3.0 by @dependabot in #484
- Add support for nested key translations by @thaqebon in #483
New Contributors
Full Changelog: 6.9.3...6.10.0
Release notes
Open source →What's Changed
- Support clearing translations using an empty array by @alipadron in https://github.com/spatie/laravel-translatable/pull/478
- Bump dependabot/fetch-metadata from 2.2.0 to 2.3.0 by @dependabot in https://github.com/spatie/laravel-translatable/pull/484
- Add support for nested key translations by @thaqebon in https://github.com/spatie/laravel-translatable/pull/483
New Contributors
- @thaqebon made their first contribution in https://github.com/spatie/laravel-translatable/pull/483
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.9.3...6.10.0
-
6.9.316 Dec 2024Release notes
Open source →What's Changed
- Revert return value change when column value is
nullby @vencelkatai in #474
Full Changelog: 6.9.2...6.9.3
Release notes
Open source →What's Changed
- Revert return value change when column value is
nullby @vencelkatai in https://github.com/spatie/laravel-translatable/pull/474
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.9.2...6.9.3
- Revert return value change when column value is
-
6.9.211 Dec 2024Release notes
Open source →What's Changed
- Improve
setAttributeto handle array list as value for translation by @alipadron in https://github.com/spatie/laravel-translatable/pull/469
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.9.1...6.9.2
- Improve
-
6.9.111 Dec 2024Release notes
Open source →What's Changed
- 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
-
6.9.009 Dec 2024Release notes
Open source →What's Changed
- PHP 8.4 deprecates implicitly nullable parameter types. by @selfsimilar in https://github.com/spatie/laravel-translatable/pull/458
- Add .idea to .gitignore, PHP CS Fixer to dev dependencies, and rename PHP CS Fixer config by @alipadron in https://github.com/spatie/laravel-translatable/pull/466
- Allow configuration for handling null and empty strings in translations (Fixes #456) by @alipadron in https://github.com/spatie/laravel-translatable/pull/465
New Contributors
- @selfsimilar made their first contribution in https://github.com/spatie/laravel-translatable/pull/458
- @alipadron made their first contribution in https://github.com/spatie/laravel-translatable/pull/466
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.8.0...6.9.0
-
6.8.024 Jul 2024Release notes
Open source →What's Changed
- Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 by @dependabot in https://github.com/spatie/laravel-translatable/pull/453
- Added operand for json scopes by @rcerljenko in https://github.com/spatie/laravel-translatable/pull/454
New Contributors
- @rcerljenko made their first contribution in https://github.com/spatie/laravel-translatable/pull/454
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.7.1...6.8.0
-
6.7.114 May 2024Release notes
Open source →What's Changed
- fix: PHPDoc block in Translatable facade by @kyryl-bogach in https://github.com/spatie/laravel-translatable/pull/448
- Bump dependabot/fetch-metadata from 1.6.0 to 2.1.0 by @dependabot in https://github.com/spatie/laravel-translatable/pull/446
New Contributors
- @kyryl-bogach made their first contribution in https://github.com/spatie/laravel-translatable/pull/448
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.7.0...6.7.1
-
6.7.013 May 2024Release notes
Open source →What's Changed
- Add method comment to Facade for IDE autocompletion by @Muetze42 in https://github.com/spatie/laravel-translatable/pull/438
- Docs: add type declarations
array $translatableby @fahrim in https://github.com/spatie/laravel-translatable/pull/441 - [FEAT] add ability for filtering a column's locale or multiple locale… by @AbdelrahmanBl in https://github.com/spatie/laravel-translatable/pull/447
New Contributors
- @fahrim made their first contribution in https://github.com/spatie/laravel-translatable/pull/441
- @AbdelrahmanBl made their first contribution in https://github.com/spatie/laravel-translatable/pull/447
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.6.2...6.7.0
-
6.6.201 Mar 2024Release notes
Open source →What's Changed
- Fix toArray when using accessors on translatable attributes by @vencelkatai in https://github.com/spatie/laravel-translatable/pull/437
New Contributors
- @vencelkatai made their first contribution in https://github.com/spatie/laravel-translatable/pull/437
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.6.1...6.6.2
-
6.6.126 Feb 2024Release notes
Open source →What's Changed
- fix: allow raw searchable umlauts by @Muetze42 in https://github.com/spatie/laravel-translatable/pull/436
New Contributors
- @Muetze42 made their first contribution in https://github.com/spatie/laravel-translatable/pull/436
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.6.0...6.6.1
-
6.6.023 Feb 2024Release notes
Open source →What's Changed
- Add laravel 11 support by @mokhosh in https://github.com/spatie/laravel-translatable/pull/434
New Contributors
- @mokhosh made their first contribution in https://github.com/spatie/laravel-translatable/pull/434
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.5.5...6.6.0
-
6.5.506 Dec 2023Release notes
Open source →What's Changed
- Revert "Keep null value" by @mabdullahsari in https://github.com/spatie/laravel-translatable/pull/428
New Contributors
- @mabdullahsari made their first contribution in https://github.com/spatie/laravel-translatable/pull/428
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.5.4...6.5.5
-
6.5.401 Dec 2023Release notes
Open source →What's Changed
- Bump actions/checkout from 3 to 4 by @dependabot in https://github.com/spatie/laravel-translatable/pull/413
- Keep the number of translations even with null values by @sdebacker in https://github.com/spatie/laravel-translatable/pull/427
- Bump stefanzweifel/git-auto-commit-action from 4 to 5 by @dependabot in https://github.com/spatie/laravel-translatable/pull/418
New Contributors
- @sdebacker made their first contribution in https://github.com/spatie/laravel-translatable/pull/427
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.5.3...6.5.4
-
6.5.319 Jul 2023Release notes
Open source →What's Changed
- Bump dependabot/fetch-metadata from 1.5.1 to 1.6.0 by @dependabot in https://github.com/spatie/laravel-translatable/pull/398
- handle new attribute mutator :boom: by @messi89 in https://github.com/spatie/laravel-translatable/pull/402
New Contributors
- @messi89 made their first contribution in https://github.com/spatie/laravel-translatable/pull/402
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.5.2...6.5.3
-
6.5.220 Jun 2023Release notes
Open source →What's Changed
- Bump dependabot/fetch-metadata from 1.4.0 to 1.5.1 by @dependabot in https://github.com/spatie/laravel-translatable/pull/394
- Convert static methods to scopes by @gdebrauwer in https://github.com/spatie/laravel-translatable/pull/396
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.5.1...6.5.2
-
6.5.106 May 2023Release notes
Open source →What's Changed
- Bump dependabot/fetch-metadata from 1.3.6 to 1.4.0 by @dependabot in https://github.com/spatie/laravel-translatable/pull/389
- Add getFallbackLocale method by @gdebrauwer in https://github.com/spatie/laravel-translatable/pull/391
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.5.0...6.5.1
-
6.5.020 Apr 2023Release notes
Open source →What's Changed
- update customize-the-toarray-method.md by @moham96 in https://github.com/spatie/laravel-translatable/pull/387
- Add macro for
$this->translations()in factories by @bram-pkg in https://github.com/spatie/laravel-translatable/pull/382
New Contributors
- @moham96 made their first contribution in https://github.com/spatie/laravel-translatable/pull/387
- @bram-pkg made their first contribution in https://github.com/spatie/laravel-translatable/pull/382
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.4.0...6.5.0
-
6.4.019 Mar 2023Release notes
Open source →What's Changed
- Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in https://github.com/spatie/laravel-translatable/pull/376
- Fix badge with
testsstatus inREADME.mdby @gomzyakov in https://github.com/spatie/laravel-translatable/pull/377 - Update README.md by @alirezasalehizadeh in https://github.com/spatie/laravel-translatable/pull/381
- Enable fallback locale on a per model basis by @yoeriboven in https://github.com/spatie/laravel-translatable/pull/380
New Contributors
- @gomzyakov made their first contribution in https://github.com/spatie/laravel-translatable/pull/377
- @alirezasalehizadeh made their first contribution in https://github.com/spatie/laravel-translatable/pull/381
- @yoeriboven made their first contribution in https://github.com/spatie/laravel-translatable/pull/380
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.3.0...6.4.0
-
6.3.014 Jan 2023Release notes
Open source →What's Changed
- Laravel 10.x support by @erikn69 in https://github.com/spatie/laravel-translatable/pull/374
New Contributors
- @erikn69 made their first contribution in https://github.com/spatie/laravel-translatable/pull/374
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.2.0...6.3.0
-
6.2.023 Dec 2022Release notes
Open source →What's Changed
- Add Dependabot Automation by @patinthehat in https://github.com/spatie/laravel-translatable/pull/366
- Add PHP 8.2 Support by @patinthehat in https://github.com/spatie/laravel-translatable/pull/367
- Bump actions/checkout from 2 to 3 by @dependabot in https://github.com/spatie/laravel-translatable/pull/368
- Added whereLocale and whereLocales methods by @ahmetbarut in https://github.com/spatie/laravel-translatable/pull/370
New Contributors
- @dependabot made their first contribution in https://github.com/spatie/laravel-translatable/pull/368
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.1.0...6.2.0
-
6.1.021 Oct 2022Release notes
Open source →What's Changed
- PHPUnit to Pest Converter by @freekmurze in https://github.com/spatie/laravel-translatable/pull/335
- Fix typo in "Getting and setting translations" by @sami-cha in https://github.com/spatie/laravel-translatable/pull/346
- Fix typo in advanced usage docs directory name by @greatislander in https://github.com/spatie/laravel-translatable/pull/347
- Fixed example for forgetAllTranslations() method. by @odeland in https://github.com/spatie/laravel-translatable/pull/348
- added locales method by @ahmetbarut in https://github.com/spatie/laravel-translatable/pull/361
New Contributors
- @sami-cha made their first contribution in https://github.com/spatie/laravel-translatable/pull/346
- @greatislander made their first contribution in https://github.com/spatie/laravel-translatable/pull/347
- @odeland made their first contribution in https://github.com/spatie/laravel-translatable/pull/348
- @ahmetbarut made their first contribution in https://github.com/spatie/laravel-translatable/pull/361
Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.0.0...6.1.0
-
6.0.007 Mar 2022Release notes
Open source →- improved fallback customisations
- modernized code base
- drop support for Laravel 8
-
5.2.013 Jan 2022 -
5.1.016 Dec 2021Nothing published for this version
-
5.0.304 Oct 2021 -
5.0.228 Sep 2021 -
5.0.115 Jul 2021 -
5.0.026 Mar 2021Release notes
Open source →- require PHP 8+
- convert syntax to PHP 8
- drop support for PHP 7.x
- drop support for Laravel 6.x
- implement
spatie/laravel-package-tools
-
4.6.019 Nov 2020 -
4.5.222 Oct 2020 -
4.5.122 Oct 2020 -
4.5.003 Oct 2020 -
4.4.302 Oct 2020 -
4.4.202 Oct 2020 -
4.4.106 Sep 2020 -
4.4.009 Jul 2020Release notes
Open source →- make possible to set multiple translations on mutator model field with array (#216)
-
4.3.230 Apr 2020Release notes
Open source →- fix
forgetTranslation&forgetAllTranslationson fields with mutator (#205)
- fix
-
4.3.111 Mar 2020 -
4.3.002 Mar 2020 -
4.2.220 Jan 2020 -
4.2.103 Oct 2019 -
4.2.004 Sep 2019 -
4.1.429 Aug 2019Release notes
Open source →- re-added the
translatable.fallback_localconfig which overruleapp.fallback_local(see https://github.com/spatie/laravel-translatable/issues/170)
- re-added the
-
4.1.316 Jul 2019 -
4.1.205 Jun 2019 -
4.1.127 Feb 2019 -
4.1.027 Feb 2019Release notes
Open source →- drop support for Laravel 5.7 and below
- drop support for PHP 7.1 and below
-
4.0.027 Feb 2019 -
3.1.327 Feb 2019 -
3.1.205 Feb 2019 -
3.1.119 Dec 2018 -
3.1.029 Nov 2018