Laravel: mudanças entre as edições
De MochilaWiki
Ir para navegaçãoIr para pesquisar
Sem resumo de edição |
Sem resumo de edição |
||
| (6 revisões intermediárias pelo mesmo usuário não estão sendo mostradas) | |||
| Linha 1: | Linha 1: | ||
== apagando tabela == | |||
# php artisan tinker | |||
# Schema::drop('your_table_name') | |||
# php artisan migrate | |||
== Estudar == | == Estudar == | ||
* https://github.com/LaravelDaily/Laravel-User-Registration-Country-State-City | * https://github.com/LaravelDaily/Laravel-User-Registration-Country-State-City | ||
| Linha 8: | Linha 13: | ||
</source> | </source> | ||
How to to send mail using gmail in Laravel? | |||
* https://stackoverflow.com/questions/32515245/how-to-to-send-mail-using-gmail-in-laravel | |||
* https://medium.com/@agavitalis/how-to-send-an-email-in-laravel-using-gmail-smtp-server-53d962f01a0c | |||
* https://medium.com/graymatrix/using-gmail-smtp-server-to-send-email-in-laravel-91c0800f9662 | |||
== mudando padrão de timezone == | == mudando padrão de timezone == | ||
| Linha 29: | Linha 39: | ||
retirado de https://stackoverflow.com/questions/28402726/laravel-5-redirect-to-https/28403907#28403907 | retirado de https://stackoverflow.com/questions/28402726/laravel-5-redirect-to-https/28403907#28403907 | ||
== artisan == | |||
php artisan route:list - lista todas as rotas | |||
== Soft Deleting == | |||
* https://medium.com/@mateusgalasso/laravel-softdelete-53225310848f | |||
* https://blog.especializati.com.br/aprenda-como-utilizar-o-recurso-de-soft-deleting-do-laravel/ | |||
== Laravel MailCatcher == | |||
* https://qiita.com/miriwo/items/104e0a6584b8ff44b01e | |||
* https://gist.github.com/conroyp/16830ff1f360b52639ae | |||
== Auditável == | |||
* http://www.laravel-auditing.com/ | |||
* https://github.com/owen-it/laravel-auditing | |||
* https://github.com/ldemafelix/laravel-auditor | |||
* https://pusher.com/tutorials/realtime-audit-trail-laravel | |||
Edição atual tal como às 19h43min de 12 de dezembro de 2022
apagando tabela
- php artisan tinker
- Schema::drop('your_table_name')
- php artisan migrate
Estudar
- https://github.com/LaravelDaily/Laravel-User-Registration-Country-State-City
- https://github.com/LaravelDaily/laravel-roles-permissions-manager
php artisan tinker
now();
How to to send mail using gmail in Laravel?
- https://stackoverflow.com/questions/32515245/how-to-to-send-mail-using-gmail-in-laravel
- https://medium.com/@agavitalis/how-to-send-an-email-in-laravel-using-gmail-smtp-server-53d962f01a0c
- https://medium.com/graymatrix/using-gmail-smtp-server-to-send-email-in-laravel-91c0800f9662
mudando padrão de timezone
- Para alterar o padrão de horário, em config/app.php, altere
'timezone' => 'UTC',
para
'timezone' => 'America/Sao_Paulo',
forçando https
acrescente no arquivo app/Providers/AppServiceProvider.php
dentro da função boot
public function boot()
{
\URL::forceScheme('https');
retirado de https://stackoverflow.com/questions/28402726/laravel-5-redirect-to-https/28403907#28403907
artisan
php artisan route:list - lista todas as rotas
Soft Deleting
- https://medium.com/@mateusgalasso/laravel-softdelete-53225310848f
- https://blog.especializati.com.br/aprenda-como-utilizar-o-recurso-de-soft-deleting-do-laravel/
Laravel MailCatcher
- https://qiita.com/miriwo/items/104e0a6584b8ff44b01e
- https://gist.github.com/conroyp/16830ff1f360b52639ae