Skip to content

Commit

Permalink
Init project
Browse files Browse the repository at this point in the history
  • Loading branch information
relliv committed Jul 16, 2022
1 parent 8693c56 commit 7b7a1d3
Show file tree
Hide file tree
Showing 13 changed files with 6,387 additions and 21 deletions.
13 changes: 13 additions & 0 deletions .gitattributes
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
15 changes: 15 additions & 0 deletions .gitignore
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
67 changes: 67 additions & 0 deletions .styleci.yml
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
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

43 changes: 43 additions & 0 deletions README.md
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
69 changes: 69 additions & 0 deletions composer.json
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
}
Loading

0 comments on commit 7b7a1d3

Please sign in to comment.