Download the PHP package dusanbre/laravel-tolgee without Composer
On this page you can find all versions of the php package dusanbre/laravel-tolgee. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dusanbre/laravel-tolgee
More information about dusanbre/laravel-tolgee
Files in dusanbre/laravel-tolgee
Package laravel-tolgee
Short Description Help with Laravel integration of Tolgee service
License MIT
Homepage https://github.com/dusanbre/laravel-tolgee
Informations about the package laravel-tolgee
Laravel Tolgee Integration
This package provides integration with Tolgee service with Laravel apps.
Installation
You can install the package via composer:
You can publish the config file with:
This is the contents of the published config file:
Usage
Package provides several Artisan commands to work with you translations in Tolgee.
-
Import keys from your local files into Tolgee service
-
Delete all keys from Tolgee service
- Import translations from Tolgee service into your local files
You will need to have Tolgee instance set up in your config file.
Configuration
If you want to use this locally in your project you can run it on the docker container:
-
Add service in your docker-compose.yml
- Add config
tolgee.config.yaml
in root of you project
You can see more about configuration and setup on Tolgee docs
- Restart docker containers
- Publish laravel translation files
php artisan lang:publish
- Edit local translation files
- Use package commands to sync it with Tolgee
NOTE
You should be able to access Tolgee service on http://localhost:9090
When you setup is dockerized, you will need to set TOLGEE_HOST for docker internal network. In this case that would be
http://tolgee:8080
Limitations
You are need to use English as base language. All operations are constrained to one project.
This will be fixed/implemented in the future.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Dusan Antonijevic
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-tolgee with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0