Laravel Translatable: Provide text translations to use in model classes

Recommend this page to a friend!
  Info   View files Documentation   View files View files (17)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2021-07-08 (12 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 5 This week: 3All time: 10,366 This week: 58Up
Version License PHP version Categories
laravel-translatable 1.0MIT/X Consortium ...5Localization, PHP 5, Databases, Desig...
Description Author

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.

Picture of Moamen Eltouny
  Performance   Level  
Name: Moamen Eltouny <contact>
Classes: 26 packages by
Country: Egypt Egypt
Age: 28
All time rank: 306533 in Egypt Egypt
Week rank: 33 Up1 in Egypt Egypt Up
Innovation award
Innovation award
Nominee: 13x

Details

<p align="center"><a href="https://pharaonic.io" target="_blank"><img src="https://raw.githubusercontent.com/Pharaonic/logos/main/translatable.jpg"></a></p>

<p align="center"> <a href="https://php.net" target="_blank"><img src="https://img.shields.io/static/v1?label=PHP&message=%3E=7.2&color=blue&style=flat-square" alt="PHP Version : >= 7.2"></a> <a href="https://laravel.com" target="_blank"><img src="https://img.shields.io/static/v1?label=Laravel&message=%3E=6.0&color=F05340&style=flat-square" alt="Laravel Version : >= 6.0"></a> <img src="https://img.shields.io/static/v1?label=License&message=MIT&color=brightgreen&style=flat-square" alt="License"> <a href="https://liberapay.com/Pharaonic" target="_blank"><img src="https://img.shields.io/liberapay/receives/Pharaonic?color=gold&label=Support&style=flat-square" alt="Support"></a> <br> <a href="https://packagist.org/packages/Pharaonic/laravel-translatable" target="_blank"><img src="https://img.shields.io/static/v1?label=Packagist&message=pharaonic/laravel-translatable&color=blue&logo=packagist&logoColor=white" alt="Source"></a> <a href="https://packagist.org/packages/pharaonic/laravel-translatable" target="_blank"><img src="https://poser.pugx.org/pharaonic/laravel-translatable/v" alt="Packagist Version"></a> <a href="https://packagist.org/packages/pharaonic/laravel-translatable" target="_blank"><img src="https://poser.pugx.org/pharaonic/laravel-translatable/downloads" alt="Packagist Downloads"></a> </p>

<h3 align="center">Simplest Translatable for Laravel Eloquent/Model.</h3> <br>

Documentation

You can find the detailed documentation here in Laravel Translatable Documentation.

Contributing

Thank you for considering contributing to this package! Be one of Pharaonic team.

Pharaonic Sponsors

We would like to extend our thanks to the following sponsors for funding Pharaonic packages development. If you are interested in becoming a sponsor, please visit the Pharaonic Liberapay page or Patreon page.

License

This package is an open-sourced software licensed under the MIT license.

  Files folder image Files  
File Role Description
Files folder image.github (1 directory)
Files folder imagesrc (3 files, 2 directories)
Files folder imagetests (2 files, 2 directories)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file phpunit.xml.dist Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  .github  
File Role Description
Files folder imageworkflows (1 file)

  Files folder image Files  /  .github  /  workflows  
File Role Description
  Accessible without login Plain text file build.yml Data Auxiliary data

  Files folder image Files  /  src  
File Role Description
Files folder imageCommands (1 file)
Files folder imageTraits (2 files)
  Accessible without login Plain text file config.php Aux. Auxiliary script
  Plain text file Translatable.php Class Class source
  Plain text file TranslatableServiceProvider.php Class Class source

  Files folder image Files  /  src  /  Commands  
File Role Description
  Plain text file Transtable.php Class Class source

  Files folder image Files  /  src  /  Traits  
File Role Description
  Plain text file Actions.php Class Class source
  Plain text file Scopes.php Class Class source

  Files folder image Files  /  tests  
File Role Description
Files folder imagemigrations (2 files)
Files folder imageModels (2 files)
  Plain text file TestCase.php Class Class source
  Plain text file TranslatableTest.php Class Class source

  Files folder image Files  /  tests  /  migrations  
File Role Description
  Plain text file 2021_05_31_121627_create_posts_table.php Class Class source
  Plain text file 2021_05_31_121628_...anslation_table.php Class Class source

  Files folder image Files  /  tests  /  Models  
File Role Description
  Plain text file Post.php Class Class source
  Plain text file PostTranslation.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:5
This week:3
All time:10,366
This week:58Up

For more information send a message to info at phpclasses dot org.