astrotomic/laravel-translatable
A Laravel package for multilingual models
v11.17.1
8.6M downloads/mo
#1551 most downloaded on Packagist
Astrotomic/laravel-translatable
What this package is like to depend on
Last release 9 days ago
14 Aug 2026
Release timing varies
gaps range from 2 weeks to 1.2 years
Most releases are documented
notes for 50 of 79 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
79 releases · first in 2014
2 releases in the last 12 months
see the full history below
Release timeline
79 releases · Feb 2014 to Aug 2026Releases
latest 60 of 79-
v11.17.114 Aug 2026Release notes
Open source →What's Changed
- Bump codecov/codecov-action from 5 to 6 by @dependabot[bot] in #469
- Bump actions/checkout from 6 to 7 by @dependabot[bot] in #473
- Bump codecov/codecov-action from 6 to 7 by @dependabot[bot] in #472
- Bump dependabot/fetch-metadata from 2 to 3 by @dependabot[bot] in #470
- If preventsAccessingMissingAttributes is enabled it throws MissingAttributeExceptions by @dducro in #442
- Grant workflow write permissions by @Gummibeer in #475
- Prevent missing attribute exceptions for translatable configuration by @Gummibeer in #474
- Prevent duplicate left joins in translation order queries. by @shaunluedeke in #454
- Prevent duplicate joins when ordering by translations by @Gummibeer in #476
New Contributors
Full Changelog: v11.17.0...v11.17.1
-
v11.17.027 Mar 2026Release notes
Open source →What's Changed
- Bump actions/checkout from 4 to 6 by @dependabot[bot] in #463
- Bump stefanzweifel/git-auto-commit-action from 6 to 7 by @dependabot[bot] in #461
- add laravel 13 compatibility by @cdignas in #466
- Update Laravel dependencies to include version 13.0 by @shaunluedeke in #465
- Laravel 13 & PHP8.5 support by @Gummibeer in #467
New Contributors
- @cdignas made their first contribution in #466
- @shaunluedeke made their first contribution in #465
Full Changelog: v11.16.1...v11.17.0
-
v11.16.109 Jul 2025Release notes
Open source →What's Changed
- Bump stefanzweifel/git-auto-commit-action from 5 to 6 by @dependabot in #456
- Bump codecov/codecov-action from 4 to 5 by @dependabot in #450
- Bump creyD/prettier_action from 4.3 to 4.6 by @dependabot in #455
- add PHPDoc hints for IDE property support in traits by @mitoop in #457
New Contributors
Full Changelog: v11.16.0...v11.16.1
-
v11.16.026 Mar 2025Release notes
Open source →What's Changed
- Laravel 12.x Compatibility by @Oleksandr-Moik in #447
- Fix wrapped mass assignment with unguarded models by @dennis-koster in #431
New Contributors
- @dennis-koster made their first contribution in #431
Full Changelog: v11.15.1...v11.16.0
-
v11.15.128 Aug 2024 -
v11.15.026 Aug 2024Release notes
Open source →What's Changed
- Fix a typo in TranslatableTest by @szepeviktor in #420
- Description for translated() scope is wrong by @GhostvOne in #427
- Call original implementation on numeric translated tests by @rbngzlv in #425
- Add missing test for saving translations standalone by @rbngzlv in #423
- Fix regression trying to save empty translations by @rbngzlv in #424
- Allow to use a wrapper when creating multiple translations by @artemiyone in #409
- Enhance Custom Rules: Introduce translatableExists and translatableUnique for Validating Translatable Attributes by @amjadbanimattar in #406
New Contributors
- @szepeviktor made their first contribution in #420
- @GhostvOne made their first contribution in #427
- @rbngzlv made their first contribution in #425
- @artemiyone made their first contribution in #409
- @amjadbanimattar made their first contribution in #406
Full Changelog: v11.14.1...v11.15.0
-
v11.14.110 Jul 2024 -
v11.14.024 Jun 2024 -
v11.13.017 Apr 2024Release notes
Open source →What's Changed
- Laravel 11.x Compatibility by @laravel-shift in #391
- Batch of changes for package; Add Laravel 11 support by @Oleksandr-Moik in #395 #404
- add phpstan and correct till level 5 by @kcassam in #402 #405
- Update scopes.md by @Oleksandr-Moik in #398
- Laravel 11 by @Gummibeer in #403
- Bump a ton of stuff by @dependabot in #338 #342 #346 #347 #348 #352 #353 #355 #356 #363 #366 #368 #370 #375 #379 #394
Full Changelog: v11.12.1...v11.13.0
-
v11.12.127 Feb 2023Release notes
Open source →What's Changed
- Bump creyD/prettier_action from 4.2 to 4.3 by @dependabot in #332
- Update .gitattributes to reduce dist size by @daniel-de-wit in #310
New Contributors
- @daniel-de-wit made their first contribution in #310
Full Changelog: v11.12.0...v11.12.1
-
v11.12.021 Feb 2023Nothing published for this version
-
v11.11.010 Oct 2022Release notes
Open source →- Change
\Astrotomic\Translatable\Traits\Relationship::translation()relation to use the newofMany- #297
- Change
-
v11.10.005 Feb 2022Release notes
Open source →- Drop PHP7 support
- Drop Laravel 5.8 and 6 and 7 support
- Add Laravel 9 support
- Add PHP8.1 support
-
v11.9.119 Nov 2020 -
v11.9.009 Sep 2020 -
v11.8.308 Jul 2020Release notes
Open source →- Fix
\Astrotomic\Translatable\Exception\LocalesNotDefinedExceptionexception message
- Fix
-
v11.8.223 Jun 2020Nothing published for this version
-
v11.8.123 Apr 2020Release notes
Open source →- Fix custom locale column name in
\Astrotomic\Translatable\Traits\Relationship::translation()method - #146
- Fix custom locale column name in
-
v11.8.003 Mar 2020 -
11.7.127 Feb 2020 -
v11.7.028 Jan 2020 -
v11.6.106 Nov 2019 -
v11.6.001 Nov 2019Release notes
Open source →- Drop PHP 7.1 support
- Drop Laravel 5.6 & 5.7 support
- Add PHP side translation cascade deletion - #98 (disabled by default)
-
v11.5.209 Oct 2019 -
v11.5.105 Sep 2019Release notes
Open source →- Fix
getTranslationByLocaleKey()to usetranslationrelation if possible - #49
- Fix
-
v11.5.005 Sep 2019Release notes
Open source →- Add rule parsing to
\Astrotomic\Translatable\Validation\RuleFactory- #56
- Add rule parsing to
-
v11.4.004 Sep 2019 -
v11.3.007 Aug 2019 -
v11.2.107 Aug 2019 -
v11.2.007 Aug 2019 -
v11.1.301 Aug 2019 -
v11.1.216 Jul 2019 -
v11.1.124 Jun 2019 -
v11.1.020 Jun 2019Release notes
Open source →- Add missing dependencies
illuminate/contractsandilluminate/database- #9 - Add
\Astrotomic\Translatable\Contracts\Translatableinterface - Split
\Astrotomic\Translatable\Translatableinto multiple traits - but use them in the main one - Add
translationrelationship - #3 - Flag methods, not defined in interface as
@internal - Rename
getRelationKey()togetTranslationRelationKey()to prevent conflicts - the original one is@deprecatedand will be dropped in next major release - Update the where translation scopes to unify them and remove duplicated code - #2
- Add missing dependencies
-
v11.0.018 Jun 2019Release notes
Open source →migrate from dimsav to astrotomic
- upgrade to
dimsav/laravel-translatable:v10.0.0 - run
composer remove dimsav/laravel-translatable - run
composer require astrotomic/laravel-translatable - replace
Dimsav\byAstrotomic\in your whole project (namespace change)
v10.0.0
- Add
Dimsav\Translatable\Localeshelper class #574 - Fix
getRelationKey()#575 - drop custom save method in favor of saved event listener #567
v9
- upgrade to
-
v10.0.003 Jun 2019Nothing published for this version
-
v9.5.003 Jun 2019Release notes
Open source →- Add
isEmptyTranslatableAttribute()method to allow custom empty attribute decision logic #576
- Add
-
v9.4.028 Feb 2019 -
v9.3.003 Feb 2019 -
v9.2.006 Sep 2018 -
v9.1.007 Aug 2018Release notes
Open source →- Do not call get translation with fallback locale and fallback enabled #502
- Allow
translateOrDefault()andtranslateOrNew()to default to user app locale #500 - Change autoload translations behavior on runtime #501
- Use fallback in
attributesToArray()#503 - Added
orderByTranslation()scope #504 - Example in doc for locale filtering in
whereTranslation()scope #487 - Fire saving event in every case #457
- Allow to change default translation model namespace from config file #508
-
v7.2.107 Jun 2017 -
v6.0.119 Aug 2016Release notes
Open source →- Fix issue when trying to fetch a translation with a country based locale #264
-
v5.6.117 Aug 2016 -
v5.5.110 Apr 2016 -
v5.1.217 Oct 2015 -
v5.1.113 Sep 2015 -
v5.0.106 Mar 2015 -
v4.3.205 Nov 2014Nothing published for this version
-
v4.3.104 Sep 2014Nothing published for this version
-
v4.2.120 Jun 2014Nothing published for this version
-
v4.1.120 Jun 2014Release notes
Open source →- Fixed issue with saving translations, caused by the update of the laravel core.
-
v4.0.102 Jun 2014Nothing published for this version
-
v4.0.022 May 2014Release notes
Open source →- Removed syntax
$model->en->namebecause conflicts may happen if the model has a property nameden. See #18. - Added method
hasTranslation($locale). See #19.
v3.0.0
- Fixed bug #7. Model's Translations were deleted when the model delete failed.
v2.0.0
- Translatable is now a trait and can be used as add-on to your models.
- 100% code coverage
v1.0.0
- Initial version
- Translatable is a class extending Eloquent
- 96% code coverage
- Removed syntax
-
v3.0.109 Mar 2014Nothing published for this version
-
v3.0.009 Mar 2014Nothing published for this version
-
v2.0.011 Feb 2014Nothing published for this version
-
v1.0.111 Feb 2014Nothing published for this version
-
v9.010 Feb 2018Nothing published for this version
-
v8.104 Jan 2018Nothing published for this version