Any recommendation for someone starting laravel right now in 2020?

|
mahdyfo 2020-05-29 09:08:28
Bhalaji 2020-05-29 07:05:03

Either your allocated memory to php is too low or you have an intensive calculation or loop which consumes the whole allocated memory.

Bhalaji 2020-05-29 09:11:40
How to find intensive calculation..
Bhalaji 2020-05-29 09:12:02
I allocate memory unit to 2048M
yabzik 2020-05-29 09:13:21
What a strange file name laravel/storage/framework/views/ec195dc …
mahdyfo 2020-05-29 09:16:18
Bhalaji 2020-05-29 09:11:40
How to find intensive calculation..

By the route address you open. See the returned view in the method of the controller.
The address u see in cmd is the cached laravel view address not the original view file so that cannot help

Bhalaji 2020-05-29 09:16:42
I solved this…..
Bhalaji 2020-05-29 09:17:09
Instead of yield I used include…
Bhalaji 2020-05-29 09:17:21
That’s the problem problem..
DhruvJoshi 2020-05-29 09:24:55
DhruvJoshi 2020-05-28 16:11:25
How to multinency with subdomain in laravel

No any one experts there are here

Patricklab 2020-05-29 09:44:36
DhruvJoshi 2020-05-28 16:11:25
How to multinency with subdomain in laravel

Thier is a laravel package for that u should look at laravel spark it has all u need

2020-05-29 10:10:24
DhruvJoshi 2020-05-28 16:11:25
How to multinency with subdomain in laravel

https://tenancyforlaravel.com/

Tenancy for Laravel
Automatically turn any Laravel application multi-tenant — no code changes needed. stancl/tenancy automatically switches database connections and all other things in the background, letting you leverage standard Laravel code into a full SaaS application. Most features out of all multi-tenancy packages. Single & multi-database tenancy.
Kapil Sharma 2020-05-29 10:52:41
Does anyone having laravel project in which models is used for fethching data with eloquent orm not with controller
Kapil Sharma 2020-05-29 10:53:09
I am searching that for tutorial to work with proper mvc
cayetanohosma 2020-05-29 11:04:51
Kapil I guess that if you use Laravel, you will use eloquent to fetch the data, the controller is just the link between the view and the model.
Kapil Sharma 2020-05-29 11:08:38
@cayetanohosma i want to make that project so i need help in that as i am new in laravel and after searching all i found that every project and tutorial on laravel are using controller for fetching data from database instead of models so i just want a project for refrence and help
abysnia 2020-05-29 12:05:20
how can i get and save the logged in userid in a table?
abysnia 2020-05-29 12:05:30
am using protected $attributes = [
‘Created_by’ => ‘Auth::user()->name’,
];
abysnia 2020-05-29 12:06:18
but its not executing its only saving this Auth::user()->name into the column
Netking1 2020-05-29 12:45:41
Question : do we need to create oauth_client for ever y user in laravel passport or just one client can handle n number of users. I am working on api for android app. Please help
Roham0010 2020-05-29 13:13:32
Netking1 2020-05-29 12:45:41
Question : do we need to create oauth_client for ever y user in laravel passport or just one client can handle n number of users. I am working on api for android app. Please help

For Android app you can use sanctum or jwt no need to use oauth
But if you want to have multiple apps then you have to use oauth

Netking1 2020-05-29 13:26:55
Roham0010 2020-05-29 13:13:32
For Android app you can use sanctum or jwt no need to use oauth
But if you want to have multiple apps then you have to use oauth

Yes there will be multiple apps

abysnia 2020-05-29 13:30:45
guys how can i prevent this query from showing the raw array on the view?
abysnia 2020-05-29 13:30:58
$username= Auth::user()->name;
$devices= Device::where(‘Created_by’, $username)->get();
return view(‘device.index’, compact(‘devices’));
Netking1 2020-05-29 13:43:03
abysnia 2020-05-29 13:30:58
$username= Auth::user()->name;
$devices= Device::where(‘Created_by’, $username)->get();
return view(‘device.index’, compact(‘devices’));

Maybe you forgot to remove print_r from view

Navnish Tiger 2020-05-29 16:06:54
https://youtu.be/PdBM_UITn-o

ACTIVE BRAIN TO 100% GENIUS BRAIN FREQUENCY:ALFA WAVESYouTube
MILLIONAIRE MEDITATION HACK!!! : https://meditationlife.in/ One Funnel Away Challenge KIT : https://bit.ly/2XMD0df “New FREE BOOK Shows 20+ Virtually UNKNOWN…
natghi2010 2020-05-29 17:29:38
hi, I uploaded an image but when i try to reference it, it doesnt work.
natghi2010 2020-05-29 17:29:49
laravel_discuss-39299.jpg

natghi2010 2020-05-29 17:29:59
this is what appears
natghi2010 2020-05-29 17:30:27
its a mixture of the route/file directory…
devink0430 2020-05-29 17:47:16
natghi2010 2020-05-29 17:29:49

code ?

Navnish Tiger 2020-05-29 17:48:34
https://youtu.be/vNE5pS_au0U

10 MINUTES RAIN DEEP RELAXATION MEDITATIONYouTube
#millionairemeditationrelaxarion MILLIONAIRE MEDITATION!!! : https://meditationlife.in/

One Funnel Away Challenge KIT : https://bit.ly/2XMD0df

“New FREE BOOK Shows 20+ Virtually UNKNOWN Secrets
To Get Tons Of Traffic To *Any* Website or Funnel…” /: https://bit.ly/2RRu82t

meditation meditation yoga
meditation yogi
meditation 10 minutes
meditation book
meditation room
meditation techniques
meditation video
meditation mantras
meditation with mantra
meditation sound
meditation to lose weight
meditation centres near me
meditation meaning
meditation posture
meditation bowl
meditation learning
meditation garden
meditation deep sleep
meditation music
meditation with music
meditation for sleep
meditation for sleeping
meditation to sleep
meditation guided
meditation by marcus aurelius
meditation definition
meditation benefits
meditation near me
meditation for anxiety
meditation youtube
meditation for beginners
meditation retreat
meditation classes near me…

Gowtham_Boopathiraj 2020-05-29 17:51:06
laravel_discuss-39305.jpg

Gowtham_Boopathiraj 2020-05-29 17:51:06
laravel_discuss-39304.jpg
Hi the two issue coming laravel 5.8. How to solve the issue?
natghi2010 2020-05-29 17:52:49
devink0430 2020-05-29 17:47:16
code ?

<img src=”{{ public_path($document->data_set[‘image_1’]) }}”/>

skys215 2020-05-29 17:52:50
It’s obvious
skys215 2020-05-29 17:53:01
Google it
devink0430 2020-05-29 17:55:32
natghi2010 2020-05-29 17:52:49
<img src=”{{ public_path($document->data_set[‘image_1’]) }}”/>

public_path change asset

Laravel – The PHP Framework For Web ArtisansLaravel
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.
natghi2010 2020-05-29 17:57:04
okay
natghi2010 2020-05-29 17:57:16
so its asset method like asset()?
devink0430 2020-05-29 17:57:31
https://laravel.com/docs/master/helpers#method-asset
natghi2010 2020-05-29 17:58:17
devink0430 2020-05-29 17:57:31
https://laravel.com/docs/master/helpers#method-asset

thanks bro

dragonmachine 2020-05-29 20:11:13
shubhamdhyani 2020-05-27 17:03:45
You should never do this anywhere

I got the answer from stackoverflow. Here is the correct way to set it https://stackoverflow.com/a/37266353/3001007

How to set up file permissions for Laravel?Stack Overflow
I’m using Apache Web Server that has the owner set to _www:_www. I never know what is the best practice with file permissions, for example when I create new Laravel 5 project.

Laravel 5 requires /

MateusGomes 2020-05-29 20:11:59
Hey guys, any recommendation for someone starting laravel right now in 2020?
MateusGomes 2020-05-29 20:12:19
I have experience with PHP, HTML & CSS, & Js
MateusGomes 2020-05-29 20:12:47
Should I go for a guide on Laravel 7.x or an old guide of Laravel 6.x would work?
Roham0010 2020-05-29 20:18:49
MateusGomes 2020-05-29 20:11:59
Hey guys, any recommendation for someone starting laravel right now in 2020?

just start it 🙂

MateusGomes 2020-05-29 20:19:27
Roham0010 2020-05-29 20:18:49
just start it 🙂

I did haha

MateusGomes 2020-05-29 20:19:51
I’m still new to this MVC architecture, but I already like it
Roham0010 2020-05-29 20:20:02
MateusGomes 2020-05-29 20:12:47
Should I go for a guide on Laravel 7.x or an old guide of Laravel 6.x would work?

if you have something for laravel 6.x you can stick to that and after you finished your courses just read about new features in laravel 7..

Roham0010 2020-05-29 20:20:53
Roham0010 2020-05-29 20:20:02
if you have something for laravel 6.x you can stick to that and after you finished your courses just read about new features in laravel 7..

this is what all laravel or other technology fans do when new version comming 😁

|