Is it necessary to learn php to develop a site in laravel?

|
akshay sardana 2021-10-30 20:11:25
itspirate 2021-10-30 20:10:15
But still have a question how should I manage queries a lit bit suggestions

get only required columns in query and don’t use queries in loops

itspirate 2021-10-30 20:13:34
akshay sardana 2021-10-30 20:11:25
get only required columns in query and don’t use queries in loops

Ok got it anyway thanks , any others things that can slow my app ? What you think ?

fullyundetectablepayload 2021-10-30 20:22:32
akshay sardana 2021-10-30 20:05:09
You need to run two commands

First, change ownership of the Laravel directory to web group:

sudo chown -R :www-data /var/www/yourLarvelFolder

Second, give privileges over storage directory so it can be writable:

sudo chmod -R 775 /var/www/yourLarvelFolder/storage

Already done, still same

fullyundetectablepayload 2021-10-30 20:27:44
Idk why the even if I am changing permissions recursively the permissions for database.sqlite aren’t changing
foulla_sam 2021-10-30 20:29:24
itspirate 2021-10-30 20:13:34
Ok got it anyway thanks , any others things that can slow my app ? What you think ?

Huge assets can slow down your app

Arvind Bartwal 2021-10-30 21:32:06
Rocks Sks 2021-10-15 21:34:41
5.5 working days kya hota hai kitna khoon chusoge yr sari duniya 5 days working kr rhi hai

Srry mate wasn’t active on telegram… And as far as days are concerned plz keep ur advise to ur self as I am not company who makes rules…Thanks for ur statement ..May u get peace

Rocks Sks 2021-10-30 21:49:26
Sandeepssrin 2021-10-25 21:25:27
Hi all, looking for part-time laravel freelancer. Small small bug fixes on a stable application.
Must have India-based bank account for payments).
Please dm me with hourly rates if interested.

Yes

kazmikro 2021-10-30 22:03:12
hello guys, who can help me with FormRequest object, for instance I have 1 action, but the request can be different, can I do some Request factory:
— FormRequest
—— MyRequest
—— MyRequest2

and get MyRequest2 in action parameter ?
the request object depends on field type in $_POST array,
Each request has different data and validation, but i have only 1 action

foulla_sam 2021-10-30 22:05:57
kazmikro 2021-10-30 22:03:12
hello guys, who can help me with FormRequest object, for instance I have 1 action, but the request can be different, can I do some Request factory:
— FormRequest
—— MyRequest
—— MyRequest2

and get MyRequest2 in action parameter ?
the request object depends on field type in $_POST array,
Each request has different data and validation, but i have only 1 action

Since it is OOP you can extend the Request 1

neelbas 2021-10-31 10:15:43
laravel_discuss-98583.jpg
Can you help me to write this code cleaner please?
such as put _validateCaptcha function inside validate array: $request->validate([…
niyazvpp 2021-10-31 10:42:02
neelbas 2021-10-31 10:15:43
Can you help me to write this code cleaner please?
such as put _validateCaptcha function inside validate array: $request->validate([…

You may Make new rule for captcha validation using composer and use it in validator…

GauravGohil 2021-10-31 11:29:11
laravel_discuss-98589.jpg

GauravGohil 2021-10-31 11:29:42
GauravGohil 2021-10-31 11:29:11

After doing auth login when directing it to the url where auth middlewarre is there

GauravGohil 2021-10-31 11:30:03
The auth middlewarre redirect it back to register instead of dashboard
GauravGohil 2021-10-31 11:30:44
laravel_discuss-98592.jpg

GauravGohil 2021-10-31 11:31:00
Please help anyone
a 2021-10-31 12:02:40
I only know basic html and css
a 2021-10-31 12:02:57
Is it necessary to learn php to develop a site in laravel?
Muhammed R 2021-10-31 12:06:19
Can anyone help me to host a laravel website on AWS?
mohamad881231 2021-10-31 12:26:04
Hi how are u
akshay sardana 2021-10-31 12:29:50
GauravGohil 2021-10-31 11:31:00
Please help anyone

Print $newuser and tell me output

GauravGohil 2021-10-31 12:30:22
akshay sardana 2021-10-31 12:29:50
Print $newuser and tell me output

I am getting the new user data

akshay sardana 2021-10-31 12:31:10
GauravGohil 2021-10-31 12:30:22
I am getting the new user data

Try using Auth::loginUsingId($user->id)

GauravGohil 2021-10-31 12:31:47
akshay sardana 2021-10-31 12:31:10
Try using Auth::loginUsingId($user->id)

Ohk I will do then and let u know if it’s working

akshay sardana 2021-10-31 12:31:56
Sure
GauravGohil 2021-10-31 12:32:19
akshay sardana 2021-10-31 12:31:10
Try using Auth::loginUsingId($user->id)

I am redirected back to register but when I do enter the some domain again then I am loggedin

GauravGohil 2021-10-31 12:32:36
But redirect is happening to register#
GauravGohil 2021-10-31 12:32:51
If I remove # then I am loggedin after that
Mohammed_khalid_mk 2021-10-31 12:33:08
Hello everyone am using Passport package and it’s working fine and ahowy all routes list

But I can’t display token on json format
But all objects on respone showing

bryan_king 2021-10-31 12:33:13
a 2021-10-31 12:02:57
Is it necessary to learn php to develop a site in laravel?

Yes

djougounah 2021-10-31 12:33:31
a 2021-10-31 12:02:57
Is it necessary to learn php to develop a site in laravel?

yes

Mohammed_khalid_mk 2021-10-31 12:33:39
laravel_discuss-98620.jpg

Mohammed_khalid_mk 2021-10-31 12:34:05
Showing token undefined
Mohammed_khalid_mk 2021-10-31 12:34:33
laravel_discuss-98622.jpg

akshay sardana 2021-10-31 12:35:43
GauravGohil 2021-10-31 12:32:19
I am redirected back to register but when I do enter the some domain again then I am loggedin

Remove intended and try again

|