bmartus bmartus
6

Having trouble with relationship/collection ..

I've been struggling with this in another project, but am able to show the problem using a standard Posts/Comments/Users example project. I am trying to show a list...
zefex zefex
4

Order by has many relationship

I have the following models User, Subscription and Plan and they look like this: class User exten...
atmaboy atmaboy
7

Class name must be a valid object or a string error

Laravel Version: 6.9.0 Nova Version: 2.9.2 PHP Version: 7.3.10 After update nova to latest version error on /vendor/laravel/nova/src/Nova.php224 return...
Nova
7
198
splendidkeen splendidkeen
19

Order paths by date and time, in component

Currently I am order paths by the date record on a path. A path also has a time record on its Model, which means I need to expand my working compu...
Vue
19
83
nizam0786 nizam0786
1

Laravel new app not working after upgrading laravel installer

Hi guys, after updating the laravel installer I keep getting these error messages when trying to install a new laravel project. not sure why, any ideas? PHP F...
mkojoa mkojoa
6

Laravel Authntication Options

Hello, Please is there away to handle authentication like the way its been done when using asp.net core identity server with OpenId Connect ?...
marcosdipaolo marcosdipaolo
12

FormRequest not generating error messages

When the validation fails i get nothing at the $errors variable, it used to work, but now it stopped and i have no idea why. I've tried several things, change the fields th...
Laravel
12
92
tol64 tol64
5

Missing required parameters for [Route: password.reset] [URI: {locale}/password/reset/{token}]

The authorization and registration system works well. The only problem is resetting the password. This is a publicly shared error:...
fylzero fylzero
8

Deployment question regarding running `npm run prod` on deploy.

I use Envoy to deploy to a Digital Ocean server and was thinking it would be nice if npm run prod would automatically fire during deployment. I tried ru...
jhine jhine
2

Repetitive Code

Hello, In many instances of my event listeners, I'm having to check if the user exists by an email and if they do, send mail. if ($user = User::where(...
swimmer swimmer
1

I cannot find version on the apachefriends.

I wolud like to download PHP 7.1.3 With xampp for Windows However I cannot find version on the apachefriends. Where else can I downloaded from?...

Prevent none verified user from logging in

How can I prevent none verified users from logging in completely? What I planed to do was override the login function in AuthenticatesUsers but is there a bett...
t0berius t0berius
10

overriding package method

Using the captcha package: https://github.com/mewebstudio/captcha...
General
10
44
click click
3

CSRF cookie in iframe on other domain (chrome blocking third party cookies)

Hi, Situation Domain A has a form (protected by a CSRF token) Domain B embeds this form of domain A via an iframe....
dingo_d dingo_d
4

Adding props on component won't pass it down

Because I don't want to add <script> tags inside my blade templates, and I also don't have enough time to properly learn Vue to create the entire thing i...
Vue
4
45
k4vouras k4vouras
6

When I add method('patch') in my view I get syntax error

I am following a tutorial for laravel and in order to edit the profile of a user it used a patch method. The form was copied from another view that was working as intended....
oxbir oxbir
5

How can I set the default value Laravel <select> element?

I want to retrieve database values in category name and i want to show default value in selection. This is my controller for my edit view. I have a category_pr...
tomasosho tomasosho
16

I want my form to be submitted after successful payment JS

I want my form to submit after a successful payment. it shouldn't load up automatically. <form action="####" name="myform" method=&quo...
mmaged mmaged
5

HTML Tags become disabled

When installing Tailwind using npm install tailwindcss Create config file npx tailwind init And add Tailwind...
davy_yg davy_yg
5

Optimize Codes

We are using Laravel debuging codes that could count the query in the bottom. ProductCatalogRepository.php public function getProdByRange($range, $cat...
Laravel
5
103
pbsmith pbsmith
2

Check field in addition to password before sending password email

I've overridden the credentials function in order to authenticate using three fields like so: protected function credentials(Request $re...

Posts Overview w/ Posts per User

I created a new database with posts table for a test. Decided to add these to a separate database not part of the main database with dashboard data. This as I feel that blo...

How do I display the value of count() inside blade view?

I feel like I will be kicking myself for asking this question but I just can't seem to figure it out. What I'm trying to do is count the value of a collection right inside...
Laravel
4
1494
van-india van-india
2

Specific record count issue

i have records which value is diffrent for example i have 3 values single_bed/double_bed/two_bed when i have entry for single_bed 2 times then count single_bed = 2 same oth...
Abdullah_Iftikhar Abdullah_Iftikhar
6

How to make html view to PDF and share on mail in LARAVEL.

I want to convert my HTML view to PDF and store it in DB as a pdf and then send it with mail. please, anyone, help....
Laravel
6
192
Neeraj1005 Neeraj1005
6

SplFileInfo::getSize(): stat failed for C:\xampp\tmp\php1F17.tmp

Can anyone help me fixout this problem. I want to get size of an image. So how can I get this? public function store(Request $request) { request(...
ederson ederson
5

Carbon : Avoid Month overflow

I ve spent the last couple of hours searching but i didn't find a solution on the following issue i use CarbonPeriod and i cannot avoid the month overflow ex:...
General
5
182
van-india van-india
1

count() not working

hii i m stuck in count() here is my code @foreach($bed as $list) @if($list->bed == "single_bed") {{$list->bed->count()}...
aremesal aremesal
7

419 Page expired on POST submit after AJAX GET

I've spent some hours and am unable to locate the problem. This is the scenery: I have a form, one of the fields has a button to make an AJAX call (GET) to...
Laravel
7
337
oxbir oxbir
3

How to attach my categories

I defined change my codes with a word of 'create'. public function store(Request $request) { if($request->has('image')) { $image = $request-&g...
brltdxd brltdxd
5

Factory - use attributes of recently created record

I am trying to generate records for my order_products table and having trouble with factories. Below is my code: $factory->define(Orde...
HnkoraP88 HnkoraP88
3

How to create the dockerfile?

Hi, I got instructed to create a single dockerfile in the root of the project, but also got a tip to use the laradock as starting point. How can I do this? Th...
Markus77 Markus77
2

Access Laravel array

Hello In laravel I'm currently dumping an array from my controller dd($totals) and it correctly dumps on the page in this format: array:1 [▼ 0 =&g...
Timmypro Timmypro
3

Laravel 5.5 Controller

Could anyone help me out, please? My application is not running, instead, it's displaying below error and of which all are controllers are in place: Reflectio...
SnapKWI SnapKWI
2

Passing variable from one controller to the another controller

To begin with the user selects a value from the dropdown list which stores the selected value in a variable called $SetNumber which is located in ControllerOne. Once the us...
Create a New Discussion Button