Posts by Jilcimar Fernandes • 40 points
7 posts
-
0
votes1
answer151
viewsA: How to queue requests for an api made with Laravel?
You can use a feature native to Laravel, the Queues. Roughly they serve to record your tasks in a database table and then go forwarding/executing in the background. Read the documentation and see…
-
-1
votes1
answer469
viewsQ: Google Charts Timeline using Laravel (PHP)
I have a controller that queries the data, transforms it into JSON and sends it to the view (which contains Timeline). The chart being used is this:…
-
-1
votes1
answer140
viewsA: Authentication Required (packagist.org)
I went through it using macOS... only left blank the two fields (clicking enter) and after that appeared a message I clicked enter again. Ready, it ran the Poser update
-
0
votes2
answers297
viewsA: Return after sending email
You can try something like this: //Verificando se tem falha no envio if (Mail::failures()) { } else { //Não houve falha de envio }
-
1
votes2
answers3350
viewsA: Join multiple commits from a branch
You need to do the following: [1] git checkout -b nomedanovabranch [2] git checkout nomedasuabranch [1] This way you will create a new branch and will already switch to it [2] This way you will…
-
0
votes2
answers750
viewsA: How to use with on the return of a DB::Select - Laravel
I think you could test something like this Order::select('seu select aqui')->with('sua relação do model Order')->get(); It might work, anything take a look at this link:…
-
0
votes2
answers498
viewsA: Eloquent Laravel - Column user_id
Just put in the User model the field "user_id" in the fillables. class User extends Authenticatable { use Notifiable; use EntrustUserTrait; protected $fillable = [ 'id','name', 'email',…