{"repo":"spatie/laravel-translation-loader","free":true,"listed":false,"github":"https://github.com/spatie/laravel-translation-loader","clone":"git clone https://github.com/spatie/laravel-translation-loader.git","description":"Store your translations in the database or other sources","language":"PHP","stars":854,"topics":["laravel","php","translation","i18n","language"],"license":"MIT","category":"databases-storage","readme_excerpt":"Store your language lines in the database In a vanilla Laravel or Lumen installation, you can use language files to localize your app. This package will enable the translations to be stored in the database. You can still use all the features of the helper function you know and love. You can even mix using language files and the database. If a translation is present in both a file and the database, the database version will be returned. Want to use a different source for your translations? No problem! The package is easily extendable. Spatie is a web design agency based in Antwerp, Belgium. You'll find an overview of all our open source projects on our website. Support us We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products. We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall. Installation You can install the package via composer: In config/app.php (Laravel) or bootstrap/app.php (Lumen) you should replace Laravel's translation service provider by the one included in this package: You must publish and run the migrations to create the language lines table: Optionally, you could publish the config file using this command. This is the contents of the published config file: Note: publishing assets doesn't work out of the box in Lumen","default_branch":null,"files":null,"tree":[],"storefront":"/r/spatie","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/spatie/laravel-translation-loader/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}