Why use Laravel if you are going to end using raw everywhere?
Is it possible to have access to the eager loaded table inside a whereHas?
can i get a book with a good content for laravel beginners level?
Anyway to remove tail wind from Jetstream in Laravel 8?
Is there anyways to run a function when an object of a model is created?
who can help me to find a laravel internship plan ?
Hey, what kinds of internship?
I need to import (upload) a file with 6648 lines, each line being a record with different data that will populate an array in PHP
When I import the file with about 400 lines for example, it takes 2.5 minutes to return the array with the data
Doing a basic calculation, if it takes 2.5 minutes to read the file with 400 lines, it will take 40 minutes to import 6648
However, when I try to import the same file but with the 6648 lines, it keeps making a request to the endpoint infinitely and does not return anything
I don’t know if it would be a unique and exclusively timeout problem, if any configuration in php.ini would solve it or something similar
If someone can give a light, it’s being hard and the deadline is close
Ok bro
What’s your problem? Why can’t you do it yourself?
Pro exception error
Iβm building an e-commerce site with laravel and vue but Iβm having some trouble with it.
{{Cart::session(auth()->id())->get($item->id)->getPriceSum()}}
My cart view is Vue component and I don knw how to get this above ππ½ππ½ππ½to work with it
Why use Laravel if you are going to end using raw everywhere?
with(‘Tags’)
->whereHas(‘Tags’, function ($query) {
// Want the access to the Tags table
$query->where(‘Tags.id’, ‘id’); // returns an error
})
Of course you can, is just that you are doing it really bad, just read the documentation for where has, I am sure there is a couple of working examples there.
I couldn’t solve the problem. I didn’t find anything there
Iβm building an e-commerce site with laravel and vue but Iβm having some trouble with it.
{{Cart::session(auth()->id())->get($item->id)->getPriceSum()}}
My cart view is Vue component and I don knw how to get this above ππ½ππ½ππ½to work with it
You have to use laravel passport, and store session as cookies
Laracasts

in laravel 7, it is why ?
I have tried many times but still can’t work
I have tried this for the column
Column::make(‘jenis_pensiuns’)->data(‘jenis_pensiuns.nama’)->name(‘jenis_pensiuns.nama’)And this
Column::make(‘jenisPensiuns’)->data(‘jenisPensiuns.nama’)->name(‘jenisPensiuns.nama’),
I have tried this for the return
return $model->newQuery()->with(‘jenisPensiun’);
and this
$model = Pensiun::with(‘jenis_pensiuns’)->select(‘jenis_pensiuns.*’);
and this too
$model = Pensiun::with(‘jenisPensiun’)->select(‘jenisPensiun.*’);
and this too
return $model->newQuery()->with(‘jenisPensiun’);
The method for relationship is
public function jenisPensiun(){
return $this->belongsTo(AppModelsJenisPensiun::class);
}Still getting the error π’
Btw the nama works well when i dd
Might be a way by modifying the composer file
In this video, I want to answer a common question I get: “How to upgrade to Laravel 8 but without Jetstream or routing changes”. Watch me perform the Laravel 7 project upgrade to Laravel 8.
Related links:
– Auth in Laravel 8: Fortify and Laravel UI (without Jetstream) https://www.youtube.com/watch?v=NuGBzmHlINQ
– Laravel 8 Routing: Important Change You Need to Know https://www.youtube.com/watch?v=MfE1tnMG6fE
– Laravel 8 Upgrade Guide: https://laravel.com/docs/8.x/upgrade
– Laravel 8 Release Notes: https://laravel.com/docs/8.x/releases
Subscribe to my weekly newsletter: http://bit.ly/laravel-newsletter
– – – – –
Try our Laravel QuickAdminPanel: https://bit.ly/quickadminpanel
Enroll in my Laravel courses: https://laraveldaily.teachable.com
No i need Jetstream like i need those templates etc but just bootstrap instead of tailwind
Thanx
Hey, what kinds of internship?
Could you more explain about it
Could you more explain about it
i learned laravel but i want to be in a project to more experience and to have a portfolio. no diff thats projet maybe a online shop or anything else