-
Notifications
You must be signed in to change notification settings - Fork 1
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
0 parents
commit 9109d21
Showing
5 changed files
with
1,186 additions
and
0 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,2 @@ | ||
vendor/ | ||
.idea/ |
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,29 @@ | ||
# Sobre | ||
|
||
Esse pacote serve apenas para fins educativos, lúdicos e para quem quiser utilizar os métodos mais utilizados do Eloquent em Português do Brasil. | ||
|
||
# Ajude a traduzir | ||
|
||
Faça seu fork e envie seus PR para aumentar a quantidade de traduções. | ||
|
||
# Esse pacote não é | ||
|
||
Esse pacote é apenas para traduções dos métodos do Eloquent e não para "novas" implementações e métodos: | ||
|
||
|
||
# Métodos traduzidos até hoje: 30/Abr/2020 | ||
|
||
| Original | Português do Brasil | | ||
| -------- | ------------------- | | ||
| Model::all() | Model::todos() | | ||
| Model::com(...) | Model::with(...) | | ||
| Model::load(...) | Model::carregar(...) | | ||
| Model::increment(...) | Model::incrementar(...) | | ||
| Model::decrement(...) | Model::decrementar(...) | | ||
| $model->update(...) | $model->atualizar(...) | | ||
| $model->save() | $model->salvar() | | ||
| $model->saveOfFail() | $model->salvarOuFalhar() | | ||
| $model->delete() | $model->excluir() | | ||
| $model->forceDelete() | $model->forcarExclusao() | | ||
| $model->is(...) | $model->eh(...) | | ||
| $model->isNot(...) | $model->naoEh(...) | |
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,20 @@ | ||
{ | ||
"name": "jeanjar/laravel-from-brasil", | ||
"description": "Tradução dos métodos mais utilizados do Eloquent, apenas para diversão", | ||
"type": "library", | ||
"require": { | ||
"illuminate/database": "5.8.*|7.*" | ||
}, | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Jean Jar Pereira de Araújo", | ||
"email": "jeanjpa@gmail.com" | ||
} | ||
], | ||
"autoload": { | ||
"psr-4": { | ||
"LaravelFromBrasil": "src/LaravelFromBrasil" | ||
} | ||
} | ||
} |
Oops, something went wrong.