Laravel excel validate two columns' combination is not duplicate

I have a requirement wherein I need to ensure that Excel file being uploaded by user does not have duplicate rows w.r.t. 2 particular columns. Example: In the...
theblack68 theblack68
2

Ignore composite key with Validation Rules

Hi! I'm try to validate in a Request (UpdateAssociafamiglie) a composite Key. How I can ignore 2 fields? My Pivot Table have 2 fields (famiglia_id, info_id),...
beracah.kings beracah.kings
1

Calendar Widget in Laravel

My requirement : a person can schedule for product delivery for 30 days on subscription basis. If he is unavailable during the 30 day period, he can cancel the delivery an...
stefan7 stefan7
4

Router link error

Hi, in app.js i defined: import CommentsIndex from './components/comments/CommentsIndex.vue'; import CommentsCreate from './components/comments/CommentsCreat...
Vue
4
248
rvp71 rvp71
0

Off topic - how were the animations made?

Hi, I'm new here. I particularly like the animations in the courses. I'm curious what tools they're made with. After Effects, Animate, Hype, ....? It would be great to hear...
elle3141 elle3141
3

How to use two Controllers which will share a view?

I am quite new to Laravel, so please forgive me if my ideas are completely wrong. I need to receive data, which will be saved into two separate tables: retur...
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...
ricardoarg ricardoarg
7

Vue: set focus to input created by v-for

say you have something like this, where you have a simple button to add an objec to an array, and a v-for for editing all that options in the array. How do you set...
Vue
7
3076
pandiyan pandiyan
0

laravel import csv japanese encoding

Hi , Any plugin available for import csv in laravel, In csv file data contains Japanese....
pandiyan pandiyan
0

Import csv in laravel in Japanese language

Hi, I need to import csv file in larevel. the data are in Japanese language into the csv file. when import using file_get_content and convert to array using array_map(&qu...
patrickadvanc patrickadvanc
1

What convinced you into becoming a Full-Stack Developer

Please share your story so newbees can draw wisdom from it...
micheal micheal
9

laravel 5.7 , where clause with multiple values

I'm trying to make a report for bus transport system, and the report's form has "Driver" and "Route" field. it works fine when I just select "Driv...
Laravel
9
230
TimVanDijck TimVanDijck
8

Can't upload a file in Laravel 5

I'm having a hard time getting file uploads to work in Laravel 5. When I try to get the file from the request and dump it, it returns "null". Response:...
General
8
2155
raviawasti raviawasti
1

How to use 1 ,2 3 in slug laravel ?

i have a post table where i am saving id, name , slug etc like this id:1, name:How to become a Tutor?, slug : how-to-become-a-tutor Now if i want to save anot...
NewbieMax NewbieMax
1

How to update table with joined data?

I'm new to laravel and I'm having a bit problem on how to update joined data's, any suggestions on how to update joined tables? thank you so much in advance....
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
147
raviawasti raviawasti
0

How can I change class and style on insertImage in summernote editor.

I used insertImage method in summernote editor in laravel. Initially, Added style attribute as "width:600px;" on img tag. I'd like to remove this style attribute...
lizeshakya lizeshakya
2

Laravel File Manager Rename Feature

Hello everyone, I am using "unisharp/laravel-filemanager": "v2.0.0-alpha8", package for maintaining images. For storing the i...
zfdeveloper zfdeveloper
2

Get the site url

I searched on Google and I found that using url() would do the trick, the thing is that I need to pass that url as string to an array:...
JeroenKg JeroenKg
2

Transferring authorization tests to Nova

We are currently moving over to using Nova from an older laravel application. This application manages users. This application framework is only accessible to users...
Nova
2
96
chezzemp chezzemp
1

Remove questions

I created a question by mistake, but I edited it for this content because I did not know how to eliminate it. How could a question be eliminated?...
dhiman252 dhiman252
26

Laracast discount coupon

Hi Admin, Does Laracasts offers discount coupons to its subscribers ? I had a monthly subscription a few months back and till date I did'nt received any coupon code or off...
Feedback
26
3006
dlook dlook
17

Laravel's groupBy() not working

So I'm trying to get a "top list" from my call log table it has "caller", "callee" and "duration" rows, what I want is to get like t...
Laravel
17
11699
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
123
jimdewes jimdewes
2

Homestead on Windows 10 unreachable via 192.168.10.10

I have Homestead up and running with the code folder mapped to a folder on my drives and showing the content fine. I have a laravel project in it and have mapped homestead....
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
110
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...
hmmehead hmmehead
7

Method Find() not working properly

Hello Guys. I had a problem using the 'find' method. At some point when I search for a value, more than one occurrence is returned to me. However, there are cases wh...
SkyCoder SkyCoder
1

Socket IO client should be globally available error

I am using nuxt/laravel api with laravel-echo-server and socket.io-client. When I use it this way: import Echo from 'laravel-echo' if (process.client)...
moukbel moukbel
14

asset() work with localhost , not with domain.local

hi, I add a virtual host to my project myproject.local the asset() doesn't work <img src="{{ asset('/icons/1.png') }}" alt...
Laravel
14
163
wilfredlepelaar wilfredlepelaar
0

How to test Laravel Nova Api route policies | TDD

How can I test API route policies for Nova resources? When I run the following test I receive a 403 response. (without any policies set) $response = $thi...
Nova
0
17
nielsnl nielsnl
0

Tag search doesn't work?

This video has a DDD tag but searching for DDD (or clicking that tag) does not yield this video in its search results:...
GeorgeW GeorgeW
3

BelongsToMany

So i have a User class and License class with belongsToMany and hasMany relationships. I have a pivot table in between these. I am using the following method...

Composer update breaks application

Hello people, I have a laravel 5.5 app running on which I performed a composer update. From the time it finised updating I cannot login to my app. I write my credentials,I...
codebullet codebullet
4

firstOrCreate on multiple related records from XML feed

Hi all please I need help saving multiple records from XML Feed I am using Rodenastyle/stream-parser to receive the data, I can do updateOrCreate the records My chal...
Create a New Discussion Button