pass dateTime to Vue component (countdown timer)

Having a hard time grasping how to pass a dateTime 2018-11-27 17:56:47 into a vue component. Trying to create a countdown timer. Here's my blade.php:...
Vue
20
24

Cant send mail in laravel 5.3

Hii , Im trying to send mail in my laravel 5.3 project , but im not receiving any mail , neither im getting any error , also mail code when i use in laravel 5.7 im receivin...

Sending an email notification

I'm using Nova and have a resource called TenderQuestion. In the front end, a user can ask a question, admin is notified and they from Nova, they can respond to the questio...
Nova
3
26

When exactly job fails

When we have queue:work --tries=3 And at the first try job gets uncaught exception, does it fails and then get retied, or does it keeps retiring 3 times and only then fails...

Laravel get count items by status

Hello. I have this code: $shops = Shop::where('user_id', Auth::user()->id)->byRating(); $p = $shops->where('status', 0)->count(); $a...

Check Domain Name is Formed Correctly

Hey Guys. I am hoping you can help me. I need a function to validate that a domain name is in fact a domain name. However, it cannot get the A record as this...

Call to a member function getClientOriginalExtension() on a non-object

Am trying to save images extension in database but whenever i call for the function i get this error Call to a member function getClientOriginalExtension() on a non-object...

Listing up all tables from DB

In app/Http/routes.php: Route::get('/tables', function () { return view('tables'); }); Can someone please show the code for...

Mail::send not working in lumen

I am getting this error Unable to resolve NULL driver for [Illuminate\Mail\TransportManager]. on Manager.php on line 62. i followed this link...
Lumen
15
31

Select columns from query

Hi, I have a query with relations: \App\Products::where('xfs', '>',10)->with('users')->get() I know the select method to get only specifi...

Spark - implementing email verification

Did anyone try to implement new email verification in Spark 7? In Spark documentation, it is described t...

Laravel Forms

Hello my friends! I want to create a form where a user enters a number and after clicking submit button, this number to appear on the screen. I want to learn how to...
Laravel
14
91

Resource update does not take model

Hi, I have a Seller model and I used php artisan make:model --resource to have CRUD functionalities. I opened a form this way: <form a...

I want to export file to excel

Hello,I want to export file to excel.Even after following the steps which is shown in this link....

Multiple Form update

I'm looking for a better way to store multiple forms update. E.g: in one page I have multiple forms each one have a hidden input with its type. <input typ...

Model Return Types

I'm trying to document my project using JavaDoc-style comments and I'm having trouble understanding what exactly is being returned from a model's eloquent relation...

Can I attach a parameter to the test class (globally)

Hi, I have couple test classes, I am wondering can I somehow attach to every get methods a parameter to the class - f.ex. in constructor. I use $this-&g...

Laravel Cashier and handling card errors with active subscriptions

Hi, It's pretty straight forward to handle errors when user enters card details for the first time. However there is also a case when after a year of subscription ca...

Store axios call in a variable

<template> <div id="app"> <h4> Your profit/loss in {{ coin }} is: {{ ( info.BTC.USD * amount ) - ( value * amount ) | currencydec...
Vue
2
21

Is forge price include the cloud provider fees or just the forge tool?

Is forge price include the cloud provider fees or just the forge tool?...
Forge
2
22
Create a New Discussion Button
Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels