Posts by Lucas Macedo • 116 points
11 posts
-
1
votes1
answer49
viewsA: How to Work with Events in Laravel?
He can, but he also has other ways of doing it. You can record Flash Data, which gives you a 1 cycle life only (once updated the page it ceases to exist) and you execute a scritp when the flash…
laravelanswered Lucas Macedo 116 -
1
votes2
answers78
viewsA: Is it correct and or indicated to merge in a 5.x Laravel project with the components developed in Vuejs 2 all within the same directory?
It all depends on how you develop it. If it is something large I do not recommend using the standard structure of Laravel + Vuejs but use Laravel only as API (Backend, JWT, etc) and use Vuejs Puro…
-
1
votes1
answer100
viewsA: Filter records within one month interval
you can do so: Model::whereMonth('created_at', '12'); // apenas o mês 12 (Dezembro) Model::whereYear('created_at', '2018'); // apenas o ano 2018 Model::whereDay('created_at', '2018-12-31'); //…
-
0
votes1
answer34
viewsA: Show Mysql Database image with different 2ids but common PHP field
Você pode fazer assim $sql = mysql_query("SELECT * FROM faca_cartao where cpf='$cpf'") or die (mysql_error()); $rowsfound = mysql_num_rows($sql); if($rowsfound > 0) { …
-
0
votes1
answer169
viewsA: Broadcasting with Laravel
The best example I’ve ever seen is this https://pusher.com/tutorials/chat-laravel/
-
0
votes2
answers985
viewsA: Login customizado Laravel
Auth::login($user, true); must solve
-
1
votes1
answer144
viewsA: Laravel activitylog, error in implementation
You should use the "return" of a MODEL of yours.. ex: $someContentModel = User::first();
-
0
votes2
answers1543
viewsA: What is the purpose and how to use Broadcasting in Laravel?
The purpose is to work with Real-time events ex: has 2 open pages one that lists users and another that adds, When adding a new, the page that lists automatically receives the new item. Ex…
-
0
votes0
answers115
viewsQ: Relation between 3 tables with pivot
I have the following structure that I have to follow. Films People People ( Actor, Cameraman, Director) Where Each Person Types Hasmany People And Each Person Hasmany Movie That is, Each film will…
-
1
votes3
answers6007
viewsA: How to Customize Password Recovery Email (Laravel 5.4)
the translation files are in the Resource/lang/ folder the file referring to the login areas is auth.php you can edit it as you like.
-
2
votes0
answers238
viewsQ: Doubts about Bradesco boleto integration
I’m having doubts about how to integrate this Bradesco payment solution. That’s the documentation I don’t know if it’s via POST, via GET, if it’s via XML. I’m confused.. I tried something like this…