Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gnahotelsolutions/laravel-google-translate
Simple wrapper for Google Translate API
https://github.com/gnahotelsolutions/laravel-google-translate
hacktoberfest
Last synced: 1 day ago
JSON representation
Simple wrapper for Google Translate API
- Host: GitHub
- URL: https://github.com/gnahotelsolutions/laravel-google-translate
- Owner: gnahotelsolutions
- License: mit
- Created: 2022-10-10T06:56:41.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-24T11:19:02.000Z (over 1 year ago)
- Last Synced: 2024-10-23T16:43:42.676Z (28 days ago)
- Topics: hacktoberfest
- Language: PHP
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Google Translate API wrapper for Laravel
[![Latest Version on Packagist](https://img.shields.io/packagist/v/gnahotelsolutions/laravel-google-translate.svg?style=flat-square)](https://packagist.org/packages/gnahotelsolutions/laravel-google-translate)
[![Total Downloads](https://img.shields.io/packagist/dt/gnahotelsolutions/laravel-google-translate.svg?style=flat-square)](https://packagist.org/packages/gnahotelsolutions/laravel-google-translate)
![GitHub Actions](https://github.com/gnahotelsolutions/laravel-google-translate/actions/workflows/main.yml/badge.svg)A small Laravel package to interact with Google Translate API in an easy way.
## Installation
You can install the package via composer:
```bash
composer require gnahotelsolutions/laravel-google-translate
```## Usage
```php
$textInSpanish = GoogleTranslate::from('en')->to('es')->translate('Hello there!');
```### Testing
```bash
composer test
```### Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
### Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
## Credits
- [David Llop](https://github.com/gnahotelsolutions)
- [All Contributors](../../contributors)## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
## Documentation
- [Official Google Translate Documentation](https://cloud.google.com/translate/docs)
## Laravel Package Boilerplate
This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).