-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
6,387 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
* text=auto | ||
|
||
.github/ export-ignore | ||
tests/ export-ignore | ||
|
||
.codecov.yml export-ignore | ||
.editorconfig export-ignore | ||
.gitattributes export-ignore | ||
.gitignore export-ignore | ||
.scrutinizer.yml export-ignore | ||
.styleci.yml export-ignore | ||
|
||
phpunit.xml export-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/.idea | ||
/.vscode | ||
|
||
build/ | ||
node_modules/ | ||
vendor/ | ||
|
||
*.bak | ||
*.cache | ||
*.clover | ||
*.orig | ||
*.lock | ||
!composer.lock | ||
|
||
mix-manifest.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
preset: psr12 | ||
|
||
risky: true | ||
|
||
enabled: | ||
- align_double_arrow | ||
- align_equals | ||
- align_phpdoc | ||
- alpha_ordered_imports | ||
- binary_operator_spaces | ||
- blank_line_before_continue | ||
- blank_line_before_declare | ||
- blank_line_before_return | ||
- blank_line_before_throw | ||
- blank_line_before_try | ||
- cast_spaces | ||
- combine_consecutive_issets | ||
- const_separation | ||
- dir_constant | ||
- fully_qualified_strict_types | ||
- logical_operators | ||
- method_separation | ||
- no_alias_functions | ||
- no_blank_lines_after_phpdoc | ||
- no_blank_lines_between_traits | ||
- no_empty_comment | ||
- no_empty_phpdoc | ||
- no_extra_block_blank_lines | ||
- no_extra_consecutive_blank_lines | ||
- no_short_bool_cast | ||
- no_trailing_comma_in_singleline_array | ||
- no_unneeded_control_parentheses | ||
- no_unused_imports | ||
- ordered_class_elements | ||
- php_unit_construct | ||
- php_unit_fqcn_annotation | ||
- phpdoc_indent | ||
- phpdoc_inline_tag | ||
- phpdoc_link_to_see | ||
- phpdoc_no_access | ||
- phpdoc_no_empty_return | ||
- phpdoc_no_package | ||
- phpdoc_no_useless_inheritdoc | ||
- phpdoc_order | ||
- phpdoc_property | ||
- phpdoc_return_self_reference | ||
- phpdoc_scalar | ||
- phpdoc_separation | ||
- phpdoc_summary | ||
- phpdoc_to_comment | ||
- phpdoc_trim | ||
- phpdoc_type_to_var | ||
- phpdoc_types | ||
- phpdoc_types_order | ||
- phpdoc_var_without_name | ||
- property_separation | ||
- self_accessor | ||
- short_array_syntax | ||
- short_list_syntax | ||
- single_line_class_definition | ||
- single_line_throw | ||
- single_quote | ||
- space_after_semicolon | ||
- standardize_not_equals | ||
- ternary_to_null_coalescing | ||
- trailing_comma_in_multiline_array | ||
- trim_array_spaces |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Open Google Translate for Laravel | ||
|
||
[![Open Google Translate for Laravel](https://preview.dragon-code.pro/LaravelReady/open-google-translate.svg?brand=laravel)](https://github.com/laravel-ready/open-google-translate) | ||
|
||
[![Stable Version][badge_stable]][link_packagist] | ||
[![Unstable Version][badge_unstable]][link_packagist] | ||
[![Total Downloads][badge_downloads]][link_packagist] | ||
[![License][badge_license]][link_license] | ||
|
||
## 📂 About | ||
|
||
Simple Google Translate API implementation without key... | ||
|
||
|
||
## 📦 Installation | ||
|
||
Get via composer | ||
|
||
`composer require laravel-ready/open-google-translate` | ||
|
||
|
||
## ⚙️ Configs | ||
|
||
```bash | ||
php artisan vendor:publish --tag=open-google-translate-config | ||
``` | ||
|
||
|
||
## ⚓Credits | ||
|
||
- This project generated by **[packager](https://github.com/laravel-ready/packager)**. | ||
|
||
[badge_downloads]: https://img.shields.io/packagist/dt/laravel-ready/open-google-translate.svg?style=flat-square | ||
|
||
[badge_license]: https://img.shields.io/packagist/l/laravel-ready/open-google-translate.svg?style=flat-square | ||
|
||
[badge_stable]: https://img.shields.io/github/v/release/laravel-ready/open-google-translate?label=stable&style=flat-square | ||
|
||
[badge_unstable]: https://img.shields.io/badge/unstable-dev--main-orange?style=flat-square | ||
|
||
[link_license]: LICENSE | ||
|
||
[link_packagist]: https://packagist.org/packages/laravel-ready/open-google-translate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{ | ||
"name": "laravel-ready/open-google-translate", | ||
"description": "Simple Google Translate API implementation without key", | ||
"type": "library", | ||
"license": "MIT", | ||
"version": "1.0.0", | ||
"keywords": [ | ||
"laravel", | ||
" translate", | ||
" google-translate" | ||
], | ||
"authors": [ | ||
{ | ||
"name": "Egoist", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"support": { | ||
"issues": "https://github.com/laravel-ready/open-google-translate/issues", | ||
"source": "https://github.com/laravel-ready/open-google-translate" | ||
}, | ||
"require": { | ||
"php": "^8.1", | ||
"illuminate/support": "^9.0" | ||
}, | ||
"require-dev": { | ||
"mockery/mockery": "^1.4", | ||
"phpstan/phpstan": "^1.8", | ||
"phpstan/phpstan-phpunit": "^1.1", | ||
"phpstan/phpstan-deprecation-rules": "^1.0", | ||
"phpstan/extension-installer": "^1.1", | ||
"nunomaduro/larastan": "^2.1", | ||
"pestphp/pest": "^1.2" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"LaravelReady\\OpenGoogleTranslate\\": "src/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"Tests\\": "tests" | ||
} | ||
}, | ||
"config": { | ||
"preferred-install": "dist", | ||
"sort-packages": true, | ||
"allow-plugins": { | ||
"pestphp/pest-plugin": true, | ||
"phpstan/extension-installer": true | ||
} | ||
}, | ||
"scripts": { | ||
"lint": "php-cs-fixer fix -v", | ||
"test:coverage": "@test --coverage-php ./coverage/cov/default.cov", | ||
"test:coverage:html": "@test --coverage-html coverage/html/default", | ||
"test": "vendor/bin/pest --colors=always --parallel", | ||
"test:lint": "php-cs-fixer fix -v --dry-run" | ||
}, | ||
"extra": { | ||
"laravel": { | ||
"providers": [ | ||
"LaravelReady\\OpenGoogleTranslate\\ServiceProvider" | ||
] | ||
} | ||
}, | ||
"minimum-stability": "stable", | ||
"prefer-stable": true | ||
} |
Oops, something went wrong.