savannabits / translatable
Make your Eloquent models and other content translated into multiple languages
Installs: 39
Dependents: 3
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^7.2.5
- ext-json: *
- laravel/framework: 6.*|7.*
- spatie/laravel-translatable: ^4.2
Requires (Dev)
- orchestra/testbench: ~4.0
- phpunit/phpunit: ^8.5
This package is auto-updated.
Last update: 2024-10-15 16:52:17 UTC
README
Translatable makes your content translatable in defined languages (locales). To sum up, the package:
- publishes a config, that defines locales (languages) used in your project,
- introduces a
HasTranslations
trait that makes your Eloquent model translatable (extendingspatie/laravel-translatable
), - introduces a
TranslatableFormRequest
class that you can use as a base class for your Request classes to extend from, which simplify the definition of the rules for translatable data.
You can find full documentation at https://docs.getcraftable.com/#/translatable