PackageTrack
Sign in Get early access

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 2026
2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 80
  1. 6.14.1 23 Apr 2026
    Release notes

    Full Changelog: 6.14.0...6.14.1

    Open source →
    Release notes

    Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.14.0...6.14.1

    Open source →
  2. 6.14.0 23 Apr 2026
    Release notes

    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

    Full Changelog: 6.13.0...6.14.0

    Open source →
    Release notes

    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

    Open source →
  3. 6.13.0 21 Feb 2026
    Release notes

    What's Changed

    • Add Laravel 13 support
    Open source →
    Release notes

    What's Changed

    • Add Laravel 13 support
    Open source →
  4. 6.12.0 24 Nov 2025
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 6.11.4...6.12.0

    Open source →
    Release notes

    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

    Open source →
  5. 6.11.4 20 Feb 2025
    Release notes

    Full Changelog: 6.11.3...6.11.4

    Open source →
    Release notes

    Full Changelog: https://github.com/spatie/laravel-translatable/compare/6.11.3...6.11.4

    Open source →
  6. 6.11.3 14 Feb 2025
    Release notes

    What's Changed

    • Allow null value in translations if allowNullForTranslation is true by @dont-know-php in #488

    New Contributors

    Full Changelog: 6.10.2...6.11.3

    Open source →
    Release notes

    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

    Open source →
  7. 6.10.2 03 Feb 2025
    Release notes

    What's Changed

    • Fix casts on initialization of HasTranslation by @thaqebon in #486

    Full Changelog: 6.10.1...6.10.2

    Open source →
    Release notes

    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

    Open source →
  8. 6.10.1 31 Jan 2025
    Release notes

    What's Changed

    • Handle null database values as null in translations by @alipadron in #479

    Full Changelog: 6.10.0...6.10.1

    Open source →
    Release notes

    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

    Open source →
  9. 6.10.0 31 Jan 2025
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 6.9.3...6.10.0

    Open source →
    Release notes

    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

    Open source →
  10. 6.9.3 16 Dec 2024
    Release notes

    What's Changed

    Full Changelog: 6.9.2...6.9.3

    Open source →
    Release notes

    What's Changed

    • Revert return value change when column value is null by @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

    Open source →
  11. 6.9.2 11 Dec 2024
    Release notes

    What's Changed

    • Improve setAttribute to 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

    Open source →
  12. 6.9.1 11 Dec 2024
    Release notes

    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

    Open source →
  13. 6.9.0 09 Dec 2024
    Release notes

    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

    Open source →
  14. 6.8.0 24 Jul 2024
    Release notes

    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

    Open source →
  15. 6.7.1 14 May 2024
    Release notes

    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

    Open source →
  16. 6.7.0 13 May 2024
    Release notes

    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 $translatable by @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

    Open source →
  17. 6.6.2 01 Mar 2024
    Release notes

    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

    Open source →
  18. 6.6.1 26 Feb 2024
    Release notes

    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

    Open source →
  19. 6.6.0 23 Feb 2024
    Release notes

    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

    Open source →
  20. 6.5.5 06 Dec 2023
    Release notes

    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

    Open source →
  21. 6.5.4 01 Dec 2023
    Release notes

    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

    Open source →
  22. 6.5.3 19 Jul 2023
    Release notes

    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

    Open source →
  23. 6.5.2 20 Jun 2023
    Release notes

    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

    Open source →
  24. 6.5.1 06 May 2023
    Release notes

    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

    Open source →
  25. 6.5.0 20 Apr 2023
    Release notes

    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

    Open source →
  26. 6.4.0 19 Mar 2023
    Release notes

    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 tests status in README.md by @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

    Open source →
  27. 6.3.0 14 Jan 2023
    Release notes

    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

    Open source →
  28. 6.2.0 23 Dec 2022
    Release notes

    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

    Open source →
  29. 6.1.0 21 Oct 2022
    Release notes

    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

    Open source →
  30. 6.0.0 07 Mar 2022
    Release notes
    • improved fallback customisations
    • modernized code base
    • drop support for Laravel 8
    Open source →
  31. 5.2.0 13 Jan 2022
    Release notes
    • support Laravel 9
    Open source →
  32. 5.1.0 16 Dec 2021

    Nothing published for this version

  33. 5.0.3 04 Oct 2021
    Release notes
    • solve the string value issue in filterTranslations method (#300)
    Open source →
  34. 5.0.2 28 Sep 2021
    Release notes
    • specify locales in get translations method (#299)
    Open source →
  35. 5.0.1 15 Jul 2021
    Release notes
    • fix return types of getTranslation (#286)
    Open source →
  36. 5.0.0 26 Mar 2021
    Release notes
    • 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
    Open source →
  37. 4.6.0 19 Nov 2020
    Release notes
    • add support for PHP 8.0 (#241)
    • drop support for Laravel 5.8 (#241)
    Open source →
  38. 4.5.2 22 Oct 2020
    Release notes
    • revert #235
    Open source →
  39. 4.5.1 22 Oct 2020
    Release notes
    • use string casting for translatable columns (#235)
    Open source →
  40. 4.5.0 03 Oct 2020
    Release notes
    • add replaceTranslations method (#231)
    Open source →
  41. 4.4.3 02 Oct 2020
    Release notes
    • rename withLocale to usingLocale
    Open source →
  42. 4.4.2 02 Oct 2020
    Release notes
    • elegant syntax update (#229)
    Open source →
  43. 4.4.1 06 Sep 2020
    Release notes
    • add support for Laravel 8 (#226)
    Open source →
  44. 4.4.0 09 Jul 2020
    Release notes
    • make possible to set multiple translations on mutator model field with array (#216)
    Open source →
  45. 4.3.2 30 Apr 2020
    Release notes
    • fix forgetTranslation & forgetAllTranslations on fields with mutator (#205)
    Open source →
  46. 4.3.1 11 Mar 2020
    Release notes
    • Lumen fix (#201)
    Open source →
  47. 4.3.0 02 Mar 2020
    Release notes
    • add support for Laravel 7
    Open source →
  48. 4.2.2 20 Jan 2020
    Release notes
    • open up for non-model objects (#186)
    Open source →
  49. 4.2.1 03 Oct 2019
    Release notes
    • add third param to translate method (#177)
    Open source →
  50. 4.2.0 04 Sep 2019
    Release notes
    • make compatible with Laravel 6
    Open source →
  51. 4.1.4 29 Aug 2019
    Release notes
    • re-added the translatable.fallback_local config which overrule app.fallback_local (see https://github.com/spatie/laravel-translatable/issues/170)
    Open source →
  52. 4.1.3 16 Jul 2019
    Release notes
    • improve dependencies
    Open source →
  53. 4.1.2 05 Jun 2019
    Release notes
    • allow false and true values in translations
    Open source →
  54. 4.1.1 27 Feb 2019
    Release notes
    • fix service provider error
    Open source →
  55. 4.1.0 27 Feb 2019
    Release notes
    • drop support for Laravel 5.7 and below
    • drop support for PHP 7.1 and below
    Open source →
  56. 4.0.0 27 Feb 2019
    Release notes
    • app.fallback_local will now be used (see #148)
    Open source →
  57. 3.1.3 27 Feb 2019
    Release notes
    • add support for Laravel 5.8
    Open source →
  58. 3.1.2 05 Feb 2019
    Release notes
    • add hasTranslation
    Open source →
  59. 3.1.1 19 Dec 2018
    Release notes
    • allow 0 to be used as a translation value
    Open source →
  60. 3.1.0 29 Nov 2018
    Release notes
    • allow getTranslations to return other things than strings
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive