Mudanças entre as edições de "Laravel"

De MochilaWiki
Ir para navegaçãoIr para pesquisar
Linha 47: Linha 47:
 
* https://qiita.com/miriwo/items/104e0a6584b8ff44b01e
 
* https://qiita.com/miriwo/items/104e0a6584b8ff44b01e
 
* https://gist.github.com/conroyp/16830ff1f360b52639ae
 
* 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 das 23h05min de 30 de junho de 2021

Estudar

php artisan tinker
now();


How to to send mail using gmail in Laravel?

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


Laravel MailCatcher

Auditável