Author: Manuel Lemos
Package: Laravel Translatable
This problem requires improving those model classes for applications that store texts dynamically in databases using model classes.
This way, applications can retrieve the correct text translations depending on the current user's preferred language.
This package provides a trait that can enhance the capabilities of model classes used in Laravel based applications.
The trait can access the translated text values stored in model objects depending on the current user language.
About the Laravel Translatable Package
The package Laravel Translatable is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.
The basic purpose is: Provide text translations to use in model classes
Here follows in more detail what it does:
This package can provide text translations to use in model classes.
It provides a trait that can be used by Laravel model classes to provide translations for texts stored in given variables of the model class that uses this trait.
The trait can retrieve, add, update and delete texts of variable values for different languages supported by the application that uses the model class that users the trait.
Conclusion
The Laravel Translatable can be downloaded from download page or be installed using the PHP Composer tool following instructions in the Composer install instructions page.
This package was considered notable for implementing its benefits in a way that is worth noticing.
Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.
If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package as well nice prizes.
One nice prize that many PHP developers want and you may like is the PHP elePHPant mascot plush.
You need to be a registered user or login to post a comment
Login Immediately with your account on:
Comments:
No comments were submitted yet.