get Ids for Insert bulk

I want to insert bulk on database and get rows id (first one, last one or all rows) I tried insertGetId but it took only one row per time...
03

Why UserNotVerifiedException error is not trigered?

Hello, In my my laravel 5.7.3 application I use...
00

Jquery ajax form

Hi, I have search form which I display from ajax using resonse data. Now I want to use that search form again to post ajax request. How can I do i...
00

Laravel auto-configured visit and viewer plugin

Hello, please I'm using laravel 5.1 and php 5.5 (server requirements). I'd like to install a plugin to auto store the visitors and viewers. For Lar...
00

Get Items WHERE condition is a related/joined table

I have two tables (films and reviews). One Film HasMany Reviews and one Review BelongsTo one Film Relations: Film.php public function...
04

Transform Blade in a Vue

Hi, at the moment for my breadcrumb im using a blade, but today I need to have a vue. This is my blade: <div class=...
02

Checking object value

PromoController.php public function createPromoDetail() { $data = ""; //$data = PromoDetailModel::where('...
08

SQL query to Eloquent

How can I change this code to Eloquent Insert? INSERT INTO results (StuID, Sub_ID, ExamID, Exam1, Exam2, Exam3) SELECT...
05

Error: xDebug + Laravel + docker + jquery/ajax + vscode

I have a remote debugging session working perfectly nice with docker and xDebug. xDebug: Except here, when the frontend sends a jQuery/ajax...
00

5.7 phpunit and verified user profile

any best way to do it?, should i mock it or add a factory state to add verified status?. or there is a way to ignore verification?...
01

blade caching problem in laravel

when i'm making changes in my views files . nothing is changing when i'm refreshing browser....
08

How can I create multiple where statements from an array without loop

Hi, I recently wanted to create a big query with lots of checks. I need to loop over all the variables but I want to this in a more readable...
02

Submit post route returning "page can’t be found"

I have a form wherein its action attribute is action="{{route('quotations.send-quote')}}" And Iin my web.php routes . Rout...
02

Live server variable = int not working

So I have a if statement on my blade which looks something like this. @if($var === 1) YES @else NO @endif This work...
10

Email send fail on some adresses

I all, i'm in trouble with a web laravel app. I'm using the standard switfmailer function in laravel 5.6 with SMTP configuration type. All i...
01

Adding the user data in the Passport response

Does anyone know how to customizing the response Laravel Passport gives back? This is the default response: { "token_type&q...
03

Restrictive filtering

Hi, I could benefit from a fresh set of eyes here. What I'd like to do is read a querystring and use its values as filter values in Eloquent...
04

How to generate csv file and send email as attachment with cronjob in laravel?

Hi all , i want to know how to generate csv file and send email to someone as attachment of that csv file every day . How to do with laravel. Thank...
12

FatalThrowableError in ProviderRepository.php line 146: Class 'Dingo\Api\Provider\LaravelServiceProvider' not found

When I run my project it gives me the below error, FatalThrowableError in ProviderRepository.php line 146: Class 'Dingo\Api\Provider\Laravel...
00