kylemilloy kylemilloy
10

Safari specific date input bug

I'm using <input type="date"> on the front-end of my app without poly-filling date inputs. This leaves Safari ignoring the type="dat...
yacira yacira
10

Setting a value for an input

Hi.! I have a button that should send a value to a javascript function. The function set this value in an input. This is my code: The onclick in the Button:...
alphadev alphadev
9

Route [admin.categories.index] not defined.

I'm trying to get a categories page but it says: Route [admin.categories.index] not defined.,,,,,,,,,,,,,,,,,if i put this route: Route::resource('category','CategoryCont...
hakhsin hakhsin
9

Multi auth and policy problem

Hi, I have multi auth one for admin and another for users. Everything works good except policies. When I define a policy for a model it never pass true. And I recognise the...
Radko Radko
9

laravel 5.8 image saves into tmp directory

When saving an image it saves it into the databse as a tmp file and not to the by me specified path and format. Please help <?php pub...
Laravel
9
134
afghany afghany
9

Composer requirements conflict

is there any way to install maatwebsite/excel with laravel/passport ? they both have conflict random_compat package...
Laravel
9
135
evaslims23 evaslims23
9

belongsToMany Trying to get property 'id' of non-object Error

Hi guys. I am trying to add a belongsToMany functionality to my project for Countries and Products. As in if a user decides to create a product listing he can have the opti...
3Nd_R1m 3Nd_R1m
8

Internationalizing URL while keeping routes name

Good day, I was wondering if I could translates URL in Laravel. Here's what I mean: Given a ressources routes named "Dogs", the URL would appear as follow:...
Laravel
8
116
deepu07 deepu07
8

Copy or Move storage/books/images files to aws s3 bucket

Hello guys, In my project I'm trying to move/copy my storage/books/images has 60 images in it. I want to transfer all images to aws s3 bucket. I'm doing like this but someh...
cq522138 cq522138
8

build page login laravel

i want build login page in laravel.the problem is when user click login, code always run to else in controller, dd($arr) same database how can i fix it. I apprecia...
Laravel
8
155
alphadev alphadev
8

data isn't saving into db in laravel

hello, i am submitting some data in to database but it is not submitting and also not showing any error or message, here is my code. and data is also coming in dd();...
Laravel
8
114
ziben69 ziben69
8

Laravel 5.7 | External server Router error

Hello guys, I have problem with uploading my project to external server. I made the following steps: place files on the server. I changed the p...
Laravel
8
101
Nospoon Nospoon
8

Using facades with interface binding

Does anyone know if it's possible to get facades working when binding to interface in the service container? So let's say I have a binding like this in my service pr...
Crazylife Crazylife
8

How to get a specific categories with its sub categories item?

I have this relationship in my model public function subcategories() { return $this->hasMany(self::class, 'id_parent', 'id_category'); }...
Laravel
8
107

Pivot table for 3 models?

Hi, I got 3 models: motors, gears and suppliers. I would like to attach purchase-prices to my products (motors and gears) from a supplier. Any suggestions how...
towhid towhid
8

want to create user table but i don't understand what can i do create customize user table or use laravel built in auth

if i want to create user table and use extra field then what the best for development part ? built in auth customize or create totally different table and create all kin...

Wrong output in query for id

Hi everyone, I have problem with one query. They give me wrong output of cell. Instead column of "id" ,they put me column "name"? what am I doing...
General
8
170
cdyap cdyap
8

Laravel 5.8 and Vue doesn't load component

Hello everyone! Trying to test Vue on Laravel 5.8. So far, the page loads data using Vue but doesn't respond to any modifications after loading. Please find my code...
Vue
8
108

Laravel edit page old selected value problem

Hi there, I am having a problem getting the old value from a selected field. So the issue is on the edit page where I have a selected field with the option to edit the coun...
Laravel
7
115
Van1310 Van1310
7

In laravel 2fa Google Authenticator how to setup ?

how to setup or packages use for simple login/registration form using 2fa google authenticator please suggest me thanks...
Create a New Discussion Button